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
python357-1
5a0ba54454
fix: strip whitespace around --open/-o flag ( #670 )
...
* fix: fix -o flag not working if path has whitespace around it
* fix: change strip to lstrip/rstrip
* fix: manually expand "~"
2025-01-01 02:35:35 -08:00
Nginearing
d948c0ce4c
docs: update readme ( #676 )
2025-01-01 02:34:18 -08:00
Travis Abendshien
d5cebf39d4
fix: add missing pillow_jxl import
...
This import was accidentally removed in #569 . This commit restores the import.
2024-12-30 20:50:57 -08:00
Weblate (bot)
584f3aa358
translations: remove library.refresh.scanning key ( #675 )
...
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
* Update translation files
Updated by "Cleanup translation files" add-on in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/
Translation: TagStudio/Strings
2024-12-30 19:18:23 -08:00
Weblate (bot)
1a317a1826
translations: update Hungarian, Polish, French, Chinese (Traditional Han script), Toki Pona ( #663 )
...
* Translated using Weblate (Hungarian)
Currently translated at 100.0% (130 of 130 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/hu/
Translation: TagStudio/Strings
* Translated using Weblate (Polish)
Currently translated at 100.0% (130 of 130 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (130 of 130 strings)
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: qronikarz <qronikarz@users.noreply.hosted.weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/pl/
Translation: TagStudio/Strings
* Translated using Weblate (French)
Currently translated at 100.0% (130 of 130 strings)
Co-authored-by: Bamowen <mathieu.monsauret@gmail.com >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/fr/
Translation: TagStudio/Strings
* Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 90.0% (117 of 130 strings)
Added translation using Weblate (Chinese (Traditional Han script))
Co-authored-by: Brian Su <brisu@me.com >
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/zh_Hant/
Translation: TagStudio/Strings
* Translated using Weblate (Toki Pona)
Currently translated at 96.1% (125 of 130 strings)
Co-authored-by: Hosted Weblate <hosted@weblate.org >
Co-authored-by: gold <goldstargloww@gmail.com >
Translate-URL: https://hosted.weblate.org/projects/tagstudio/strings/tok/
Translation: TagStudio/Strings
---------
Co-authored-by: Szíjártó Levente Pál <szijartoleventepal@gmail.com >
Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com >
Co-authored-by: qronikarz <qronikarz@users.noreply.hosted.weblate.org >
Co-authored-by: Bamowen <mathieu.monsauret@gmail.com >
Co-authored-by: Brian Su <brisu@me.com >
Co-authored-by: gold <goldstargloww@gmail.com >
2024-12-30 19:16:46 -08:00
Jann Stute
69aed92f24
feat: translations ( #662 )
...
* feat: implement Translator class
* feat: add translate_with_setter and implement formatting of translations
* feat: extend PanelModal to allow for translation
* feat: extend ProgressWidget to allow for translation
* feat: translation in ts_qt.py
* debug: set default lang to DE and show "Not Translated" when replacing untranslated stuff
* add translation todos
* feat: translate modals
* feat: translate more stuff
* fix: UI test wasn't comparing to translated strings
* feat: translations for most of the remaining stuff
* fix: replace debug changes with simpler one
* uncomment debug change
* fix: missing parameter in call
* fix: various review feedback
* fix: don't translate json migration discrepancies list
* fix: typo
* fix: various PR feedback
* fix: correctly read non-ascii characters
* fix: add missing new line at eof
* fix: comment out line of debug code
* fix: address latest review comment
* fix: KeyError that occurred when formatting translations
* fix: regression of d594e84
* fix: add newline to en.json
* fix: organize en.json, fix typo
---------
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com >
2024-12-30 19:15:39 -08:00