-
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
[TS migration] Migrate 'OptionRow.js' component to TypeScript #33077
[TS migration] Migrate 'OptionRow.js' component to TypeScript #33077
Conversation
# Conflicts: # src/components/Icon/index.tsx # src/languages/es.ts
# Conflicts: # src/components/OptionRow.tsx
# Conflicts: # src/components/Icon/index.tsx # src/components/OptionRow.tsx
# Conflicts: # src/components/OptionRow.tsx
src/components/OptionRow.tsx
Outdated
@@ -326,7 +318,7 @@ export default React.memo( | |||
prevProps.showSelectedState === nextProps.showSelectedState && | |||
prevProps.highlightSelected === nextProps.highlightSelected && | |||
prevProps.showTitleTooltip === nextProps.showTitleTooltip && | |||
!_.isEqual(prevProps.option.icons, nextProps.option.icons) && | |||
!lodashIsEqual(prevProps.option.icons, nextProps.option.icons) && |
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.
Please fix conflict.
!lodashIsEqual
> lodashIsEqual
to fix #33353
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.
@situchan Done, thank you!
# Conflicts: # src/components/OptionRow.tsx
# Conflicts: # src/components/OptionRow.tsx
Seems like recent regression - default avatar not showing at all on native. Also happening on main so out of scope Edit: commented on offending PR |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
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.
We did not find an internal engineer to review this PR, trying to assign a random engineer to #25118 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
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.
No comments for the code, this is highly used component so please be on a look out for any regressions cc @situchan
✋ 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/mountiny in version: 1.4.21-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
1 similar comment
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.21-4 🚀
|
Details
[TS migration] Migrate 'OptionRow.js' component to TypeScript
Fixed Issues
$ #25118
PROPOSAL: N/A
Tests
First case:
Start chat
Add to group
button, the hover state should be removed.Add to group
or checkbox button and verify that the button is changed correctly.Second case:
Request money
Manual
section, enter any amount of money and press Next. You should see the list of users and workspaces.Split
button, the hover state should be removed.Split
or checkbox button and verify that the button is changed correctly.Third case:
Storybook:
OptionRow
component and make sure it looks ok.Offline tests
N/A
QA Steps
Same as in the Tests section
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.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
Android: Native
android1.mp4
Android: mWeb Chrome
android.web1.mp4
iOS: Native
ios1.mp4
iOS: mWeb Safari
ios.web1.mp4
MacOS: Chrome / Safari
web1.mp4
MacOS: Desktop
desktop1.mp4
Storybook