Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Ian Atomic Walkthroughs (Video 1) - /new flow finish to Dashboard instead of My Home #53916

Open sethmclellana8c opened 3 years ago

sethmclellana8c commented 3 years ago

Video information

Video 1 4:20 to 4:38

What I expected to happen

Should we be sending the user to My Home?

What actually happened

Once you complete Woo signup flow, you're sent to "Dashboard" instead of "My Home"

Context

Pod work

Level of impact (Does it block purchases? Does it affect more than just one site?)

2 of 5

Screenshot / Video: If applicable, add screenshots to help explain your problem.

image

pablinos commented 3 years ago

Let's see if there's a filter we can use to adjust the redirect URL that Woo uses.

pablinos commented 3 years ago

I initially thought this was a case of changing the URL used at the end of the setup wizard, but it's actually related to the WooCommerce sidebar that's displayed for sites via Automattic/wc-calypso-bridge

There is code in there that was merged in March to store a value based on the referrer, and use that to determine where the WordPress Dashboard link should go. I'm wondering if we should change this to look at the Dashboard Appearance setting, so it's always going to the same place.

The referrer mechanism is working for me, but I can see it suffering from some similar problems to Calypsoify.