-
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
fix: 15963 - Border line appears, then disappears, above the 1st search result #16094
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] |
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? |
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 |
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
|
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 theshouldComponentUpdate
ofOptionRow
. 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
shouldComponentUpdate
that should make the item inOptionRow
re-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 money
orSend money
NewChatPage
New chat
SearchPage
IOUCurrencySelection
Request money
orSend money
IOUParticipantsRequest
Request money
IOUParticipantsSplit
Split bill
YearPickerPage
TimezoneSelectPage
WorkspaceInvitePage
Manage members
>Invite
WorkspaceMembersPage
Manage members
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting 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)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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