Commit Graph

426 Commits

Author SHA1 Message Date
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
Travis Abendshien
3123dffd37 ui: show fields in preview panel
known issues:
- fields to not visually update after being edited until the entries are reloaded from the thumbnail grid (yes, the thumbnail grid)
- add field button currently non-functional
- surprise segfaults
2025-01-06 11:18:35 -08:00
Travis Abendshien
eba5583392 refactor: modularize file_attributes.py 2025-01-06 11:18:35 -08:00
Travis Abendshien
3d7e0cb1bf refactor: reimplement file previews 2025-01-06 11:18:35 -08:00
Travis Abendshien
d16dd57e8a fix: move theme check inside class 2025-01-06 11:18:35 -08:00
Jann Stute
3dd740fb0b fix: search now uses TagEntry (#656) 2025-01-06 11:18:35 -08:00
Travis Abendshien
d17e279aff refactor: split up preview_panel 2025-01-06 11:18:35 -08:00
Travis Abendshien
f431cf7a6b ci: fix mypy and ruff tests 2025-01-06 11:18:35 -08:00
Travis Abendshien
ab59fc4a50 refactor: remove tag field types 2025-01-06 11:18:35 -08:00
python357-1
260a4cf12e refactor: remove TagBoxField and TagField (NOT WORKING) 2025-01-06 11:18:35 -08:00
Travis Abendshien
29c0dfdb2d feat(ui): use tag query as default new tag name 2025-01-05 23:40:41 -08:00
Travis Abendshien
bf03e28fdb ui: update macOS icon 2025-01-05 22:49:58 -08:00
Travis Abendshien
0b6b07d0b4 fix(ui): don't create new QFonts in main_window.py
This fix uses stylesheets instead of initializing new QFonts in the Ui_MainWindow class. This fixes the fonts appearing differently on different OSes, including a fix for text using these QFonts appearing small on macOS. The use of stylesheets also puts the styling in line with how the rest of the program operates.
2025-01-05 21:02:36 -08:00
Travis Abendshien
af760ee61a ui: port splash screen from Alpha-v9.4
Reimplements:
- 7f3b3d06af
- 1e4883c577
- 1c53f05e4f
2025-01-05 19:40:37 -08:00
SkeleyM
c5c86747fe fix: only close add tag menu with no search (#685) 2025-01-05 16:34:55 -08:00
SkeleyM
ef042ef070 fix: call filepaths instead of using start (#667) 2025-01-03 00:37:18 -08:00
Jann Stute
7b672e03a1 feat: implement parent tag search (#673)
* feat: implement parent tag search

* feat: add tests for parent tag search

* fix: typo

* feat: log the time it takes to build the SQL Expression

* feat: instead of hardcoding child tag ids into main query, include subquery

* Revert "feat: instead of hardcoding child tag ids into main query, include subquery"

This reverts commit 2615e7dab4.
2025-01-01 02:36:11 -08:00