-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Domain Management: Email: Select site redirects to manage domains #855
Comments
@fabianapsimoes: is this still an issue for you? I'm guessing the emails already went out 😁 |
@klimeryk I believe that's a question for @breezyskies, as I just copied her initial post into this issue. |
Ooops, my bad 😖
I was wondering about that - I've been to Amsterdam with Brie and Rads and I'm pretty sure you weren't there, but since it's such a popular meeting place, I figured maybe it was a different meetup. Now it makes sense 😆 |
... And I seem to have completely forgotten about this, sorry. I haven't looked at calypso in ... I guess I could say, months? |
Months? 😱 So you missed the migration to |
The emails did already go out, but I think this is still worth fixing because: 1) there will future email campaigns, 2) it's not consistent for it to redirect this way (no other section does and it's confusing that you can't link directly to the email tab). |
Roger that 👍 Will keep this one on our radar. |
@mtias I've done some digging and this looks like this falls under your scope. (client/my-sites/controller.js:251 [how sourcePath is defined]) I've tried a couple of methods that makes it work for our case but many of the consumers of that function assumes |
@umurkontaci the my sites controller should be irrelevant here, the redirect should be handled by the upgrades bulk of route definitions. It seems quite intricate to read through, but the site selection screen is something you define for your path if you want to. I don't see it defined for What I see is a Other sections that want to enable the site selection screen for the no-sites case simply do: page( '/menus/:site_id', controller.siteSelection, controller.navigation, menusController.menus );
page( '/menus', controller.siteSelection, controller.sites );
|
By the way, I think the upgrades/store routes should be cleaned up a bit and separated into smaller chunks that are easier to read and placed at the root of "my sites". I'd imagine groups for "plans", "domains", "checkout", etc, better reflecting the url structures (if you have a root url you should have a root folder section in "my sites"). This will also allow us to break the store into chunks for speedier loading, it's currently one of our biggest bundles. I'd also do more explicit route definitions following other sections in calypso. |
Originally reported by @breezyskies
If you go to wordpress.com/domains/manage/email without a site selected, it redirects to wordpress.com/domains/manage -- so when you select a site, you end up in domain management instead of email (Google Apps).
Note: We are looking to send out promotional emails for Google Apps this week, which will link to this page, so we need the redirect to work properly for that.
cc: @rads who I talked to about this in AMS.
The text was updated successfully, but these errors were encountered: