-
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
Retain selected tab when domain is switched #97446
Comments
OpenAI suggested the following labels for this issue:
|
@Imran92 I've been digging into the details of the Domains dashboard and how info gets passed around in order to try to fix this one. Looking at how the Sites dashboard does it, I think this will be easier to implement and require less rework once DataViews are already in place. Any objection to moving this one to Blocked for the time being? Please let me know if I've missed something or if you already had an idea of how to solve this in a simpler way. Thx! |
For kicks, I checked out the draft DataViews branch and tried to fix this there, but it looks like the list of domains in the sidebar is still using the old structure (i.e. |
Thanks for diggint deeper into it @donnapep! You're totally right, it makes sense to wait until the DataViews conversion is done to avoid rework. I put together a quick POC here: #97710 with a very simple version of it. It's just a rough draft and also doesn’t handle subpages yet. Though, I actually think we shouldn't worry about retaining subpages even in the future either since not all domains have all of them, so it won't be a 1:1 map for each domain, and it could make things unnecessarily complicated. Instead, we could just pick the email tab when we can surely detect, and fall back to the overview tab as the default. Also, I used Let me know what you think! |
Putting this back in Doing as I see a potential solution now. |
In our new flyout view, when domain is switched, we open the default tab, that is the domain overview tab. So even if we are currently on the Emails tab, if we switch domains, the Overview will be opened for the new domain. Then we'll need to switch to the Emails tab.
Similar to how wordpress.com/sites work, we want to open the same tab when domains are switched
The text was updated successfully, but these errors were encountered: