Fix-55026: Make shouldShowAddMissingDetails condition consistent#55510
Fix-55026: Make shouldShowAddMissingDetails condition consistent#55510mountiny merged 13 commits intoExpensify:mainfrom
Conversation
|
@allgandalf 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] |
|
@DylanDylann can you update the recordings please 😄 |
|
Please add tests and description to the PR too |
|
I also think this can be QA'ed easily so please update the title accordingly |
|
I am checking it again |
|
@DylanDylann any updates here? |
aa26b5e to
9586af7
Compare
c30d0d6 to
5738fb6
Compare
|
@DylanDylann did we make progress here, is this ready for review ? |
|
@allgandalf The PR is ready. But we need to wait the BE update |
|
@DylanDylann To confirm, the change you mean is that the SetPersonal... command returns the updated card data? |
|
@mountiny Yes
|
|
@allgandalf The rest is ready to review, you can start on this one |
|
sure thing!!!! |
|
@DylanDylann please update platform videos |
|
@allgandalf I will test and upload all videos after the BE is completed |
|
sure, let me know once this is ready |
|
@mountiny Still waiting for BE update |
|
@DylanDylann please fix the conflicts too |
|
Either is fine with me, just LMK! |
|
would help a lot if you test on ad-hoc on any one of the platforms @joekaufmanexpensify 🙇 |
|
Didn't get to this today but will test tomorrow! |
|
@allgandalf Could you complete the checklist soon? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-02-27.at.1.29.12.PM.movAndroid: mWeb ChromeScreen.Recording.2025-02-27.at.1.31.29.PM.moviOS: NativeScreen.Recording.2025-02-27.at.1.23.35.PM.movMacOS: Chrome / SafariScreen.Recording.2025-02-27.at.1.21.47.PM.movMacOS: DesktopScreen.Recording.2025-02-27.at.1.24.31.PM.mov |
|
Nitpick: @DylanDylann please update QA step 1 to state that we need to assign physical card |
src/pages/MissingPersonalDetails/MissingPersonalDetailsMagicCodeModal.tsx
Outdated
Show resolved
Hide resolved
…deModal.tsx Co-authored-by: Gandalf <whogandalf@gmail.com>
src/pages/MissingPersonalDetails/MissingPersonalDetailsMagicCodeModal.tsx
Outdated
Show resolved
Hide resolved
src/pages/MissingPersonalDetails/MissingPersonalDetailsMagicCodeModal.tsx
Outdated
Show resolved
Hide resolved
|
Only feedback is I found it a bit odd that we replaced the original message saying the employee was assigned the card with the one saying they added their shipping details. Is that intentional? I feel like it would be more clear if we left the original message and then added a new system message from the employee as a second step. Because the audit trail right now says |
|
@joekaufmanexpensify Thanks for pointing out that. But It seems this bug is out of scope of this PR, could you please create a new issue for it, because this PR has been delayed for long time and I believe we should merge it soon cc @mountiny |
|
@joekaufmanexpensify thanks for testing! We do indeed just update the report action which originally said the personal details need to be added. Do you suggest to maybe remove it when the details are added and add new one saying the details were added? Then the next message is added when the card is shipped. I think here it's showing the workspace member because technically they initiated the shipping by adding the details. I can fix the actor for the shipping message |
|
✋ 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.1.8-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.8-1 🚀
|
| const expensifyCardLink = | ||
| shouldRenderHTML && shouldDisplayLinkToCard | ||
| ? `<a href='${environmentURL}/${navigateRoute}'>${translateLocal('cardPage.expensifyCard')}</a>` | ||
| : translateLocal('cardPage.expensifyCard'); |
There was a problem hiding this comment.
Looks like this caused a regression here: #68123
We failed to consider a case where the card is disabled.






Explanation of Change
Fixed Issues
$ #55026
PROPOSAL: #55026 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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
Screen.Recording.2025-02-25.at.20.18.26.mov
Android: mWeb Chrome
Screen.Recording.2025-02-25.at.20.14.21.mov
iOS: Native
Screen.Recording.2025-02-25.at.20.13.21.mov
iOS: mWeb Safari
Screen.Recording.2025-02-25.at.19.47.30.mov
MacOS: Chrome / Safari
Screen.Recording.2025-02-25.at.19.41.10.mov
MacOS: Desktop
Screen.Recording.2025-02-25.at.19.46.12.mov