Add option to hide all tags [done] and specific tags [not yet done] #848
Replies: 15 comments 8 replies
-
Hi @mariuskimmina, thanks for the question. Sorry, I'm not aware of a way of doing this. |
Beta Was this translation helpful? Give feedback.
-
I’d love this option ❤️ |
Beta Was this translation helpful? Give feedback.
-
I need this too |
Beta Was this translation helpful? Give feedback.
-
Fixing this depends on #929 being fixed, so that the display code will have a reliable list of the tags in the task, and not accidentally break the display of text which wasn't a tag, but Tasks thought it was. |
Beta Was this translation helpful? Give feedback.
-
Another request: #1203 - which has some useful suggestions for the instructions and behaviour. |
Beta Was this translation helpful? Give feedback.
-
Another request: #1397 |
Beta Was this translation helpful? Give feedback.
-
This is partially fixed in release 4.1.0. There are now instructions It's not yet possible to show and hide specific tags yet. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update @claremacrae 💪 |
Beta Was this translation helpful? Give feedback.
-
Seems that explain does not mention tags being hidden. Might be useful. |
Beta Was this translation helpful? Give feedback.
-
individual tag can be hidden with a snippet a.tag[data-tag-name="#quick"] { |
Beta Was this translation helpful? Give feedback.
-
See also #2305 |
Beta Was this translation helpful? Give feedback.
-
I would use this to hide the included tags in a query, especially where the context (callout, section headings) already makes it clear, for example: Heading: Morning, query: "#morning". The morning tag adds nothing but visual clutter, but there could be a tag like "medical" or "financial" that is informative. |
Beta Was this translation helpful? Give feedback.
-
For interest tracking purposes, it seems like this discussion may be incorrectly conflating hiding all tags and hiding specific tags--I appreciate that hiding all tags has been implemented but I'd still definitely like to see the ability to filter out specific tags. Consider a query such as
The last line |
Beta Was this translation helpful? Give feedback.
-
It's a pain, but it appears for now if you use dataview query, you can replace inline specific tags with empty string.... Speaking of group by, it would be great to be also able to specify root tag for group by....so the grouping would not occur on unwanted tags. |
Beta Was this translation helpful? Give feedback.
-
Where this request sits in the long list of things to doAs a purely cosmetic feature, this is unlikely to be implemented in the foreseeable future - I don't need any more messages telling me it is important to some people, it is just competing against a long list of much more valuable, large amounts of work in the Roadmap. How to do this for yourself, using CSS snippets....There is a very easy workaround that you can implement in your own vault, using existing Obsidian facilities. I will describe the steps I took, so that anyone here can copy them and use them in their own vault. Setup
.hide-tag-health .block-language-tasks a.tag[data-tag-name="#health"] {
display: none;
}
.hide-tag-wealth .block-language-tasks a.tag[data-tag-name="#wealth"] {
display: none;
}
The snippets are not active yet, so all the tags are still visible: Usage
Which adds 4 lines to the start of the file:
The Using this yourselfYou can take that CSS file and change the tag names to fit your use. And the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Referring to: https://obsidian-tasks-group.github.io/obsidian-tasks/queries/layout/
I would like an option to hide tags. I use a filter like this
So I know that all task in this list have the tag
ba
and I would like to hide that, which currently doesn't seem to be an option - or am I missing something?Beta Was this translation helpful? Give feedback.
All reactions