Skip to content

Add a "Show/Hide Notes Panel" command #73812

Open

Description

@juanmaguitar

What problem does this address?

When there are notes in a post, users cannot quickly toggle the Notes sidebar using the keyboard. They must use mouse interactions or navigate through menus, which interrupts keyboard-focused workflows when frequently switching between notes and main content.

What is your proposed solution?

Add a "Show/Hide Notes Panel" command to the command palette (Ctrl/Cmd + K). Typing "Notes" would display a toggle command that shows/hides the Notes sidebar instantly, maintaining keyboard focus and workflow continuity.

I have created a prototype here that I'd be happy to convert into a PR.


Related: Notes feature in WordPress 6.9

Activity

  1. changed the title [-]Add a "Show/Hide Notes Pannel" command[/-] [+]Add a "Show/Hide Notes Panel" command[/+] on Dec 8, 2025
  2. added
    [Feature] NotesPhase 3 of the Gutenberg roadmap around block commenting
    on Dec 8, 2025
  3. Mamaduka commented on Dec 8, 2025

    @Mamaduka
    Member

    Interesting idea. I think we've a couple of similar proposals, like adding a shortcut for creating new notes.

    Internally, the notes feature uses two sidebars (Floating and All Notes). At the moment, both have some restrictions when displayed. The commands probably should keep these restrictions in mind.

  4. juanmaguitar commented on Dec 8, 2025

    @juanmaguitar
    ContributorAuthor

    Internally, the notes feature uses two sidebars (Floating and All Notes). At the moment, both have some restrictions when displayed.

    Thanks for this info @Mamaduka. I think my prototype only works for the "All Notes" sidebar.

    The commands probably should keep these restrictions in mind.

    Yes, I agree

    like adding a shortcut for creating new notes.

    A shortcut for creating a new note on the current block would be a great addition.

  5. Mamaduka commented on Dec 8, 2025

    @Mamaduka
    Member

    I think my prototype only works for the "All Notes" sidebar.

    I'm getting 404 when trying to access the link. It seems to be a private repo.

  6. juanmaguitar commented on Dec 8, 2025

    @juanmaguitar
    ContributorAuthor

    It seems to be a private repo.

    Yes it was. Sorry about that. It's public now.

  7. jeffpaul commented on Dec 10, 2025

    @jeffpaul
    Member

    Related #72718.

  8. adamsilverstein commented on Jan 29, 2026

    @adamsilverstein
    Member

    @juanmaguitar - love this idea, thanks! Are you able to work on a PR to bring your plugin code directly into Gutenberg? Myself and other contributors are happy to support with core reviews or any questions you have about the approach.

  9. t-hamano commented on Feb 7, 2026

    @t-hamano
    Contributor

    There are probably two interpretations of this task.

    1. Literally, toggle the sidebar. This means switching between showing floating notes and all notes.
    2. Visually toggle notes, i.e. even floating notes can be hidden. Perhaps this is related to this PR: Editor: Add compact notes mode for Notes sidebar #74985
  10. sarthaknagoshe2002 commented on May 29, 2026

    @sarthaknagoshe2002
    Contributor

    I’ve been working on a core implementation for this command palette feature based on the discussion above. While putting the dynamic loader together, an enhancements came up. To truly solve the problem of mouse-free workflow interruptions, we should pair this palette registry with an actual global keyboard shortcut. For example, since the standard sidebar uses Cmd + Shift + , (Mac) / Ctrl + Shift + , (Windows), we could introduce a neighbouring shortcut for the Notes panel (e.g., Cmd + Shift + . or similar depending on shortcut collisions) to toggle the panel.

    Would love to hear thoughts on baking the keyboard shortcut into this scope!

  11. moved this to 📋 Iteration/Tracking Issues in WordPress 7.1 Editor Taskson Jul 8, 2026
  12. moved this from 📋 Iteration/Tracking Issues to 🏗️ In Progress in WordPress 7.1 Editor Taskson Jul 8, 2026
  13. adamsilverstein commented on Jul 9, 2026

    @adamsilverstein
    Member

    Punting this for now until we can land #79864 and match the dropdown actions with commands.

  14. moved this from 🏗️ In Progress to 🦵 Punted to 7.2 in WordPress 7.1 Editor Taskson Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions