Confirm new expenses with a “View” toast on Spend instead of scrolling to and highlighting the row - #91214
Confirm new expenses with a “View” toast on Spend instead of scrolling to and highlighting the row#91214borys3kk wants to merge 58 commits into
Conversation
|
|
ff5760e to
85082c4
Compare
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
Hi, all changes should be in place, feel free to run an adhoc build and test how it looks and works and let me know what you think, I will complete the checklist with screenshots/recordings tomorrow |
|
Will run a build now. |
|
🚧 @shawnborton has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
|
Hmm I can't seem to get the toasts to work when creating the expense from the Spend > Expenses page? |
+1 Also, the first time I created an expense from Home, the confirm window went away immediately (without any loading spinner on the button) and the toast showed up (still on Home) about 5 seconds later. But every time I tested it afterwards it behaved how I would expect it to 🤔. |
|
@linhvovan29546 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 74b3194b29
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
JakubKorytko
left a comment
There was a problem hiding this comment.
still big and scary, some more comments 💅
|
@Expensify/design Quick question about how we want to handle expense tracking with opened super wide RHP
Screen.Recording.2026-06-24.at.14.58.08.mov
Screen.Recording.2026-06-24.at.15.54.25.movLet me know which one do you prefer |
|
I kinda think it's pretty safe to just use the row highlight pattern when viewing an expense report, since the table is likely much smaller. I don't feel too strongly though, but it feels like the growl is a little overkill? |
|
Yeah I think I feel the same as Shawn, though candidly I prefer the toast over the highlight (it just feels smoother to me). But IMO a change like that is a much larger discussion that I don't think we want to have right this second, so I'd probably lean toward sticking with the highlight. |
JakubKorytko
left a comment
There was a problem hiding this comment.
One concern and one question, not so scary anymore 👻 ❌
Explanation of Change
Fixed Issues
$ #91408
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_growl.mov
Android: mWeb Chrome
iOS: Native
ios_growl.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
web_tab_to_spend.mov
web_on_spend.mov
web_in_inbox.mov