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-10-29] [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab #47734

Open
AndrewGable opened this issue Aug 20, 2024 · 23 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 👍

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Oct 4, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Monthly KSv2 and removed Monthly KSv2 labels Oct 4, 2024
Copy link

melvin-bot bot commented Oct 19, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Oct 21, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@AndrewGable AndrewGable reopened this Oct 21, 2024
@AndrewGable
Copy link
Contributor Author

We reverted these PRs due to the linked deploy blockers, let's make sure to address them before trying to merge this again. Thanks!

@AndrewGable
Copy link
Contributor Author

Also one thing I noticed, on the OldApp side of things we never renamed Trips to Travel, it'd be great to do that in this next round of PRs.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 Monthly KSv2 labels Oct 22, 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-10-29] [HybridApp] Open New Expensify /travel when clicking on the HybridApp Trips tab Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-4 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-10-29. 🎊

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

Copy link

melvin-bot bot commented Oct 22, 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.

@twisterdotcom
Copy link
Contributor

Payment Summary:

@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 fixes 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

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

4 participants