-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hard to navigate back after you have previewed a theme. #87
Comments
Generally I think since it's a link, it takes you to a page and adds the history, that makes sense. Plus, using the browser back button from the preview is possible. On the other hand, in the preview, you could end up with a few history entries. If you view a preview, click a style variation, a pattern, etc, those all add entries to the history (this also makes sense to me, since you might want to browser-back-button to a previous pattern). So we couldn't just do I'm inclined to say the current method is the best of practicality + usability, but if you think people will struggle with this we can brainstorm some other ideas. Perhaps updating the text to say "Back to the theme" would be more clear that it's a link, not pseudo-browser-button? |
This might work. Any thoughts on this @WordPress/meta-design? I personally do like that the preview is actually linkable now. |
We discussed this this morning and decided to investigate whether navigation inside the preview could not add history entries, so that the user could use a single "back" to get back to the theme. We also talked about removing the back button itself so the user must use the browser back button— we don't use this "back" concept anywhere else, and if it's not a link then it's just duplicating the browser feature. I don't think we came to a conclusion, but I'll probably try it in the PR. |
My immediate instinct was to remove the button and add a "close" X icon button instead. But that makes most sense when you opened something yourself, and in this case you could be linked there. We could do something much simpler, just an underlined text hyperlink:
That said, this question inspired me to look at IMDB:
IMDB does this:
We can start with just the hyperlink as suggested. But if you all agree, it could be a good path forward would be to do what IMDB does, but instead of linking to the homepage, linking back to the parent theme. So:
It's kind of the luxury solution, and we can do with less. But something to consider. |
The flow described above sounds very similar to what we talked about. I pointed out the need for an action closing the previewer to not feel you're trapped in a room after clicking on Preview. I personally like more the "[X] Close" version than "← Back to theme". |
@jasmussen @fcoveram There's a video on the PR I made after the sync call: #114, how does that look? |
I shared my thoughts on the PR. Thanks! |
I'm going to close the PR, we've hit some technical limits right now that make this tricky to do without redoing how the preview navigation works. From the PR:
So I'm also going to remove this issue from the redesign launch project, and put it on hold for now. |
Describe the bug
Since the theme preview is a distinct URL, it gets added to browser history.
When I preview a theme, I see a button that says
<- Back
. When I click that it takes me back to the theme I was viewing. If i want to get back to the original grid, I need to find the breadcrumb to do so which isn't that easy to find. If I click my browser's back button, I will end up in the preview again. This isn't expected because I assume I reversed my navigational course when i clicked the "back" button in the preview.To Reproduce
Steps to reproduce the behavior:
The only way to get back is to click "Theme Directory" and if you do, you lose your original filtering on the grid. So if you do preview, you lose all your progress unless you keep clicking back through the preview which doesn't feel like the right thing to do.
Expected behavior
I would expect that clicking back in my browser from the single page would take me back to the grid.
Video
https://d.pr/i/xoX6wd
The text was updated successfully, but these errors were encountered: