Obsidian-Task-Progress-Bar icon indicating copy to clipboard operation
Obsidian-Task-Progress-Bar copied to clipboard

[FEAT] Have only some of notes show this progress bar

Open Quorafind opened this issue 2 years ago • 1 comments

Is it possible to toggle this on/off, or does it automatically apply to all notes?

I would love to be able to have only some of my notes show this progress bar (e.g. by using a CSS-class or something)

Originally posted by @blackpeasy in https://github.com/Quorafind/Obsidian-Task-Progress-Bar/issues/5#issuecomment-1153156673

Quorafind avatar Jul 03 '22 05:07 Quorafind

I am currently applying the following workaround:

  • additional plugins needed: Commander, Hotkeys for Specific Files, Plugin Group

Steps:

  • enable TPB, customize the settings and disable it again
  • create a new group in PG, only select TPB, let it create a command, and save the group
  • assign a command for the specific note in HSF
  • create a new "open note" macro in Commander: ( 1 ) add the enable PG for the group you created command ( 2 ) optional: add the open new tab command ( 3 ) add the HSF command for the specific note
  • create a new "close note" macro in Commander: ( 1 ) add the disable PG for the group you created command ( 2 ) optional: add the close current tab command

Works like a charm.

Having TPB respecting a frontmatter key [ progress-bar: true or false ] would make life easier.

StefanoRausch avatar Jan 18 '23 06:01 StefanoRausch