-
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
Create Expense Part 2 - Clean up #54201
Create Expense Part 2 - Clean up #54201
Conversation
@mananjadhav 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] |
@grgia would you like to take a look too? |
…06-create-expense-cleanup
I did partial review, I'll finish this today. |
@mananjadhav sure thing, thank you! I tagged Georgia because we discussed this issue before and I thought she might want to take a look too 😄 |
Indeed yes. I was just posting an update on all PRs :) |
@mananjadhav @grgia can we get this merged or do you think it's not ready yet? |
I was out sick for last few days. I'll cover this today. |
I reviewed the code changes. While the current cleanup is okay, I wanted to clarify @JKobrynski @grgia if we would want to rename all instances of |
Reviewer Checklist
Screenshots/VideosMacOS: Desktopdesktop-create-expense.mov |
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.
Approving this pending #54201 (comment)
Per #54201 (comment) I think yes, let's clean up the instances of track and submit. WDYT @JKobrynski ? Could you ping me when this is ready for a final test build |
@grgia Does that mean even for self DM we'll always show |
…06-create-expense-cleanup
and @grgia would be great if you could check these screens too. The ![]() ![]() cc - @JKobrynski for your eyes too. |
I think yes, we will always show "Create" for any expense creation. Even if it's the self-DM
The report header should not be changed in this PR. The Track Expense button should say "Create Expense" Hey @trjExpensify Can you confirm these Create Expense Q/As? |
I think this is going to be a BE issue... but I haven't checked on FE. Maybe @thienlnam knows why we do this for tracked expenses? |
Yeah, all good. I agree we don't need to look at changing that in this PR specifically. |
Reviewing the changes now. |
I tested the follow up changes and uploaded the screencast for web. But I've been testing this more. Still found a few places to cover.
![]()
|
@mananjadhav on it! |
Eslint issues fixed, ready for review! CC: @mananjadhav @grgia |
🚧 @grgia has triggered a test build. You can view the workflow run here. |
Thanks. I’ll review this in an hour. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
The updated code changes look fine. Doing the final round of testing. I think if there's any edge case that's left out we can fix it in the follow up. This is anyway getting bloated. |
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.
Reviewed all the recent changes and some sanity.
Thanks @JKobrynski for all the patience. @grgia 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.
Let's hold merging this on #55016
Okay. I am going to test the PR soon. I'll focus on it today, I thought PRs were independent. |
Just a heads up that @JKobrynski has been on OOO since Monday and will return tomorrow. |
…06-create-expense-cleanup
🚧 @grgia has triggered a test build. You can view the workflow run here. |
Going to merge this one when tests pass |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.0.87-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.0.87-3 🚀
|
Explanation of Change
After we Made 'Create Expense' our mainline flow, the next step was to clean up the code that was left after the now deprecated flows were removed.
Fixed Issues
$ #54006
PROPOSAL: N/A
Tests
Submit/Track Expense
options in FABOffline tests
Same as Tests section above.
QA Steps
Same as Tests section above.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
MacOS: Desktop