Page 1 of 1

[Search] Highlight search result notes tags aswell

Posted: Sun Jun 30, 2019 10:18 am
by clabr
I see that right now when I select a tag (or multiple tags ) related tags from the respective notes that have that/those tag(s) assigned, get highlighted in blue. This Is very useful by the way (also, selecting multiple tags with keyboard Ctrl, Shif (intersection, uninon, boolean is applied to them))

This feature would be even better if
when I select the default tag "All" (notes) and search for word(s)
have the related tags from the search result notes highlighted (in blue)
and the same if I select a tag (or multiple tags) and search for words in the notes from those tags , have related tags from search result highlighted (in blue or other color)

Thank you.
Keep up the good work.

I am using Windows 10, Cintanotes v3.13

Re: [Search] Highlight search result notes tags aswell

Posted: Mon Jul 01, 2019 5:31 pm
by CintaNotes Developer
Okay.. so do I understand correctly: you suggest to change the definition of "related" to mean "tags that currently visible notes have", instead of "tags that notes of the active tag selection have"?

Re: [Search] Highlight search result notes tags aswell

Posted: Mon Jul 01, 2019 9:58 pm
by clabr
No, not exactly. But you got my point and summarized it well.
Don't change the definition of Related Tags. It is ok and really useful how it is now.

But maybe it could be done as an addition, as a new Tag Filter. Named "Only Search Results Tags" for example.
and highlight the tags only from notes that are displayed (from a current search).
being that I select the default "All" tag, or other custom tag.

Re: [Search] Highlight search result notes tags aswell

Posted: Tue Jul 02, 2019 4:30 am
by CintaNotes Developer
But the Tag Filter doesn't match well with tag highlighting. If we made such Tag Filter, then tags from notes that are currently not in the list, would not be displayed at all. That's why it's called "filter". If we then highlighted the tags blue, we'd have to highlight all the remaining tags in the tag sidebar.

Re: [Search] Highlight search result notes tags aswell

Posted: Thu Jul 04, 2019 7:17 am
by clabr
I don't quite understand you explanation of why it is not possible.
You might not have properly understood my request, I guess.
Maybe an example would give more sense to it.

My notes are organized like a diary , with a new child tag (YearMM/YYYYMMDD) created for every day.
When I start searching for some common words it would be really useful to see when (in what particular day) those words were used.
And this is possible if search results note tags get highlighted in different color , or filtered.
(I know I could create rules for auto tags but I don't want to clutter the tag system and add tags for those common words)

This is the situation for my notes, but I think any type of notes would benefit from having something change in the way tags related to the search results are displayed (tags highlighted in different color, tags removed)

From what I can see, right now CintaNotes works like this:
when there is no custom tag selected (manually created by user I mean), there are no tags highlighted (in blue) in the tag sidebar.
when you select a custom tag, related tags get highlighted in blue (whether any of the two existing tag filters are enabled or not)
when you have "Only Used Tags" filter enabled, tags with 0 notes are not displayed,and related tags are still in blue.
when you have "Only Related Tags" enabled, only related tags are displayed, and all tags are highlighted in blue.

with a custom tag selected and a new filter like "Only Search Result Related Tags" would just narrow down the related tags from the sidebar even more, to just the tags that are related to the custom tag and have the search word(s) contained in it.

Or maybe there could be another implementation, not a filter, just a different highlight color in the sidebar for the search result related tags.

I am not asking to implement this feature for me nor how to do it.
But maybe it is something you haven't yet thought of and find useful.
I am just saying...

Thank you.

Re: [Search] Highlight search result notes tags aswell

Posted: Fri Jul 05, 2019 3:48 pm
by CintaNotes Developer
Thank you for an example!
"get highlighted in different color , or filtered." - here, the word "or" was crucial for understanding.