-
Notifications
You must be signed in to change notification settings - Fork 4.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
Update copy of warning for block removal #52392
Comments
Totally agree on the spacing—I do think we could reinstate the "not advised" bit without affecting the overall length by much, though. How do you feel about these? Query Loop
Post Content
|
Sounds great. Let's roll with what you have! |
With beta 4 tomorrow, I don't anticipate there being time to get this done alongside the large list of to dos. Removing from the 6.3 board for now. |
I’m of the mind that folks won’t read this aside from the “Are you sure?” heading - so it can be less detailed. I also think the text shouldn’t read it is “not advised”. We don’t have enough context to suggest whether or not it’s a good idea to remove. For example, I use a Query Loop block within a template part on my blog and I keep getting this notice when removing. It’s irrelevant whether or not it’s removed from my single template, but the UI advises me not to. |
While this PR is close to landing, I wanted to recap the feedback and discussion there:
Various options were thrown out as well:
We landed with the following for multiple blocks selected (and you can infer single blocks). This offers a clearer heading warning, more concise language, and clearer communication around the impact: This is very likely to need iteration so, once this change ships to GB, please keep sharing feedback so we can get this right. |
Keeping this open for future feedback as I have a sense we can continue to iterate (quickly) here 👏🏼 Please keep sharing what's coming up and what anyone sees when working with the Site Editor or working with others to help them use the Site Editor. |
Is the goal to have "one" warning for different types of blocks (such as Content block, Query Loop block, and Post Template block)? If possible, I'd advise against that. I think specificity matters in this situation. I'd also suggest that we get a "Learn more" added to this that links to documentation about the specific block, where the documentation can properly explain what the block is for, how it works, and what exactly is happening when it's deleted. To steal from here and here, and add another tweak, another option to satisfy both of my suggestions above could be:
and link each of the block names to their respective user documentation. Or, maybe link to a tutorial in Learn WordPress that specifically digs into the function of these blocks and the consequences of deleting them from a template. Yes, the text is longer and will likely wrap onto two lines (but only if we're trying to create one modal for all three use cases), and this feels clearer while giving the user the ability to easily learn why this matters. |
Quick respsonse: No! The goal is to reduce folks deleting these blocks and breaking their site. Keep the feedback coming as this lands in Gutenberg and we can hopefully help determine if this helps/hurts. |
Ideas for the removal warning copy
Ideas for the Content Block placeholder copyAnother aspect we should also aim to improve to reduce confusion is the copy and design of the placeholder text in the Content Block, and, possibly the Title Block, which touches on larger aspected being discussed on #55025
Ideas for the Removal warning design
Ideas for the Content Block placeholder designAdd more visual distinction to the Content Block to indicate that it is a special block. this could be done by:
|
Thanks so much for gathering up this feedback! I'm getting some conflicting messages here between "reduce the amount of information" and recommendations to add in sentences. I err on the side of keeping it very concise based on prior feedback and appreciate the personalization angle along with not naming the block specifically. As for listing out where the pages and posts are, that won't quite hold up considering you can also add pages in the Site Editor itself :).
We do this right now with the updated copy.
I like this! The issue is that when deleting multiple blocks, we'd have to link to all of the docs/get the docs right. I don't think we can do this elegantly, unless we created a dedicated to doc to this topic.
To me, this is a no go based on what the primary action is and it goes against every other use of cancel in the interface in terms of a design pattern. For the post content placeholder, I've opened this issue to make sure we don't lose that feedback in the midst of this broader discussion: #58136 As a next step, let's try a PR that adds in "you" language and brings back the "Removing this block is not advised." that was originally there. We tried super concise and perhaps that's still needed:
|
…t content Addresses continued feedback on #52392
Opened a PR to kick this off: #58138 |
What about this; a bit more direct and succinct:
Plugged the previous suggestion into chatGPT for something more readable/understandable. |
alternate: |
This reads like my posts/pages will be deleted to me.
This is a fine alternative! I don't see it as materially better but I don't feel strongly. @liviopv in case you have any strong feelings :) |
…t content (#58138) * Iterate on warning text for block removal for query/post template/post content Addresses continued feedback on #52392 * Adjust string * Update block-removal.spec.js * Update e2e test * Give the modal a max-width to be consistent with block lock modal * Use modal size prop --------- Co-authored-by: Rich Tabor <[email protected]> Co-authored-by: Andrew Serong <[email protected]>
With this PR merged, let's take a look at this next iteration:
Here's where we are at visually: As before, let's keep feedback coming here and see what sort of iterations might be needed. Thank you to everyone for the help here. @liviopv for the feedback, @richtabor for wordsmithing/diving into the PR, @andrewserong for bringing it across the finish line. |
Looks good; closing for now as #58138 is in. |
Looking over 6.3 beta 3 and the warning for block removal work #51145, the copy/layout feels like it can be iterated upon as there's a bit of awkward spacing otherwise with items being on two lines:
Here's the text for Query Loop:
Here's the text for Post Content:
To start, let's not have two separate lines as it makes the spacing a bit awkward.
Idea for Query Loop
Idea for Post Content:
We could also perhaps keep the "Removing this block is not advised" text depending on how much space we want to use up/how much text we want to show. Keen to get copy help!
The text was updated successfully, but these errors were encountered: