-
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
Feature: Hold expense in one transaction view v2 #43618
Feature: Hold expense in one transaction view v2 #43618
Conversation
…ld-one-transaction-view-v2
…ld-one-transaction-view-v2
…ld-one-transaction-view-v2
What's going on here? Is it ready to be reviewed? |
It'll be in several hours. I'm working on the solution for #43203 which is the last blocker we have here. |
@shawnborton @dukenv0307 One of you needs to 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] |
@dukenv0307 I asked some questions here for clarifications before your review. |
…ld-one-transaction-view-v2
@dukenv0307 Latest expectation: #39989 (comment). 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
code looks good, start to test... |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeweb-resize.mp4Android: mWeb ChromeScreen.Recording.2024-06-21.at.10.31.11.moviOS: Nativeweb-resize.mp4iOS: mWeb SafariScreen.Recording.2024-06-21.at.10.29.54.movMacOS: Chrome / Safariweb-resize.mp4MacOS: Desktopweb-resize.mp4 |
Videos above look 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.
@tienifr we have conflicts
…ld-one-transaction-view-v2
Conflicts are fixed, is this ready for re-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! @dukenv0307 @NikkiWines all yours
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.
Looks good as long as it's expected that the user can submit the report while the expense is on hold (which seems odd to me) 👍
@tienifr conflicts |
…ld-one-transaction-view-v2
✋ 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/luacmartins in version: 9.0.2-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
I think I need to link here to a discussion in this PR about why it had to be reverted ("The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake."). What should I link to? |
@carlosmiceli usually you'd add a link to the regression issue it caused |
Right, that's already added (first list item), it says that there should also be a link to the comments on the problem it caused discussed here. Maybe it's not mandatory to add such a link if there was no such conversation? |
I think what you're looking for is a comment on this PR saying something like:
|
Correct! If there's not one, what's the procedure? |
This PR caused this regression because it wasn't checking if the report is an invoice report before adding the |
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
Details
Second attempt to implement hold expense in one transaction view feature after the revert.
Fixed Issues
$ #39989
PROPOSAL: #39989 (comment)
Tests
Hold
banner appears in report headerHold
banner disappears in report headerSubmit
button appears in both report preview and report headerOffline tests
NA
QA Steps
Hold
banner appears in report headerHold
banner disappears in report headerSubmit
button appears in both report preview and report headerPR 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-06-20.at.19.40.11-compressed.mov
MacOS: Desktop
Screen.Recording.2024-05-21.at.14.07.39-compressed.mov