-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Due for payment 2025-02-18] Android & iOS - Book travel - Book travel button only works when tapping for the second time #55829
Comments
Triggered auto assignment to @trjExpensify ( |
Triggered auto assignment to @techievivek ( |
💬 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:
|
I think we can can remove the blocker label since the feature is behind beta? |
Seems to be coming from here #55300, cc @cristipaval |
Also, we have no plans of reverting that PR and the feature is still behind beta with users mainly on oldDot. https://expensify.slack.com/archives/C05S5EV2JTX/p1738013139945179?thread_ts=1737494593.720669&cid=C05S5EV2JTX |
Assigned it to you since you will be looking into the improvements/cleanups. |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-28 10:32:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Book travel button only works when tapping for the second time What is the root cause of that problem?Unlike web, the first time we clicked the button the below subscription was started running: App/src/libs/actions/Travel.ts Lines 29 to 35 in 28cb413
What changes do you think we should make in order to solve the problem?Let's use the App/src/pages/Travel/ManageTrips.tsx Line 35 in 00f5edd
and pass it as a param to bookATrip function.We can also add a loading state to BookTravel button while activePolicyID is loading by using useOnyx
const [activePolicyID, activePolicyIDResult] = useOnyx(ONYXKEYS.NVP_ACTIVE_POLICY_ID); While We should also do the same approach for What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)N/A |
|
Updated proposal to correct the format |
I'll open a fix PR |
Demoting, not to block the deployment with this, since it is for Travel which is behind a beta. Working on a fix, which seems to have significant changes. I'll fix this as part of this refactoring issue. ETA: the PR should be ready at the end of today. |
Update: The PR is approved, and the C+ is testing on all platforms so we hope it gets merged soon 🤞 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-02-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@ZhenjaHorbach @trjExpensify @ZhenjaHorbach The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@tgolen @trjExpensify @cristipaval @ZhenjaHorbach this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
This has been deployed Melv, we're waiting out the regression period. Chill man. 😅 |
Payment Summary
BugZero Checklist (@trjExpensify)
|
👋 @ZhenjaHorbach checklist time, please! |
Actually I'm not sure a checklist is needed here |
We should still fill out the checklist and state it as a bug with the initial implementation. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Test:
Do we agree 👍 or 👎 |
Thanks! Payment summary as follows:
Offer sent! |
Done |
Paid, closing! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.90-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): applausetester+100106kh@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: iPhone 15 Pro Max / iOS 18.2
App Component: Other
Action Performed:
Expected Result:
Tapping Book travel one time will open the address page.
Actual Result:
Tapping Book travel one time does nothing.
It only opens the address page after tapping Book travel for the second time.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6725773_1738039887315.ScreenRecording_01-28-2025_12-48-10_1.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @trjExpensifyThe text was updated successfully, but these errors were encountered: