-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Ensure we show upgrade flow for GL/Payroll/Tax codes for non control policy #45866
Conversation
@brunovjk heads up! this PR has a deadline. We want it on production before end of july. |
Cool, of course @rushatgabhane! I'll review it first thing in the morning. If we're in a hurry, feel free to ask another C+ :D |
@brunovjk that would be great thank you for the urgency 😄 |
@rushatgabhane should we hide the default value for a non-control policy? Example the Screen.Recording.2024-07-22.at.11.21.21.movOr is it intentional to work like this? Thanks. The rest looks good to me, nice work! |
@brunovjk no, i think it does not add any value to hide it. I've asked it on slack for confirmation tho |
@brunovjk we are going to hide the taxID for non control policy because it makes it look more like its behind a paywall. Great suggestion! 👍 |
Thank you @rushatgabhane. Screen.Recording.2024-07-22.at.14.50.32.movI didn't observe the same in Note: I also observe another issue, but it is reproducible in |
do you mean the not found page appearing briefly? |
@rushatgabhane Yes, but after refreshing the page, I no longer see the "not found", but the transition (navigate back) is not as it was before. I wasn't able to reproduce it faithfully, so I ask if you see the same thing. |
It happens because we go back to the page containing new tax ID, but it does not exist until the Onyx transaction has been complete. We can't really do much about it 😅 |
Reviewer Checklist
Screenshots/VideosAndroid: Native45866_android_native.movAndroid: mWeb Chrome45866_android_mweb.moviOS: Native45866_ios_native.moviOS: mWeb Safari45866_ios_mweb.movMacOS: Chrome / Safari45866_web_chorme.movMacOS: Desktop45866_desktop.mov |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #45643 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
@madmax330 before merge in please check this comment. Thank you :D |
@brunovjk please approve PR once more to request review from engineer (@madmax330 was just assigned in linked issue) |
thank you @situchan |
@dangrous ready for review |
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!
Before merging.... Re the weird behavior, can we delay navigating back to the page until after the onyx has been updated with the optimistic value? |
Bumping the above question ^ Also, conflicts now, sorry! |
using setTimeout? yes we can but should we? it would be a workaround |
@brunovjk it'd be great if you could re-review web just to make sure things are working. the merge conflict was a big one |
Sure :D I will review it today. @rushatgabhane can you fix the type/lint errors? Thank you. |
Yeah I guess we can see how annoying it is in production, I agree we shouldn't just add a timeout, probably. Is it worth bringing up in Slack to see if anyone has good ideas to minimize the flashing? (And happy to approve this once the lint/typescript issues are fixed!) |
We can convert the edit tax code command to Let me try it out |
Looks like someone already fixed it on They modified the taxID in url whenever tax code changed. PR: https://github.com/Expensify/App/pull/45983/files Screen.Recording.2024-07-30.at.19.13.23.mov |
@brunovjk ready for a quick re-test |
Nice!! Sure, give me a moment, I'll re-test after lunch. Thanks. |
nice nice its dinner time in bahrain : ) |
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.
I re-tested it and now it all 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.
great! LGTM
✋ 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/dangrous in version: 9.0.15-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.15-9 🚀
|
Details
Fixed Issues
$ #45643
$ #45770
PROPOSAL:
Tests
Test 2
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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-07-22.at.01.20.04.mov
MacOS: Desktop