Skip to content
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

[HOLD for payment 2024-11-14] [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab #47734

Closed
AndrewGable opened this issue Aug 20, 2024 · 34 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production NewFeature Something to build that is a new item. Weekly KSv2

Comments

@AndrewGable
Copy link
Contributor

AndrewGable commented Aug 20, 2024

Problem

We have a temporary fix in place for the new Travel feature but it has some limitations:

Solution

  1. When a user clicks on Travel tab, redirect the user to New Expensify /travel via the navigateToNewDot function
    1. If the user was using Expensify Classic, we should not set their tryNewDot.classicRedirect NVP
  2. When a user clicks on Book Travel in New Expensify we should open the browser as we do today, but we should take them back to Expensify Classic in the background.

The intention here is to not take the user back to New Expensify once they return back to the Expensify app.

Issue OwnerCurrent Issue Owner: @twisterdotcom
@AndrewGable AndrewGable added the Weekly KSv2 label Aug 20, 2024
@AndrewGable AndrewGable self-assigned this Aug 20, 2024
@AndrewGable AndrewGable added the NewFeature Something to build that is a new item. label Aug 20, 2024
Copy link

melvin-bot bot commented Aug 20, 2024

Triggered auto assignment to @garrettmknight (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@AndrewGable
Copy link
Contributor Author

Similar to this PR https://github.com/Expensify/Mobile-Expensify/pull/12700, but will require some more work!

@AndrewGable
Copy link
Contributor Author

cc @mateuuszzzzz @staszekscp @war-in - Here is a polish issue that can be worked on once we finish all other release items

@melvin-bot melvin-bot bot added the Overdue label Aug 29, 2024
@twisterdotcom
Copy link
Contributor

Still polish, prioritised correctly.

@melvin-bot melvin-bot bot removed the Overdue label Sep 2, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 10, 2024
@twisterdotcom
Copy link
Contributor

Same as above. Will downgrade to Monthly for now.

@melvin-bot melvin-bot bot removed the Overdue label Sep 10, 2024
@melvin-bot melvin-bot bot added the Overdue label Sep 19, 2024
@twisterdotcom
Copy link
Contributor

Wow, I thought I had made this Monthly.

@melvin-bot melvin-bot bot removed the Overdue label Sep 19, 2024
@twisterdotcom twisterdotcom added Monthly KSv2 and removed Weekly KSv2 labels Sep 19, 2024
@AndrewGable
Copy link
Contributor Author

Bumping @mateuuszzzzz @staszekscp @war-in to see if anyone wants this one!

@mateuuszzzzz
Copy link
Contributor

Hi! I'm gonna handle that one 👍

@mateuuszzzzz
Copy link
Contributor

I prepared PRs they're in draft mode. I need to test Android tomorrow and then I should be able to move it to "ready for a review"

@mateuuszzzzz
Copy link
Contributor

mateuuszzzzz commented Sep 26, 2024

Hi, I have and update. I would like to postpone this PR until we unify the process for booting React Native on both platforms. Currently, on iOS, the app boots on startup, which leads to platform-specific implementations to ensure compatibility on iOS. This issue also affects the current PR.

I also spent some time today with @adamgrzybowski to figure out how we can integrate this feature with the current navigation. We have come up with a solution that works surprisingly well.

@AndrewGable
Copy link
Contributor Author

Sounds good!

@mateuuszzzzz
Copy link
Contributor

We managed to change how we boot RN on iOS and it works without any crashes 🎉 I presume I will continue work on this issue on Monday/Tuesday

@mateuuszzzzz
Copy link
Contributor

I managed to fix all remaining issues in the blocking PR. I will continue work on Travel PR on Thursday 👍

@AndrewGable
Copy link
Contributor Author

#47734 (comment)

@AndrewGable AndrewGable reopened this Oct 22, 2024
@mateuuszzzzz
Copy link
Contributor

mateuuszzzzz commented Oct 28, 2024

Hi! I have an update

I prepared two PRs that should also fix previous issues.

OldDot, NewDot

I resolved the following issues:

I haven't addressed the iOS crash. I've just confirmed that this crash is not related to the Travel PR. It still appears in Crashlytics even after reverting the initial PRs (9.0.51.3).

What's more, it looks like after introduction of Bridgeless mode on iOS (9.0.54.1). This crash has stopped appearing in Crashlytics, so I wouldn't introduce any additional fixes. cc: @AndrewGable

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Daily KSv2 and removed Weekly KSv2 labels Oct 28, 2024
@trjExpensify trjExpensify moved this from Done to In Progress in [#whatsnext] #convert Oct 29, 2024
Copy link

melvin-bot bot commented Oct 29, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@twisterdotcom
Copy link
Contributor

Looks like we're just waiting for these two PRs right? Don't wanna close this yet.

@twisterdotcom twisterdotcom removed the Awaiting Payment Auto-added when associated PR is deployed to production label Oct 30, 2024
@twisterdotcom twisterdotcom changed the title [HOLD for payment 2024-10-29] [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab Oct 30, 2024
@mateuuszzzzz
Copy link
Contributor

Hi, I started the implementation of betas on the OldDot side today, which is the last thing to address. I will be OOO on Thursday and Friday, and I’ll continue working on this issue on Monday.

@trjExpensify
Copy link
Contributor

Confirmed with Brandon here that this is the expectation on the OldApp side:

  • When not on the spotnanaTravel beta: Clicking the Travel tab on OldApp doesn’t redirect to NewDot, it opens the OldApp Trips page.
  • When on the spotnanaTravel beta: Clicking the Travel tab redirects to NewDot’s book travel flow.

@mateuuszzzzz
Copy link
Contributor

Hi, I had to take a day off due to a cold I’ll continue working on the PR tomorrow

@mateuuszzzzz
Copy link
Contributor

I've implemented remaining betas checks

@trjExpensify
Copy link
Contributor

Wahoo, and glad you're feeling better! Is it ready for a re-review?

@mateuuszzzzz
Copy link
Contributor

Wahoo, and glad you're feeling better! Is it ready for a re-review?

Yes 👌

@github-project-automation github-project-automation bot moved this from In Progress to Done in [#whatsnext] #convert Nov 5, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Nov 7, 2024
@melvin-bot melvin-bot bot changed the title [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab [HOLD for payment 2024-11-14] [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab Nov 7, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 7, 2024
Copy link

melvin-bot bot commented Nov 7, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Nov 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.58-2 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 2024-11-14. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Nov 7, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mateuuszzzzz] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@twisterdotcom] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production NewFeature Something to build that is a new item. Weekly KSv2
Projects
Status: Polish
Development

No branches or pull requests

5 participants