[Taxes] Display tax rate value in the list#40083
[Taxes] Display tax rate value in the list#40083neil-marcellini merged 5 commits intoExpensify:mainfrom
Conversation
| INITIAL_URL: 'INITIAL_URL', | ||
| }, | ||
|
|
||
| DOT_SEPARATOR: '•', |
There was a problem hiding this comment.
We use this in other places too for preview cards, etc. Just wondering if we can check how we're implementing it elsewhere, and try to consolidate so we don't have multiple ways of implementing this?
There was a problem hiding this comment.
I like using it as a constant, and it would be nice if the other places followed this same approach as well :)
There was a problem hiding this comment.
Hm, I think I can change it. Do you want me to change it in this PR or create a new one?
There was a problem hiding this comment.
Follow up is totally fine with me, I don't feel too strongly.
There was a problem hiding this comment.
We use this in other places too for preview cards, etc. Just wondering if we can check how we're implementing it elsewhere, and try to consolidate so we don't have multiple ways of implementing this?
@shawnborton Forgive my ignorance here as I do not understand - other places too for preview cards. Can you please point out exactly where you referred to in the FE?
However, I do see usage of DOT_SEPARATOR for taxes in the money request flow as shown below. That way, we do not have multiple ways of implementing this.
There was a problem hiding this comment.
I've replaced this character to use the const everywhere except for the maskCard function, as it is used in different contexts (not as a separator, but as a mask).
There was a problem hiding this comment.
So we should make sure we test those locations as part of the testing steps and screenshots, just to make sure our changes here don't mess anything up. Thanks!
There was a problem hiding this comment.
I've updated the test sections with the report view. I'm not sure if I will be able to find steps for all the cases.
Reviewer Checklist
Screenshots/VideosAndroid: NativeNote: Could not test on Android due to some local setup issues. NAB to me as this issue is not platform dependent. Android: mWeb Chrome40024-mweb-chrome.mp4iOS: Native40024-ios-native.mp4iOS: mWeb Safari40024-mweb-safari.mp4MacOS: Chrome / Safari40024-web-safari.mp4MacOS: Desktop40024-desktop.mp4 |
|
I was AFK for a moment, will change it in ~1 hour. |
|
Done. Ready for review. |
|
@kosmydel There is a lint error due to a prettier diff. Can you please resolve this? |
|
Ready! I've run the prettier and added more testing steps. |
|
@kosmydel, The following test steps seems more clear for testing the new dot separator. I used these steps to capture the test video. It would be good if you could include these steps in the checklist for QA’s reference. Test new dot separator |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #40024 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
@neil-marcellini it looks like you're assigned to the issue so I'll let you have first crack at review. If you want another set of eyes, though, let me know! |
|
edit: Oh my bad, I see that they recently approved |
neil-marcellini
left a comment
There was a problem hiding this comment.
Looks great thanks!
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 1.4.63-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|




Details
This PR adds:
Fixed Issues
$ #40024
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Test the Taxes
Defaultlabel is displayed.Test new dot separator
Further, if this is the default tax rate, additionally verify that • followed by the default text is displayed. (Test 3)
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
web.mov
MacOS: Desktop