Commit Graph

608 Commits

Author SHA1 Message Date
Travis Abendshien 3049afa43c refactor: rename select_item() to toggle_item_selection() 2025-01-11 04:38:39 -08:00
Travis Abendshien 114bc0437e fix: combine and check (most) built-in tag data from JSON
Known issue: Tag colors from built-in JSON tags are not updated. This can be seen in the failing test.
2025-01-11 03:25:33 -08:00
Travis Abendshien 5e1e4c57a7 add TODO comment for update_thumbs() optimization 2025-01-10 10:34:26 -08:00
Travis Abendshien 77d957fd33 fix: reference child_id instead of parent_id when deleting tags
Co-Authored-By: Jann Stute <46534683+Computerdores@users.noreply.github.com>
2025-01-10 10:25:21 -08:00
Travis Abendshien 17e0522e45 fix: use term "child tags" instead of "subtags" in docstring
Co-authored-by: Jann Stute <46534683+Computerdores@users.noreply.github.com>
2025-01-10 08:21:48 -08:00
Travis Abendshien 6d2c1ec7f5 fix: change typo of tag.id to tag_id
Co-authored-by: Jann Stute <46534683+Computerdores@users.noreply.github.com>
2025-01-10 08:21:10 -08:00
Travis Abendshien 389d0fb831 docs: update usage 2025-01-09 00:34:49 -08:00
Travis Abendshien c8bbfe5cb4 ui: optimize selection and badge updates 2025-01-08 10:14:38 -08:00
Travis Abendshien 5207f28e2b tests: remove tests related to TagBoxWidget 2025-01-07 08:26:11 -08:00
Travis Abendshien 7e1978d8e3 chore: remove unused code 2025-01-07 08:21:12 -08:00
Travis Abendshien c2ab38cbf6 logs: remove/update debug logs 2025-01-07 07:43:02 -08:00
Travis Abendshien 1fc584d750 fix: restore json migration functionality 2025-01-07 07:35:55 -08:00
Travis Abendshien 9706483432 docs: update roadmap and docs for tag categories 2025-01-07 06:27:28 -08:00
Travis Abendshien 031229132f refactor(ui): move recent libraries list to file menu 2025-01-07 04:33:30 -08:00
Travis Abendshien ec80f24b8d tests: add tag category tests 2025-01-07 01:51:51 -08:00
Travis Abendshien 91ae1d98a5 tests: add field container tests 2025-01-07 00:06:02 -08:00
Travis Abendshien be3d237bdf suppress db preference warnings 2025-01-07 00:04:16 -08:00
Travis Abendshien 70c7f4f660 tests: fix and/or remove tests 2025-01-06 11:18:36 -08:00
Travis Abendshien c1cea16451 fix: catch and show library load errors 2025-01-06 11:18:36 -08:00
Travis Abendshien 6461eebb48 refactor!: eradicate use of the term "subtag"
- Removes ambiguity between the use of the term "parent tag" and "subtag"
- Fixes inconstancies between the use of the term "subtag" to refer to either parent tags or child tags
- Fixes duplicate and ambiguous subtags mapped relationship for the Tag model
- Does NOT fix tests
2025-01-06 11:18:36 -08:00
Travis Abendshien af511d8986 ui: add field highlighting, tweak theming 2025-01-06 11:18:36 -08:00
Travis Abendshien 369d2dc388 fix: return empty set in place of None 2025-01-06 11:18:36 -08:00
Travis Abendshien ab937052d6 fix: resolve differences with main 2025-01-06 11:18:36 -08:00
Travis Abendshien 11fcea1087 fix: badges now update when last tag is removed 2025-01-06 11:18:36 -08:00
Travis Abendshien f72ef71630 fix: include category tags under their own categories 2025-01-06 11:18:35 -08:00
Travis Abendshien 7d2dadb448 refactor: remove is_connected from AddFieldModal 2025-01-06 11:18:35 -08:00
Travis Abendshien 8084e885c1 fix: load fields for selected entry 2025-01-06 11:18:35 -08:00
Travis Abendshien d37e461f02 chore: remove unused code 2025-01-06 11:18:35 -08:00
Travis Abendshien b0324cddff chore: update copyright info 2025-01-06 11:18:35 -08:00
Travis Abendshien 5ef1eeb829 fix: recursively include parent tag categories 2025-01-06 11:18:35 -08:00
Travis Abendshien 50815aa1b4 fix: tags no longer lazy load subtags and aliases 2025-01-06 11:18:35 -08:00
Travis Abendshien 1755cb9771 fix: correct type hints for get_tag_categories 2025-01-06 11:18:35 -08:00
Travis Abendshien 7bb4cb129c fix: restore try/except block in preview_panel 2025-01-06 11:18:35 -08:00
Travis Abendshien 741c2829ff fix: remove unnecessary update calls 2025-01-06 11:18:35 -08:00
Travis Abendshien 45d502f4c0 fix: catch int cast exception 2025-01-06 11:18:35 -08:00
Travis Abendshien d016eefe24 fix: optimize queries 2025-01-06 11:18:35 -08:00
Travis Abendshien b867bc26e9 fix(ui): properly unset container callbacks 2025-01-06 11:18:35 -08:00
Travis Abendshien 73bfda7ea8 cleanup comments; rename tsp to tag_search_panel 2025-01-06 11:18:35 -08:00
Travis Abendshien ff04802f12 ui: display empty selection; better multi-selection 2025-01-06 11:18:35 -08:00
Travis Abendshien 2c91cf62ec ui: add blue ui color 2025-01-06 11:18:35 -08:00
Travis Abendshien 0e7f75ec29 ui: hide sizeGrip 2025-01-06 11:18:35 -08:00
Travis Abendshien feda1509f9 fix: badges now properly update 2025-01-06 11:18:35 -08:00
Travis Abendshien 56a80ff13c fix: don't add tags to previous selections 2025-01-06 11:18:35 -08:00
Travis Abendshien b03211e7e7 fix: tags can be compared for name sorting 2025-01-06 11:18:35 -08:00
Travis Abendshien 2d7e89d19d ui: add "is category" checkbox in tag panel 2025-01-06 11:18:35 -08:00
Travis Abendshien c320af247b feat: add tag categories to preview panel 2025-01-06 11:18:35 -08:00
Travis Abendshien b79c59dae5 refactor: use entry IDs instead of objects and indices
- fixes preview panel not updating after entry edits
- fixes slow selection performance
- fixes double render call
2025-01-06 11:18:35 -08:00
Travis Abendshien a306d68f10 add success return flag to add_tags_to_entry() 2025-01-06 11:18:35 -08:00
Travis Abendshien 82e06ecc2b fix: remove extra self.filter assignment 2025-01-06 11:18:35 -08:00
Travis Abendshien f58332eddc search: remove TagEntry join 2025-01-06 11:18:35 -08:00