-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add Tax Exempt to Subscription #46207
Conversation
@hoangzinh 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] |
Yeah sorry, my question is that in some places of the app, when you press the overflow icon, it stays green while the menu is open (see my screenshot). But maybe we don't do that everywhere. Any ideas? |
Looking good to me too. I agree with Shawn about the three-dot icon being highlighted when the menu is open. Not critically necessary, but if we can make it match that Wallet example I think that'd be nice. But yeah, as Shawn pointed out, I'm not sure that behavior is totally consistent throughout the app (it doesn't happen in the workspace list for example). Also, should we remove the three-dot menu once they have tax-exempt status? Or do we need to leave it and change the menu item? (No idea what it would be if they've already requested tax-exemption.) |
That's a great point... @trjExpensify any thoughts there? When the tax exempt status is in place, do we just get rid of the overflow or change the option to be something like "Remove tax exempt status"? No idea if anyone would ever want/need to do that though. |
Yeah when tax-exempt exists we will not shown 3 dots - it's just screenshot to see all UI elements at once :-) |
@shawnborton @dannymcclain do we want to make 3 dots being highlighted globally? Just to make it the same for all pages? |
I think we should unify the behavior globally, yes. Do you know why it's currently inconsistent though? |
Probably we do not implement logic to switch color - and as i see for Wallet page - it's a custom component not global . I can just add logic for changing color of icon if popover is open in one place - and all pages will reflect that |
Awesome. I think that'd be great. |
Cool - will add as a first thing tomorrow - and will add screenshots |
@shawnborton @dannymcclain here we go: |
Looks good to me! |
# Conflicts: # src/libs/API/parameters/index.ts
Same! 🚀 |
@hoangzinh fixed both bugs above! |
Can you share an updated screenshot please? Thanks! |
Nice, that looks good to me. |
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.
Looking great so far. Had a small nit, but don't see any major blockers. 🚀
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeScreen.Recording.2024-07-30.at.16.47.19.android.chrome.moviOS: mWeb SafariScreen.Recording.2024-07-30.at.16.53.12.ios.safari.movMacOS: Chrome / SafariScreen.Recording.2024-07-30.at.16.41.30.web.movMacOS: DesktopScreen.Recording.2024-07-30.at.16.44.00.desktop.mov |
@narefyev91 can you add screenshots for native android/ios as well? Just to ensure we don't break existing UI on those native platforms. Also, can you check again "Offline tests"? There are some steps that we can't do when offline. |
Probably for offline - we just can only lands on concierge chat and waiting until user gets online. (updated) |
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.
LGTM 🎉
🚀 Deployed to staging by https://github.com/marcaaron in version: 9.0.15-4 🚀
|
@marcaaron @hoangzinh How should we run the following?
|
To do this step, as described in the PR description, I think we can open Chrome dev tools and paste this code
|
@hoangzinh what about step 4 Provide 501(c) or ST-119 proof, send to Concierge |
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀
|
Details
Add Tax Exempt request flow to NewDot
Current PR is not covering middle stage - when Concierge is approving pdf. To check that flag is setting correctly in onyx

just add
Onyx.merge(ONYXKEYS.NVP_PRIVATE_TAX_EXEMPT, true);
here (for testing purpose)
Fixed Issues
$ #45317
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.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-web.mov
iOS: Native
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov