Fix system message for custom tags on expense report#30917
Conversation
Signed-off-by: Prince Mendiratta <expertsquarrel@gmail.com>
|
@rushatgabhane 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] |
|
Noticed an issue here, the custom tag automatically gets converted to lowercase because of this line: Line 1862 in bd509c3 I assume we want to show the actual tag without modifying it. In order to speed up the review process, I've fixed this issue. If the expectation is otherwise, please let me know and I will revert the commit. The issue can be observed in the attached video, where the custom tag |
Signed-off-by: Prince Mendiratta <expertsquarrel@gmail.com>
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeMacOS: Desktop |
|
Hi @GItGudRatio, I'm not able to see Tags. I've enabled them in |
rushatgabhane
left a comment
There was a problem hiding this comment.
@GItGudRatio we have a failing performance test.
It's suggesting to prevent excessive re-render.
https://github.com/Expensify/App/actions/runs/6773512327/job/18408538374?pr=30917
|
@GItGudRatio i think this will be fixed after merging the latest |
|
@rushatgabhane all tests are passing now! |
|
@rushatgabhane Merging the PR since it's a critical item, and you've previously approved the code too. |
|
✋ 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/lakchote in version: 1.3.99-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.99-0 🚀
|
|
🚀 Deployed to staging by https://github.com/lakchote in version: 1.4.0-0 🚀
|





Details
The system message displays tag instead of the custom name for Tag
Fixed Issues
$ #30377
PROPOSAL: #30377 (comment)
Tests
Offline tests
If the policy has custom tags, then the system message will use the custom tag correctly.
QA Steps
Same as 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)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
Android: Native
Android: mWeb Chrome
android-mWeb.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios-mWeb.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4