-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.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