chrisgurney / obsidian-note-toolbar

Plugin for Obsidian providing a flexible way to context-aware toolbars for your notes.
https://github.com/chrisgurney/obsidian-note-toolbar/wiki
Apache License 2.0
152 stars 0 forks source link

Feature Request: Ability to Exclude Toolbar Display in Specific Notes via Property Tag #65

Closed fredjoe7 closed 3 weeks ago

fredjoe7 commented 3 weeks ago

i have the toolbar mapped to all the folders.

i want to just not show the toolbar in one particular note.

Is it possible to exclude showing the toolbar in particular notes only may be by adding a property in that note ?

chrisgurney commented 3 weeks ago

@fredjoe7 Yup! Just set the property to none in that note.

You need to be on version 1.6.2 or later.

Give it a go and let me know if it works for you.

fredjoe7 commented 3 weeks ago

thank you .. that works.

can the notetoolbar be made to autohide ?

chrisgurney commented 3 weeks ago

@fredjoe7

can the notetoolbar be made to autohide ?

Can you elaborate on what you specifically mean by this?

fredjoe7 commented 3 weeks ago

When the mouse cursor is not positioned over the note toolbar, or when the note toolbar focus command is not activated, it should be set to auto-hide to prevent obstructing the view of the note. This feature would be particularly beneficial for desktop users with smaller displays, optimizing their workspace. This will be good for desktop devices, not mobile devices.

I used an this plugin called editing toolbar and its autohide features were useful.

https://github.com/PKM-er/obsidian-editing-toolbar

chrisgurney commented 3 weeks ago

Thanks for the explanation and pointer to the plugin.

That may be something to consider, for sure.

In the meantime, I've added an option to the context menu (in the beta) that lets you toggle between the Top (fixed) and Below Properties positions, which can help to temporarily "hide" the toolbar if you're working in a long note (and are not using the "sticky" style).

chrisgurney commented 3 weeks ago

@fredjoe7 I'm closing this issue and have copied your suggestion about auto-hiding to this discussion:

https://github.com/chrisgurney/obsidian-note-toolbar/discussions/66

Thanks again for the suggestion!