-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Tags / Saved Searches #8435
Conversation
note: looks like I need to fix the entry count display on unlock again... |
7d5af6c
to
8e02451
Compare
There are a few other bits in #7791 that are related to this. Though some of it can wait for a separate PR, I guess. |
m_presetTags << qMakePair(QString(""), tr("Reset View")) << qMakePair(QString("*"), tr("All Entries")) Hmm.. "Reset Search" somewhat makes sense here, but how about "All (global)" and "All (current view)"? |
"Clear Search" would make sense as well. I will untag the expired entry view issue since it's a multiparter |
8e02451
to
212492f
Compare
@michaelk83 I went a little crazy and added a bunch of fun stuff, check it out again |
ec8cb13
to
4ba7092
Compare
4ba7092
to
b2c0fb5
Compare
(sorry for the delay) I don't see the "Expiring in 3 days" and "Multiple tags" in the code. Are those just searches you've saved manually? The other 4 are enough by default, I think. "Expiring in 3 days" and "Expired" will end up the same thing once #7791 is done. The rest LGTM, though I haven't looked at the code much. I like the new "Searches and Tags" header and the little save button. Will need to update the docs for the new features. |
Yes, expiring in 3 days is a saved search |
7be7d9b
to
55da7d0
Compare
* Rename "Database Tags" to "Searches and Tags" * Separate searching for all entries and resetting the search * Support selecting multiple tags to search against * Fix using escaped quotes in search terms * Make tag searching more precise * Support `is:expired-#` to search for entries expiring within # days. Exclude recycled entries from expired search. * Don't list tags from entries that are recycled * Force hide tag auto-completion menu when tag editing widget is hidden. On rare occasions the focus out signal is not called when the tag view is hidden (entry edit is closed), this resolves that problem. * Remove spaces from before and after tags to prevent seemingly duplicate tags from being created. * Also fix some awkward signal/slot dances that were setup over time with the entry view and preview widget. Allow changing tags for multiple entries through context menu * Closes #8277 - show context menu with currently available tags in database and checks those that are set on one or more selected entries. When a tag is selected it is either set or unset on all entries depending on its checked state. * Add ability to save searches and recall them from the "Searches and Tags" view * Add ability to remove a tag from all entries from the "Searches and Tags" view * Cleanup tag handling and widgets
* Fix #8036 - use search interface to display expiring entries on first unlock.
55da7d0
to
ff8b0dd
Compare
Moved my comment to #3963 (comment) |
Enhance Tags UX
is:expired-#
to search for entries expiring within # days. Exclude recycled entries from expired search.Add search saving and recall
Allow changing tags for multiple entries through context menu
Other Improvements
Screenshots
Save Searches!
Remove Searches and Tags!
New icons!
Testing strategy
Type of change