Replaces usage of reimburserEmail with achAccount.reimburser#39017
Replaces usage of reimburserEmail with achAccount.reimburser#39017luacmartins merged 18 commits intomainfrom
Conversation
…moving reimburserAccountID
…r-from-achAcconut
…eimburser-from-achAcconut
|
@aldo-expensify 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] |
|
Are we already sending the new reimburser key to App? If not, can we put a hold on this PR? |
|
We are, we started doing that here |
|
Cool, seems like that Auth PR is merged so we should be good to merge this one too. |
|
Created this external issue to get C+ assigned for review |
|
@s77rt merged main and applied the requested changes |
|
The other admin account appears as Hidden (don't have their email) thus I can't set them as the authorized payer Screen.Recording.2024-04-03.at.8.30.54.PM.mov |
|
This is weird, does the same happen if you open the members page? |
|
I had to send a message to other admin to get their info correctly |
I didn't. get a chance to test that as now I already got the info |
|
On demoting the other admin I got another behaviour but I think it's okay Screen.Recording.2024-04-03.at.9.01.50.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemweb-chrome.moviOS: Nativeios.moviOS: mWeb Safarimweb-safari.movMacOS: Chrome / Safariweb.movweb.2.movMacOS: Desktopdesktop.mov |
|
Did you demote the admin that was making the changes? If so yeah, I think that is expected |
s77rt
left a comment
There was a problem hiding this comment.
Approving assuming this is not a blocker #39017 (comment)
|
@cristipaval 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] |
|
✋ 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 production by https://github.com/Julesssss in version: 1.4.60-13 🚀
|
| const displayNameFromReimburserEmail = PersonalDetailsUtils.getPersonalDetailByEmail(policy?.reimburserEmail ?? '')?.displayName ?? policy?.reimburserEmail; | ||
| return displayNameFromReimburserEmail ?? personalDetails?.[0]?.displayName; | ||
| }, [policy?.reimburserAccountID, policy?.reimburserEmail, session?.accountID]); | ||
| const displayNameForAuthorizedPayer = useMemo( |
There was a problem hiding this comment.
This was showing sms suffix when user registered with number, more: #78762

HOLD on #38395HOLD on https://github.com/Expensify/Auth/pull/10349Details
cc: @luacmartins if you have the time to check this changes
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/374749
$ #39423
PROPOSAL:
Tests
Preconditions: Having a policy with VBA and some admins
Happy path:
Error
Offline tests
QA Steps
Preconditions: Having a policy with VBA and some admins
Happy path:
Error
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Error
Screen.Recording.2024-03-28.at.12.00.58.mov
Online
Screen.Recording.2024-03-28.at.11.59.40.mov
Offline
Screen.Recording.2024-03-28.at.11.59.54.mov
MacOS: Desktop