-
Notifications
You must be signed in to change notification settings - Fork 3k
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
base: main
Are you sure you want to change the base?
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: Chrome / Safariweb-create-expense-1.movweb-create-expense-2.movMacOS: 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. |
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, looking into the TS test now
…06-create-expense-cleanup
TS issues fixed! Just to confirm, is there anything else you'd like to be done here? CC: @grgia @trjExpensify |
🚧 @grgia has triggered a test build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@JKobrynski could you update this in this PR? See Slack Convo
|
@grgia sure thing! I'm going to work on it tomorrow, as I didn't have time for it today. Thanks for quick response! |
…06-create-expense-cleanup
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