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

Stop forcibly directing users to NewDot when they engage with the NewApp OldApp switchter #31234

Closed
kevinksullivan opened this issue Nov 11, 2023 · 22 comments
Assignees
Labels
Engineering Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2

Comments

@kevinksullivan
Copy link
Contributor

kevinksullivan commented Nov 11, 2023

Problem

As part of Direct public signups to NewDot, we will continuously force public domain users into NewDot, even if there are valid reasons for them to use OldDot due to the unique functionality that exists there.

While the design doc has a few ways to address this, including a snippet that we can run in a user's account, and a design that will not redirect a user using specific OldDot URLs, that can still lead users to a frustrating dead end if they don't chat with us for support or hit the right link to get into Expensify.

Solution

Let's leverage the design in NewApp <-> OldApp switcher to update a user's preference and stop directing them to NewDot.

image

When someone engages with this cross-link, we should:

  1. Update the classicRedirect value in the tryNewDot NVP, with an additional value that we use to offset this hard redirect.
  2. Allow just user to continue to Olddot
  3. Continue to ask the user for feedback on why they did this (which is already being implemented in the switcher doc)

CC @danielrvidal

Copy link

melvin-bot bot commented Nov 14, 2023

@francoisl Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@francoisl
Copy link
Contributor

Haven't looked into this yet as I'm focusing on getting the first critical issues merged and deployed. If someone can take this over in the meantime, that would be yuge.

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2023
@francoisl
Copy link
Contributor

@AndrewGable is this Return to Expensify Classic new option already merged? Or is there a WIP branch for it or something else?

@AndrewGable
Copy link
Contributor

No Return to Expensify Classic feature is still in design doc review: https://docs.google.com/document/d/1Mw_YtYql2L4mwyGT_QHQx7mFqDVUc6mOCNIAZh-oWo4/edit

@francoisl
Copy link
Contributor

@kevinksullivan does this need to be a Daily then? Looks like we're blocked on that doc.

Also how about we just update this in the doc instead? All we'll need to do is update the NVP tryNewDot as such:

newValue = {
    classicRedirect: {
        dismissed: true, // add this
        timestamp: "xx" // keep everything else
    },
    "other stuff": { } // keep everything else
}

@melvin-bot melvin-bot bot added the Overdue label Nov 20, 2023
Copy link

melvin-bot bot commented Nov 20, 2023

@francoisl Eep! 4 days overdue now. Issues have feelings too...

@francoisl
Copy link
Contributor

Still waiting on the new button to be implemented.

However @kevinksullivan, I was just thinking of one thing: if we update people's tryNewDot.classicRedirect NVP when they click that button, it would also stop them from being redirected to NewDot when they sign in on other platforms (web). Is that fine?

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Nov 21, 2023
Copy link

melvin-bot bot commented Nov 24, 2023

@francoisl Whoops! This issue is 2 days overdue. Let's get this updated quick!

@kevinksullivan
Copy link
Contributor Author

However @kevinksullivan, I was just thinking of one thing: if we update people's tryNewDot.classicRedirect NVP when they click that button, it would also stop them from being redirected to NewDot when they sign in on other platforms (web). Is that fine?

yeah, I think that makes sense @francoisl . Since this only affects those with the NVP present, I think that solution would handle the case we were originally concerned with.

@francoisl
Copy link
Contributor

Ok cool. Going to demote this to weekly for now since we're still waiting for the button to be implemented.

@melvin-bot melvin-bot bot removed the Overdue label Nov 28, 2023
@francoisl francoisl added Weekly KSv2 and removed Daily KSv2 labels Nov 28, 2023
@Expensify Expensify deleted a comment from melvin-bot bot Nov 28, 2023
@francoisl francoisl added Engineering Improvement Item broken or needs improvement. labels Nov 28, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 7, 2023
@francoisl
Copy link
Contributor

Looks like Hybrid App is almost done and we can get back to this soon.

A couple threads where this was discussed recently in wave9:

@melvin-bot melvin-bot bot removed the Overdue label Dec 8, 2023
@melvin-bot melvin-bot bot added the Overdue label Dec 18, 2023
@francoisl
Copy link
Contributor

Hey @kevinksullivan I'm getting back to this one, and I have two questions:

  1. I'm noticing that with the way the the switcher was implemented, we currently don't auto-authenticate you in OldDot. Should we change that? I feel like it would be smoother
Screen.Recording.2023-12-22.at.10.20.42.AM.mov
  1. Update the classicRedirect value in the tryNewDot NVP, with an additional value that we use to offset this hard redirect.

To rephrase this, do you mean that if users try to manually open expensify.com/ at some point in the future after clicking the switcher, we should no longer auto-redirect them to NewDot, is that right? (i.e. disabling the auto-redirection)

@melvin-bot melvin-bot bot removed the Overdue label Dec 22, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 1, 2024
@francoisl
Copy link
Contributor

@kevinksullivan small bump on the above please ^

@melvin-bot melvin-bot bot removed the Overdue label Jan 3, 2024
@kevinksullivan
Copy link
Contributor Author

I'm noticing that with the way the the switcher was implemented, we currently don't auto-authenticate you in OldDot. Should we change that? I feel like it would be smoother

oh yes, absolutely.

To rephrase this, do you mean that if users try to manually open expensify.com/ at some point in the future after clicking the switcher, we should no longer auto-redirect them to NewDot, is that right? (i.e. disabling the auto-redirection)

Right, we should not redirect them to NewDot in any scenario once they've engaged with the switcher.

@melvin-bot melvin-bot bot added the Overdue label Jan 12, 2024
@MitchExpensify
Copy link
Contributor

we should not redirect them to NewDot in any scenario once they've engaged with the switcher.

Why @kevinksullivan ? Clicking "Go to Expensify Classic" doesn't seem to me like a reliable indication that some wants to always got to Expensify Classic. What problem does removing the classicRedirect NVP solve for these users clicking Go to Expensify Classic"?

@francoisl francoisl added the Reviewing Has a PR in review label Jan 18, 2024
@melvin-bot melvin-bot bot removed the Overdue label Jan 18, 2024
@kevinksullivan
Copy link
Contributor Author

@MitchExpensify just to be sure, you're saying we should force them back into NewDot every session? Then they have to switch back each time?

@trjExpensify
Copy link
Contributor

Yeah, and further fill out the survey again and again.

@MitchExpensify
Copy link
Contributor

@MitchExpensify just to be sure, you're saying we should force them back into NewDot every session? Then they have to switch back each time?

I don't think clicking "Go to Expensify Classic" tells us anything concrete about why they are checking out OldDot so I'm wondering what the reasoning is to remove the classicRedirect NVP.

@francoisl
Copy link
Contributor

Backend changes are done - currently waiting for https://github.com/Expensify/Expensify/issues/358172 to be merged as it updates the "Go to Expensify Classic" flow.

@francoisl
Copy link
Contributor

Still waiting on the above, looks like the main App PR is close to being merged.

@francoisl
Copy link
Contributor

That logic was added as part of the Exit Survey stuff it appears, though I'm seeing a small issue with how it was done. Submitting a PR for review shortly.

@francoisl francoisl added Reviewing Has a PR in review and removed Reviewing Has a PR in review labels Feb 27, 2024
@francoisl
Copy link
Contributor

This was deployed to production last week but the automation didn't work :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants