-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[AWAITING PAYMENT] [$250] Expense - Payment option is not selected from the dropdown unless it is reselected #49331
Comments
Triggered auto assignment to @garrettmknight ( |
Triggered auto assignment to @mountiny ( |
👋 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:
|
We think that this bug might be related to #wave-collect - Release 2 |
potentially related to #48863 @shubham1206agra |
Interesting, this does not feel like a new feature |
Culprit PR is #48615. @bernhardoj |
Thread here, I think Bernhard is out of action, so we need someone to jump on this. @ZhenjaHorbach perhaps as you have the context from the review? |
Sure ! |
Hmmmm Since we updated dependencies we update list sorting it according to this condition every time App/src/components/SettlementButton/index.tsx Lines 152 to 155 in 266ad46
But since we select active option by index
It turns out that after sorting, the order of elements changes, but the index remains And I'm a little confused 😅 But it looks like this condition is redundant App/src/components/SettlementButton/index.tsx Lines 152 to 155 in 266ad46
|
@ZhenjaHorbach do you think we'll be able to get a fix up today or consider reverting this PR for the deploy? |
Actually we have two fixes
|
So I think I can create a PR today with the second proposal |
I think that's fine @ZhenjaHorbach. Do you happen to know why we added the policyId selector here? const [lastPaymentMethod = '-1'] = useOnyx(ONYXKEYS.NVP_LAST_PAYMENT_METHOD, {selector: (paymentMethod) => paymentMethod?.[policyID]}); |
@ZhenjaHorbach sounds good to me |
Thanks for looking into this, just for my understanding that PR is already in production right? So that would mean it cannot be the root cause of the deploy blocker, right? |
Created PR for this issue |
Demoting as this is already in production |
PR is up, @dukenv0307 is assigned for a review, as its not a blocker we do not have to CP |
Job added to Upwork: https://www.upwork.com/jobs/~021841124636355272101 |
Current assignees @ZhenjaHorbach and @dukenv0307 are eligible for the External assigner, not assigning anyone new. |
Offers out to both @ZhenjaHorbach and @dukenv0307 |
Actually this is a regression from the PR that I reviewed ! |
@dukenv0307 just you then! |
Thank you @garrettmknight offer accepted |
All paid up, closing. |
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.36-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The payment option will be selected without issue.
Actual Result:
The payment option is not selected until it is selected for the second time.
On Android and iOS app, the payment option is selected without issue during the first attempt, but it reverts to the previous option when opening dropdown and dismissing the modal.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6606369_1726563197027.20240917_164453.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: