You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-09-23] [HOLD #58479][$250] Animate the Submit button, for consistency with animations for Approve and Pay #55064
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.
We have an confusing inconsistency, in that if you Submit a report, there is no feedback and the report action button disappears on submission. Meanwhile we have animations (and feedback) for the Approve and Pay report action buttons.
Solution
Simple! Let's animate the Submit button for consistency with other report actions. More specifically, we will:
Animate the Submit button in the report preview
Animate the Submit button in the report header
Animate the Submit button in the search/reports page row
Again, the button animation will be consistent and apply anywhere we show the Submit button. Said animation works like in this practice.
changed the title [-]Animate the `Submit` button, for consistency with animations for `Approve` and `Pay`[/-][+][$250] Animate the `Submit` button, for consistency with animations for `Approve` and `Pay`[/+]on Jan 10, 2025
Go to workspace => Workflows => update "Submission frequency" to "Manually"
Test:
Submit an expense to workspace above
Open expense
Tap on "Submit" button
Verify that the Submit button shows an animation transitioning from loading icon to "Submitted" text, then display next pending action (like approve/pay)
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorNewFeatureSomething to build that is a new item.
Activity
melvin-bot commentedon Jan 10, 2025
Current assignee @JmillsExpensify is eligible for the NewFeature assigner, not assigning anyone new.
shubham1206agra commentedon Jan 10, 2025
Edited by proposal-police: This proposal was edited at 2025-01-10 12:45:58 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Animate the Submit button
What is the root cause of that problem?
Feature Request
What changes do you think we should make in order to solve the problem?
Note
I am not wall-posting the entire code since it is trivial enough to be figured out.
Animate button similar to
AnimatedSettlementButtonhereApp/src/components/ReportActionItem/ReportPreview.tsx
Line 618 in 219e66d
Add a new state called
isSubmitAnimationRunningthat tracks if the animation is running or not.Add new function
And modify the stopAnimation function to
And modify these conditions
App/src/components/ReportActionItem/ReportPreview.tsx
Line 365 in 219e66d
to
and
App/src/components/ReportActionItem/ReportPreview.tsx
Lines 203 to 208 in 219e66d
to
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
[-]Animate the `Submit` button, for consistency with animations for `Approve` and `Pay`[/-][+][$250] Animate the `Submit` button, for consistency with animations for `Approve` and `Pay`[/+]melvin-bot commentedon Jan 10, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021877717460312182126
78 remaining items
luacmartins commentedon Sep 25, 2025
@allgandalf did you raise a fix?
melvin-bot commentedon Sep 25, 2025
@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
allgandalf commentedon Sep 29, 2025
I was out sick last week, working on this week
melvin-bot commentedon Sep 29, 2025
@JmillsExpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
JmillsExpensify commentedon Sep 30, 2025
Payment summary:
JmillsExpensify commentedon Sep 30, 2025
I don't think we need a regression test for animations, so @hoangzinh please submit via New Expensify and we're all set.
hoangzinh commentedon Oct 1, 2025
@JmillsExpensify, this issue is not ready for payment yet. We still have another follow-up issue here #70630
hoangzinh commentedon Oct 17, 2025
The last PR is deployed to Prod. I requested payment in ND.
JmillsExpensify commentedon Oct 20, 2025
Thanks, though don't forget the suggested regression steps.
hoangzinh commentedon Oct 20, 2025
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
twisterdotcom commentedon Oct 27, 2025
@hoangzinh has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Submitbutton, for consistency with animations forApproveandPay#55064 (comment).)Zapier Logs
Run ID: 00040eee-1d0f-a929-879b-bab3e9905e71