Warning Modal About Switching Tags Shows Up When Re-uploading Multi Level Tags#69676
Warning Modal About Switching Tags Shows Up When Re-uploading Multi Level Tags#69676grgia merged 8 commits intoExpensify:mainfrom
Conversation
|
@alitoshmatov 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] |
|
Will add the iOS video soon |
trjExpensify
left a comment
There was a problem hiding this comment.
Import tag levels
Importing a new spreadsheet will overwrite your current tags. We suggest you first download a backup by exporting your tags. Learn more about tag levels.
I know @NickTooker looked at this copy, but can we revisit? I don't think we need to insert a persona into this (who's "we?"), it would be better as a simple matter of fact system message. CC: @jamesdeanexpensify for input on this suggested edit:
Import tags
Are you sure you want to overwrite the current tags? Download a backup, or learn more about managing tags.
[Import tags]
[Cancel]
|
What about a mix? Also, I'm not sure if we really need the
|
|
There's a lot of "import tags" repeated and "you's" which I'm not the biggest fan of personally. Down to kill learn more as well. How about..
|
|
Sounds great! |
|
@trjExpensify @jamesdeanexpensify Thank you for your feedback. I updated the PR, here's the result:
|
|
Thanks! |
|
@nkdengineer is this ready for review now? |
|
@danielrvidal Yes, it's ready for review cc @alitoshmatov |
|
@alitoshmatov mind reviewing this one? |
|
@alitoshmatov kindly bump |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApptag-android.movAndroid: mWeb Chrometag-mweb.moviOS: HybridApptag-ios.mp4iOS: mWeb Safaritag-safari.mp4MacOS: Chrome / Safaritag-web.movMacOS: Desktoptag-desktop.mov |
| overrideMultiTagWarning: { | ||
| title: '', | ||
| prompt1: '', | ||
| prompt2: '', | ||
| prompt3: '', | ||
| prompt4: '', | ||
| }, |
grgia
left a comment
There was a problem hiding this comment.
Im assuming languages should not be empty, but I don't know the process for these yet
|
@grgia When everything is fine, I'll run the script to update the translation |
|
Updated @grgia @alitoshmatov |
|
@nkdengineer tests |
|
@grgia All good now. Thank you |
|
✋ 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/grgia in version: 9.2.18-0 🚀
|
|
Hello @nkdengineer , this is the correct warning modal, right? |
|
@mitarachim You're right, we decided to change the content inside modal during PR phase. Anyway, I updated the steps to reflect the correct content. |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.18-7 🚀
|
| onPress={() => { | ||
| if (hasIndependentTags && isMultiLevelTags) { | ||
| downloadMultiLevelIndependentTagsCSV(policyID, () => { | ||
| setIsDownloadFailureModalVisible(true); | ||
| }); | ||
| } else { | ||
| downloadTagsCSV(policyID, () => { | ||
| setIsDownloadFailureModalVisible(true); | ||
| }); | ||
| } | ||
| }} |
There was a problem hiding this comment.
When the user canceled the file picker on IOS, the failed callback in this block of code triggered which made another modal displays while the current modal is still visible. This caused a frozen bug on ios and we fixed it here:
#75374

Explanation of Change
Fixed Issues
$ #68783
PROPOSAL: #68783 (comment)
Tests
Offline tests
Same as tests
QA Steps
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))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-09-03.at.00.30.19.mov
Android: mWeb Chrome
Screen.Recording.2025-09-03.at.00.29.20.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2025-09-03.at.00.28.48.mov
MacOS: Chrome / Safari
Screen.Recording.2025-09-03.at.00.26.25.mp4
MacOS: Desktop
Screen.Recording.2025-09-03.at.00.30.56.mp4