-
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
Reusable block name auto save #4527
Comments
Good idea! It probably isn't too hard to do.
Do you have an example of this interaction somewhere out in the wild? |
To expand on this, @noisysocks I think when you first create a reusable block we could focus the title field instead of just creating it with "Untitled". The flow should:
Without having to do extra steps like clicking "Edit" again. |
That definitely sounds like a nicer flow, @mtias. I'll look into implementing that. Related comment for future reference: #3017 (comment) |
I started looking into this and the issue is that we need to create and save a reusable block ASAP so that the How about we modify the flow to look like this:
This removes two steps from the flow of creating a reusable block without changing any of our underlying assumptions about how reusable blocks work. Question (for @karmatosed): If we had the above flow, would implementing a clickable name still be worth the additional complexity? |
I feel it works as better than what we have now, which I think is me saying yes. I would love to explore us not having to have a save/cancel button combination but that does feel a stretch now. Could this be an edit later or are we set on a path here and it's hard to go back? |
Yeah, it would be good to explore implementing a clickable title field as part of a broader exploration on how we can remove having a seperate edit mode and read mode. The thing I like about having two distinct modes is that requiring the user to click Save very clearly conveys that they are updating content that is not a part of the current post. Any alternate UI would need to somehow convey this. I think, for now, let's go with the simple iteration described above. We can revisit this UI more holistically in the future—perhaps after the MVP of Gutenberg is merged. |
Sounds good to me. |
This may not be possible so cc @noisysocks - please close if I am about to make work on this and it's not fairly easy to do :)
I was working through the flow of reusable blocks and it struck me as to how clicking edit, then saving or cancelling is really a long path. Could we just have the name clickable? You click in to edit and then it autosaves? This kind of interaction is becoming more common for users. I think if it is possible, this would be a nice addition.
The text was updated successfully, but these errors were encountered: