-
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
[$250] Held expense - Green payment button appears briefly when paying held expense #53900
Comments
Triggered auto assignment to @Julesssss ( |
Triggered auto assignment to @OfstadC ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
This is a brief UI issues, so I am removing blocker. |
Job added to Upwork: https://www.upwork.com/jobs/~021866793490879654211 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Green payment button appears briefly when paying held expense. What is the root cause of that problem?The button will be displayed with a success color if we don't have any requests that have been held.
When we pay held expenses, the held transaction is unheld in optimistic data then What changes do you think we should make in order to solve the problem?We should delay calling the API a bit to wait until the animation is complete if we paid in full and the
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pay button becomes green again when the paid animation is running. What is the root cause of that problem?The button becomes gray when there are held expenses. App/src/components/ReportActionItem/ReportPreview.tsx Lines 536 to 537 in c1454f7
When we pay the expense, it becomes unheld, so the button turns green again while the animation is running. What changes do you think we should make in order to solve the problem?We can prevent the button props to be updated. First, create a new ref.
When the animation runs, set the rest of the props to the App/src/components/SettlementButton/AnimatedSettlementButton.tsx Lines 57 to 62 in c1454f7
Then, pass the frozen props to the settlement button
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
@bernhardoj's proposal looks good to me! 🎀 👀 🎀 C+ reviewed |
Current assignee @Julesssss is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@mkzie2, we prefer not to use |
@Julesssss, @OfstadC, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I see we're planning to revert this feature here, we should hold on this. |
As mentioned by @mkzie2, this is held. |
@Julesssss @OfstadC @thesahindia this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Currently held |
Still held |
@Julesssss @OfstadC @thesahindia this issue is now 4 weeks old, please consider:
Thanks! |
No change on the status of the blocker. |
Issue not reproducible during KI retests. (First week) |
Not overdue |
Awaiting further tests, we can hopefully close this soon |
Issue not reproducible during KI retests. (Second week) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.74-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #53117
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Green payment button will not appear briefly when paying held expense.
Actual Result:
Green payment button appears briefly when paying held expense.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6690447_1733876458137.20241211_081228.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @JulesssssThe text was updated successfully, but these errors were encountered: