-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Patterns: Provide a way for users to opt out of the 'Choose a Pattern' modal when adding a page #56181
Comments
From user feedback in the forums: |
Just for those in whom that triggers anxiety as myself — I’ve created a quick and dirty workaround (use case scenario: e. g. a website with 200 pages to be re-created with a default pattern...) Github: Blog post: |
I knew this existed and have even played with making my own patterns that use/enable it. However, after not using the block editor for a while and coming back to it recently, I found it really jarring to have it pop-up automatically without my prompting. |
I spun up a new site today to reproduce an issue on a plugin I maintain, and I needed to create a handful of pages for the reproduction scenario. I was welcomed by this modal on every page: And while it was nice to know this new pattern selector is available, I don't want it to pop up every time I create a new page. I would love to see some sort of "don't show this to me again" option on the modal, that updated a block editor preference that I could then change again later if I did find it helpful to have the modal on every page in the future. |
I just wanted to drop more Twitter/X dialogue around this issue. A few more folks are not keen on the page patterns modal. X thread starts here: https://x.com/mishterkurth/status/1762655604945076271?s=46&t=qYMrgR5B4ui3KKMSqnKquA |
@chairmanbrando While sharing frustrations can be understandable, this platform might be better suited for focused discussions on specific issues. By outlining the problem and suggesting potential solutions or workarounds, we can create a more constructive dialogue. |
I have a design suggestion inspired by @jasonbahl's idea:
I included a checkbox at the bottom of the modal and a toggle inside the editor preferences. To avoid reinventing the wheel, I looked for similar components. I was surprised to find that the “Choose a pattern” modal when creating a new template in the site editor does have a bottom bar with a skip button: I used that and added a “Do not show me this again” checkbox on the left, de-selected by default. The word "me" emphasizes it’s user-specific. I also created a version of the editor preferences that includes this as a new option: I’d love to get some feedback on this suggestion to maybe get it ready for a PR in the future. |
How is this still an issue. Interrupting the user is bad UX. This should only pop up when prompted by the user to select a pattern. |
What if instead of a modal, this replaced the default block being a
|
Just noting this older comment from #56307 (comment):
@jasmussen: is this interface still in flux? Are there other options we can explore for letting users skip this modal? This feature seems highly requested so it would be good to move this forward. |
A little bit, yeah. One of the ideas is to continue to refine the zoom out + contentOnly combo, so when you add a new page, it can start in that interface. @richtabor has some thoughts here too. That said, both those behaviors could potentially have the same opt-out mechanism, which could live in preferences as suggested. This is similar to the pre-publish checks which you can toggle off: |
Yes, I'd consider these the same. |
This comment already has the design suggestion for it, although the setting has been put in the Interface section, not the Publishing section. I think we can discuss where it fits best, although I think Interface is the better section, as this setting would have only little to do with actual Publishing. cc @jasmussen |
Other than publishing pages :) |
Just stumbled into this. I'd almost call it a bug. 😄 Here's me trying to edit a page's template bits and moving back and forth: Kapture.2024-09-04.at.11.56.01.mp4
My vote would be, as well as a setting in preferences, to have the opt-out checkbox on the overlay itself, optionally with a note that it can be turned back on in preferences. This hands the user immediate control without disrupting their flow. The other option is to remove this popup in the site editor - what concrete value does it serve? |
I threw up a PR based on @jakobtrost's designs above: Kapture.2024-09-04.at.14.16.42.mp4The previous attempt by @glendaviesnz was closed #56307 (comment) to avoid adding a preference to the preferences panel. If this view still stands, I think we should still find a way to stop the panel reappearing unnecessarily. |
The opt out PR is much better yet may leave room for improvement. Once opted out, there’s no way to quickly engage the pattern picker modal for new pages. Then opting back in may serve okay if you’re about to go on a spree of creating new pages with starter patterns but you’ll likely opt out again soon after. Could we consider not autolaunching the modal and instead making a prompt or button available on new pages that provides one-click access? In the Site editor, which already prompts for the page title, it seems like we could try an option to create the draft with a starter pattern. That way it’s quickly available when you want it and never when you don’t. |
@johnstonphilip, I do like your idea. It would have an advantage to a prompt/button that opens the modal because it’s one fewer click to insert a pattern. Perhaps it can be a bit more distracting then a simple prompt. Here’s a demo of a prompt approach: prompt-post-starter-patterns.mp4I could make that a PR but haven’t yet. I do consider it better to not auto launch a modal. |
I do love the informative unobtrusive prompt approach; users learn about and can quickly access patterns, but doesn't interrupt them if they're not interested. However being able to silence the prompt all together is nice for those not using patterns at all. |
Slightly related. Create a new page on a fresh WP install on trunk with a clean browser local storage: 2024-09-06.11.27.04.mp4Probably worth auditing these modals and having some form of centralized control. |
@stokesman Personally I don't like the snackbar for anything :D |
YES! Thanks for the screenshot too. I think this makes sense for the site editor, where I'd expect the user to be more comfortable with the editing flows. For pages created in the post editor? Not sure. What about a placeholder similar to the suggestion above rather than another modal? |
I like this concept of moving it to the start of the flow, but if the user select "Blank Page", they shouldn't see the modal. They chose to start with a "Blank Page", so popping up a modal at that point doesn't make sense to me. |
Errrmmm. Make it go away. Please! It's very very annoying. I work with Oxygen Builder. And every time I exit the builder I have to click twice to get rid of a window I never use. |
It's not just you 😄 @ellatrix has a plan to remove this modal: In the meantime, you can switch the modal off completely using preferences: |
Actually there is a very easy solution. At least using the Oxygen Builder. Without disabling the Oxygen Plugin Done. Popup gone! I still hope this will be a setting in the future! |
^ This |
I'm unsure if this helps anyone, but I had Claude help create a snippet that automatically presses the X. You have two options: using the snippet below or using what @alFrame suggested above. Setting the theme is cleaner and easier if you can. If you can't, the snippet below should suffice.
|
What problem does this address?
The new 'Choose a Pattern' modal is useful - but can become frustrating for users who don't want to use it, and still need to see it every time.
What is your proposed solution?
Provide a setting/option where this modal can be enabled/disabled.
The text was updated successfully, but these errors were encountered: