Validate the Tags edit field when validating the entry
Checks
- [x] I have read the Wiki, searched the open issues, and still think this is a new bug.
Explain the problem clearly and succinctly:
I may not be seeing the answer to this question. If it's been answered, please say where.
I see that I can Tag entries in the database, but I do not see how to search for all entries having a particular Tag. Am I missing or misinterpreting the button for this? If it's not been implemented yet, that should be documented somewhere.
PS: how do you search all the Issues for any reference to Tag?
Describe what you expected to happen:
No response
KeePassDX version:
4.1.7
Build:
Free
Database version:
No response
File provider (content:// URI)
No response
Android version:
No response
Android device:
No response
Additional context:
No response
Same issue, I tried tagging some entries, but don't see a clear way to search for them, as they don't appear when using the search bar.
When you are on the search bar, simply display the advanced options using the icon on the right. If there is no TAG in the database, the chip will be grayed out. Otherwise, simply select it.
If there is no TAG in the database, the chip will be grayed out. Otherwise, simply select it.
It seems that tags actually don't get saved then. When I write a tag in the tag field, save, and then edit the same login again, the tag is not there, and the tag chip in advanced search is always grayed out.
I can arrange a video demo if you cannot reproduce this.
The Tags field is special and must be validated with a ',' or keyboard input.
The Tags field is special and must be validated with a ',' or keyboard input.
Oooh alright, yes I was missing the comma, thank you.
What do you think about adding a placeholder text in the tag field, saying something along the line of "Insert tag(s) separated by commas", or directly an example, like "tag1, tag2, ...", if possible?
The view system should be improved to validate the last content even if it has not been terminated by a comma. I am looking into how to do this as it depends on an external library.
When you are on the search bar, simply display the advanced options using the icon on the right. If there is no TAG in the database, the chip will be grayed out. Otherwise, simply select it.
I assume you mean the "List" button on the second line (which is kind of confusing because the Search button is on the first line). When I click on it, I see a Tags button that, when I click it, gets a checkmark. I assume you then turn off the other field buttons and then your search string will be just the tag to search for. Okay.
Is there a way to get a list of tags in the database?
The view system should be improved to validate the last content even if it has not been terminated by a comma. I am looking into how to do this as it depends on an external library.
I entered tags by typing TAG1 <Enter> TAG2 <Enter> ...
That seems to work.
Could we have a list of tags somewhere to just click on it to see the entries, like the groups list ? Maybe add them under the groups list (like KeePassXC on Desktop) or somewhere else ? Could be cool to have this instead searching for tags.
Yes, that's a good idea, but before redesigning the user interface, I'll add it to the search bar.
Yes, that's a good idea, but before redesigning the user interface, I'll add it to the search bar.
That's a good start! Many thanks.
For a future redesign, I see something like hashtags under the items / groups list. Only words or with a pill form.