-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: 15963 - Border line appears, then disappears, above the 1st search result #16094
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
Conversation
1263c36 to
9fc0a41
Compare
|
@Beamanator @s77rt One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
s77rt
left a comment
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.
Can you please check for other props that we should re-render the item if they got changed e.g. shouldDisableRowInnerPadding, option.isPinned, option.pendingAction, etc. Just add those that are likely to be changed.
Some attributes of Thoughts? |
s77rt
left a comment
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.
Thanks for the update. I have requested some minor changes. Also I think we can also add allReportErrors but not sure what cases this would cover as I'd imagine pendingAction will change too most of the time we get an error, so let's skip it for now since it's an object that is not easy to compare and no clear purpose is identified.
|
@s77rt Thanks for pointing that out, I've removed icons checking and moved |
|
@tienifr Thanks! Will test asap, in the meantime please update the "Details" description in the PR. |
|
Also please remove the offline tests; write "n/a". I don't think offline tests have any different behavior than being online. |
|
@s77rt Updated as suggested 🎉 Thanks! |
Reviewer Checklist
Screenshots/VideosWebweb.mp4Mobile Web - Chromemweb-chrome.mp4Mobile Web - Safarimweb-safari.mp4Desktopdesktop.mp4iOSios.mp4Androidandroid.mp4 |
s77rt
left a comment
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.
LGTM! 🚀
cc @Beamanator
|
@Beamanator Could you help to check this PR? |
|
@Beamanator Can you assist me in reviewing this PR? |
|
@tienifr No need for double-tag. I'm sure Alex will check this once he get the time. |
|
Ya sorry for the delay, have been quite busy and I'm mainly on vacation this week but I'll be happy to merge soon, but I do have one question: @s77rt @tienifr did y'all test this change on all pages that have the OptionRow? We don't want to have any regressions, and right now in the QA steps I only see tests for the Pronouns page which doesn't seem sufficient |
|
@Beamanator I confirm OptionRow is working fine on:
@tienifr Can you please confirm the same |
|
@s77rt @Beamanator It works for me in all places
|
Beamanator
left a comment
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.
Ok great! Thanks y'all 👍
@tienifr can you please also add some kind of simple test steps for those pages in the OP as well?
|
✋ 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 https://github.com/Beamanator in version: 1.2.89-0 🚀
|
|
@Beamanator Tests updated in the QA section! Everything seems good. I removed the @s77rt Just for confirmation, are you referring to the date picker page in the birthday section? If not, can you provide the location where it is used, because I cannot find a |
|
@tienifr On birthday page, open date picker, click on year. It will take you to the year picker page which uses OptionsSelector which uses OptionRow. |
|
@s77rt Thanks 🎉 I forgot to sync to the newest change All tests for the related components are added in the QA section. All yours @Beamanator |
|
@tienifr This has been merged already. |
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.89-0 🚀
|
Details
This PR added
this.props.shouldHaveOptionSeparator !== nextProps.shouldHaveOptionSeparator;to theshouldComponentUpdateofOptionRow. This will remove the redundant border line above the first item in the pronoun search.In addition, the PR also added some other props condition in
shouldComponentUpdatethat should make the item inOptionRowre-render, as suggested by the reviewer. The addition props being considered arethis.props.option.shouldShowSubscript,this.props.option.ownerEmail,this.props.option.subtitle,this.props.option.pendingAction.Fixed Issues
$ #15963
PROPOSAL: #15963 (comment)
Tests
Offline tests
n/a
QA Steps
For the main issue
For the other pages that could be affected
PriorityModePage
LanguagePage
ReportParticipantsPage
IOUConfirmationList
Request moneyorSend moneyNewChatPage
New chatSearchPage
IOUCurrencySelection
Request moneyorSend moneyIOUParticipantsRequest
Request moneyIOUParticipantsSplit
Split billYearPickerPage
TimezoneSelectPage
WorkspaceInvitePage
Manage members>InviteWorkspaceMembersPage
Manage membersPR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
web-chrome.mov
web-safari.mov
Mobile Web - Chrome
android-chrome.webm
Mobile Web - Safari
ios-safari.mov
Desktop
desktop.mov
iOS
ios-native.mov
Android
android-native.webm