Skip to content

make the menu toolbar icons configurable #7710

Open
@williamstein

Description

@williamstein

Frequently I want to be able to drag around the icons in the toolbar for an editor. These are the buttons corresponding to a subset of menu options. E.g,. there's key buttons I very frequently click, e.g., "Close and halt notebook" and want that first.

It would also be nice to be able to set a color, and even customize the description text.

I had planned to implement all of this last year and didn't get to it. I find myself wanting it frequently and also feeling I would be more efficient with this functionality.

What would the UI be like? Here's my toolbar for Jupyter right now:

image

Imagine adding a "..." that is floated to the right of the toolbar. When you click it, it has:

  • all the menu items represented in the toolbar but fully spelled out and selectable. Thus this is your "favorites menu", which is itself a nice thing to have.
  • in this favorites menu, there is a drag handle to the left of each menu item, which can be used to reorder the items. This ordering then applies to the toolbar buttons.
  • next to the drag handle, there is also a settings gear, which when clicked shows a modal with a color and title selector, which lets you change the color and title of a button.

That's a ton of work, but would be very useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-menusP-hitlistissue that just keeps getting hit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions