-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not show conciergePlaceholderOptions last 3 options on small screen #12584
Do not show conciergePlaceholderOptions last 3 options on small screen #12584
Conversation
@techievivek Got this assigned, I am assuming this is still pending from your side to upload all screenshots etc.? |
@mananjadhav Yeah, just updating it. |
@mananjadhav It's ready for review now. |
conciergePlaceholderRandomIndex: _.random(this.props.translate('reportActionCompose.conciergePlaceholderOptions').length - 1), | ||
|
||
// If we are on a small width device then don't show last 3 items from conciergePlaceholderOptions | ||
conciergePlaceholderRandomIndex: _.random(this.props.translate('reportActionCompose.conciergePlaceholderOptions').length - (this.props.isSmallScreenWidth ? 4 : 1)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nab, but should we have had moved 4
to a constant? I am not fixated because we also have a comment just above the line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine, this does not seem to used somewhere else, and the comment makes it easy to understand
Straighforward PR, thanks for the quick update @techievivek. While this is straight forward, one other way to handle this would be:
@sketchydroide All yours. 🎀 👀 🎀
ScreenshotsWebweb-concierge-placeholder.movMobile Web - Chromemweb-chrome-concierge-placeholder.movMobile Web - Safarimweb-safari-concierge-placeholder.movDesktopdesktop-concierge-placeholder.moviOSios-concierge-placeholder.movAndroidandroid-concierge-placeholder.mov |
@sketchydroide looks like this was merged without the checklist test passing. Please add a note explaining why this was done and remove the |
not an emergency, and the checklist was passing |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @sketchydroide in version: 1.2.26-0 🚀
|
🚀 Deployed to staging by @sketchydroide in version: 1.2.26-0 🚀
|
🚀 Deployed to production by @yuwenmemon in version: 1.2.26-0 🚀
|
@sketchydroide @techievivek This is due for payment today. Can we assign someone for the payout? Also this is eligible for the 50% bonus. |
That would be in the original GH. |
I've asked in the GH tp see of someone can take care of it, if not we will ask in Slack |
Thanks @sketchydroide |
@sketchydroide @techievivek Any updates on this one? |
@mananjadhav Sorry I was ooo, I have just commented in the original GH here. |
Details
Don't show the last 3 options from concierge placeholder options if we are on a small-width screen device like a mobile phone.
Fixed Issues
$ #11346
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests & QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
web.mov
Mobile Web - Chrome
android-web.mov
Mobile Web - Safari
ios-web.mov
Desktop
desktop.mov
iOS
ios.mov
Android
android.mov