Skip to content
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

Relocate template name setting into the main toolbar #23871

Closed
mtias opened this issue Jul 10, 2020 · 12 comments
Closed

Relocate template name setting into the main toolbar #23871

mtias opened this issue Jul 10, 2020 · 12 comments
Assignees
Labels
Needs Design Feedback Needs general design feedback.

Comments

@mtias
Copy link
Member

mtias commented Jul 10, 2020

The name for a template part should be included in the toolbar itself:

image

@MichaelArestad
Copy link
Contributor

@mtias Do you mean the block toolbar like this

image

Or the top toolbar like this:

image

I have been exploring the naming integration with the block toolbar as the reusable block UI feels pretty clunky. Something like this perhaps:

2020-07-27 10 16 47

@MichaelArestad MichaelArestad self-assigned this Jul 27, 2020
@mapk mapk added the Needs Design Feedback Needs general design feedback. label Jul 28, 2020
@mapk
Copy link
Contributor

mapk commented Jul 31, 2020

I like that, @MichaelArestad! What happens if I click to add a block without adding a name? Do I just see the "Untitled template part" in the toolbar? Or am I not allowed to add a block until I create the name?

@MichaelArestad
Copy link
Contributor

Do I just see the "Untitled template part" in the toolbar?

@mapk Exactly. You would just see something like "Untitled template part".

@noahtallen
Copy link
Member

How do we think this relates to #22064 and vice-versa? We have some designs with a div saying "changes apply everywhere the block is used", which seem like it could fit well with some of these looks

@noahtallen
Copy link
Member

Screen Shot 2020-08-07 at 4 17 13 PM

super simple implementation for renaming existing template parts. (doesn't show up until the template part has been created or chosen)

@MichaelArestad
Copy link
Contributor

@noahshrader Thanks for mocking that up. That's definitely a step in the right direction. I believe there is work being done on the link UI that uses a very similar type of form that we could perhaps use that could get us pretty close to what is in the mockup above.

As for @22064, it sounds like starting with a border and potentially snackbar will be a good starting point there which doesn't conflict with this design change.

@noahtallen
Copy link
Member

Thanks for the feedback! Do you think we should block #24450 for that change, or can we go ahead and merge this less polished version of the title-in-toolbar as an interim step?

@MichaelArestad
Copy link
Contributor

@noahtallen Definitely don't block it. Let's just follow up with the polished version when we can.

@noahtallen
Copy link
Member

Looking at the designs in this comment: #24990 (comment), is that the interaction we want with respect to renaming template parts? clicking "rename template part" in that screenshot would then do that sliding animation thing?

@MichaelArestad
Copy link
Contributor

@noahtallen I'm not sure just yet. @jameskoster did you want to chime in here?

@jameskoster
Copy link
Contributor

jameskoster commented Sep 9, 2020

My thoughts here are twofold:

  1. Renaming a template part doesn't feel like an action that will occur with enough regularity to warrant exposure in the "top level" of the toolbar
  2. There are several actions a user can take with regards to template part attributes - of which renaming is just one. I felt that it made sense to group those actions together

The second point feels particularly important to me. That said, where this menu appears isn't clear right now. It might be accessed via the block toolbar, but if we go ahead with #25085 then it might be accessed by clicking the template part name in the top bar instead. It may even be that the sidebar is the appropriate location for these items.

There is a discussion to be had around whether these actions should appear in multiple places, and if they do, should they be presented identically?

It's hard to know what happens when you click "rename template part" without answering those questions first. Indeed the question itself might be moot – if we go the top bar route then the name input might be revealed in the menu, as suggested here.

@mtias
Copy link
Member Author

mtias commented Mar 2, 2021

Closing as this is done.

@mtias mtias closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

No branches or pull requests

7 participants