Prioritize delegate role display to use current role #76792
Conversation
|
@mananjadhav Please 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] |
|
I can reproduce this only on Web and IOS mWeb |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Fine from a product perspective
|
@mananjadhav ping me in slack when you done with the review please |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppNA Android: mWeb ChromeNA iOS: HybridAppNA iOS: mWeb Safarimweb-safari-delegate-access-history.movMacOS: Chrome / Safariweb-delegate-access-history.mov |
mountiny
left a comment
There was a problem hiding this comment.
Can you please use selector for the delegates - we dont need to get the entire account key
Also if the file is already compilable by react compiler you dont need to add usememo, can you check that please?
|
@mountiny @mananjadhav done
|
| @@ -1,3 +1,4 @@ | |||
| import {delegatesSelector} from '@selectors/Account'; | |||
There was a problem hiding this comment.
I dont think we should add this to the first line but NAB
There was a problem hiding this comment.
this is after npm run prettier
|
✋ 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: 9.2.82-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.82-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.82-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.84-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.2.84-8 🚀
|
Explanation of Change
Fixed Issues
$ #75491
PROPOSAL: #75491 (comment)
Tests
Verify Copilot: Delegated access level has been updated to new value.
Verify that no errors appear in the JS console
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
The same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Not reproducuble on this devideAndroid: mWeb Chrome
Not reproducuble on this devideiOS: Native
Not reproducuble on this devideiOS: mWeb Safari
ios_mWeb.mp4
MacOS: Chrome / Safari
REC-20251205081200.mp4