Repository navigation
Migrated PronounsPage to functional component - #20178
Conversation
|
@mountiny @aimane-chnaif 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] |
|
@priyeshshah11 can you fix the conflicts please @aimane-chnaif whats your ETA on this one please? |
|
reviewing this in a few hrs |
|
@priyeshshah11 I noticed some code doesn't meet our coding style Please read through our style guide and update accordingly. |
|
@mountiny I have now resolved the conflicts. @aimane-chnaif Thanks for the links, addressed const->function change but I don't think it is violating the destructuring code style. |
@aimane-chnaif any updates? let me know if any changes are still needed. |
|
iOS screenshot is missing |
Could you please add that? as I am OOO for a week |
|
@aimane-chnaif lets just use your iOS screenshot for this one, thanks! |
Changed loadPronouns dependency
|
Lint failing |
Please refer & respond to this comment #20178 (comment) |
|
@priyeshshah11 please read through https://github.com/Expensify/App/blob/main/contributingGuides/STYLE.md#react-hooks-frequently-asked-questions
|
|
@priyeshshah11 sorry for this taking a while, if you are back from ooo, could you take a look at this PR? |
@mountiny @aimane-chnaif done, fixed lint error. |
|
@aimane-chnaif Are you able to run the tests? thanks! |
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemchrome.movMobile Web - Safarimsafari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks both of you, this took a bit longer but glad to see the successful end!
|
✋ 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.3.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.31-3 🚀
|
Details
Fixed Issues
$ #16296
PROPOSAL: #16296 (comment)
Tests
Offline tests
Same as Tests above.
QA Steps
Same as Tests above.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.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
pronouns-web.mov
Mobile Web - Chrome
pronouns-mweb-chrome.mov
Mobile Web - Safari
pronouns-mweb-safari.mov
Desktop
pronouns-dektop.mov
iOS
Android
pronouns-android.mov