You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] iOS - Onboarding task deeplinks used within the app redirect users to the web #46495
Version Number: 9.0.14 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
In the onboarding modal, select "manage my team's expenses"
Go to Expensify chat to view the task checklist
Open a task that contains a deeplink (e.g., meet your setup specialist or set up categories)
Open the desired task and tap on the hyperlink present within the steps (e.g., #admins room if meeting your setup specialist, or Workspaces if setting up categories)
Expected Result:
Onboarding task deeplinks used within the app should redirect users to the correct screen within the app
Actual Result:
Onboarding task deeplinks used within the app redirect users to the web
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
I reproduced on staging and not on production. It seems like there might be something wrong with our staging ENV for iOS since the link is generated in NewDot and it is using the prod URL. I'll try reproducing on Android to verify.
The PR that introduced the bug has been identified. Link to the PR:
The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
Doesn't seem to be a regression.
Determine if we should create a regression test for this bug.
Yes.
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Create a new account (please use a public domain)
In the onboarding modal, select "manage my team's expenses"
Go to Expensify chat to view the task checklist
Open a task that contains a deeplink (e.g., meet your setup specialist or set up categories)
Open the desired task and tap on the hyperlink present within the steps (e.g., #admins room if meeting your setup specialist, or Workspaces if setting up categories)
Onboarding task deeplinks used within the app should redirect users to the correct screen within the app
@JmillsExpensify Added the BZ checklist. Sorry for missing it previously.
Activity
melvin-bot commentedon Jul 30, 2024
Triggered auto assignment to @arosiclair (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jul 30, 2024
👋 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:
nyomanjyotisa commentedon Jul 30, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Onboarding task deeplinks used within the app redirect users to the web
What is the root cause of that problem?
The links on onboarding tasks created here
App/src/libs/actions/Report.ts
Lines 3272 to 3273 in e81223b
So if onboarding completed in production the links become https://new.expensify.com/...
if onboarding completed in staging the links become https://staging.new.expensify.com/...
If onboarding completed in production and link opened in staging we will encounter this issue
What changes do you think we should make in order to solve the problem?
Remove
hasSameOriginhas origin from this conditionApp/src/libs/actions/Link.ts
Line 145 in e81223b
What alternative solutions did you explore? (Optional)
arosiclair commentedon Jul 30, 2024
I reproduced on staging and not on production. It seems like there might be something wrong with our staging ENV for iOS since the link is generated in NewDot and it is using the prod URL. I'll try reproducing on Android to verify.
arosiclair commentedon Jul 30, 2024
Not reproducible on Android staging v9.0.14.-3. I'm almost certain there's something going on with our staging .env
arosiclair commentedon Jul 30, 2024
In these logs you can see we're sending
Meet your setup specialist...text as a param with the prod link.70 remaining items
arosiclair commentedon Sep 24, 2024
This hit prod 3 weeks ago so we should be good for payment and closing.
JmillsExpensify commentedon Sep 26, 2024
Payment summary:
JmillsExpensify commentedon Sep 26, 2024
@abdulrahuman5196 can you complete the BZ checklist please?
abdulrahuman5196 commentedon Sep 27, 2024
Doesn't seem to be a regression.
Yes.
@JmillsExpensify Added the BZ checklist. Sorry for missing it previously.
trjExpensify commentedon Sep 30, 2024
Confirming payment summary as follows:
JmillsExpensify commentedon Sep 30, 2024
$250 approved for @abdulrahuman5196
JmillsExpensify commentedon Sep 30, 2024
All contributors paid and regression test created. Closing.