Commit Graph

453 Commits

Author SHA1 Message Date
Travis Abendshien
9f688cd387 fix(ui) color for default icons follow theme 2024-08-23 13:09:14 -07:00
Travis Abendshien
148f792c34 refactor(ui): move loading icon to ResourceManager 2024-08-21 14:47:26 -07:00
Travis Abendshien
ccf3d788d0 chore: remove unused code 2024-08-21 13:15:55 -07:00
Travis Abendshien
a658fc4fe4 feat(ui): apply edge to default icon thumbs 2024-08-21 13:00:41 -07:00
Travis Abendshien
81dfb50b8f feat(ui): add default icons for audio+vector thumbs 2024-08-21 12:28:28 -07:00
Travis Abendshien
387baae6d6 Merge branch 'Alpha-v9.4' into thumbnails 2024-08-21 00:48:50 -07:00
Travis Abendshien
938832505b Merge branch 'main' into Alpha-v9.4 2024-08-21 00:41:10 -07:00
Travis Abendshien
e4f7055ca7 fix(ui): thumb edges fading on refresh 2024-08-21 00:37:50 -07:00
Travis Abendshien
f91861d2fe fix: handle missing files in resource_manager 2024-08-20 23:44:39 -07:00
Travis Abendshien
a244098f8e refactor: remove edge from four_corner_gradient() 2024-08-20 23:44:03 -07:00
Travis Abendshien
c070f84e7f fix: remove leading dot in preview panel ext 2024-08-20 23:38:10 -07:00
Travis Abendshien
447b5e6894 feat(ui): add more default media types and icons
Add additional default icons for:
- Blender
- Presentation
- Program
- Spreadsheet
Add/expand additional media types:
- PDF
- Packages
2024-08-20 23:37:19 -07:00
Travis Abendshien
b107fb5809 refactor: move type constants to new media classes (#331)
* refactor: move type constants to new media classes

* fix: add missing comma + sort extensions
2024-08-20 23:31:31 -07:00
Travis Abendshien
ec960f2372 (fix): use .get() to avoid KeyError (#347) 2024-08-11 19:01:08 -07:00
Sam
30b60a0d31 feat(ui): sort tags in add tag panel by color/alphabetical (close #327) (#329)
* Implement #327

Sort tags in the Library Tags panel and the Add Parent Tags panel with Archived and Favorite at the top, then sort by color, and then sort alphabetically.

* Sort tags alphabetically when a search is performed

* Format with Ruff

* Prioritize tags whose names match the query over tags that match the query in other ways
2024-07-29 16:56:14 -07:00
Travis Abendshien
6883f9ef6d feat(ui): add media types and icon resources 2024-07-25 16:00:33 -07:00
Travis Abendshien
8d2e67ddad Squashed commit of the following:
commit 9a3c19d398
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Wed Jul 24 22:57:32 2024 -0700

    fix: add missing comma + sort extensions

commit 53b2db9b5f
Author: Travis Abendshien <lvnvtravis@gmail.com>
Date:   Wed Jul 24 14:46:16 2024 -0700

    refactor: move type constants to new media classes
2024-07-25 12:13:59 -07:00
Travis Abendshien
ad12d64f1e (fix): catch ffmpeg errors in file tester 2024-07-25 11:54:44 -07:00
Travis Abendshien
c6a5202c91 fix(ui): hide previous thumbnail before resizing 2024-07-22 07:33:49 -07:00
Sam
ce87b11fbd Fix #2 for Add Library Tags panel (#328)
The "Add Tags" panel displays all tags when no search has been performed. Modifies the "Add Library Tags panel" to be the same.
2024-07-22 06:59:43 -07:00
Travis Abendshien
39324142f1 feat(ui): add dynamic file thumb icons 2024-07-21 08:40:19 -07:00
Travis Abendshien
196c1ba7f3 fix(ui): hide gif preview in multi-selections 2024-07-20 12:53:34 -07:00
Travis Abendshien
91ee2428ca feat(ui): use system accent color for thumb selections 2024-07-20 09:48:59 -07:00
Travis Abendshien
ad53f10ecc fix: missing audio files properly handled 2024-07-20 08:24:26 -07:00
Travis Abendshien
ef8cc6cc85 fix: mkv files with "[0][0][0][0]" codec load properly 2024-07-20 08:21:09 -07:00
Travis Abendshien
086fc1e522 feat(ui): add resizable thumbnail options 2024-07-19 23:43:50 -07:00
Travis Abendshien
3bfeb3c409 fix(ui): blender previews follow app theme 2024-07-19 21:04:49 -07:00
Travis Abendshien
ffdfd6ccdf fix(ui): large font previews follow app theme 2024-07-19 20:25:14 -07:00
Travis Abendshien
598aa4f102 feat(ui) center and color small font previews 2024-07-19 10:06:34 -07:00
Travis Abendshien
c0e56dc7c8 feat(ui): add UI color palette dict 2024-07-19 10:04:48 -07:00
Travis Abendshien
c582f3d370 ruff format 2024-07-19 08:02:30 -07:00
Travis Abendshien
05a486048c Match additional UI to color scheme 2024-07-19 07:58:52 -07:00
Travis Abendshien
d2b5e31792 Fix most theme UI legibility issues 2024-07-19 07:58:26 -07:00
Travis Abendshien
15297140c3 Fix ItemThumb label text color in light mode 2024-07-19 07:55:40 -07:00
Travis Abendshien
3e00a771db Tweak waveform color and size 2024-07-19 07:55:39 -07:00
Travis Abendshien
32257f662f Add final return statement to _audio_waveform() 2024-07-19 07:55:39 -07:00
Travis Abendshien
127fed7aa9 Add final return statement to _album_artwork() 2024-07-19 07:55:39 -07:00
Travis Abendshien
cee42545f7 Improve and style waveform previews 2024-07-19 07:55:38 -07:00
Travis Abendshien
087176edae Add ".psd" to IMAGE_TYPES; Handle ID3NoHeaderError 2024-07-19 07:55:38 -07:00
Travis Abendshien
10d81b3fa1 Add readable video tester 2024-07-19 07:55:38 -07:00
Travis Abendshien
dc135f7b0e Add ".plist" to PLAINTEXT_TYPES 2024-07-19 07:47:55 -07:00
Travis Abendshien
d339f868a9 Add rough check for invalid video codecs 2024-07-19 07:47:54 -07:00
Travis Abendshien
3144440365 Add GIF preview support 2024-07-19 07:42:48 -07:00
Travis Abendshien
c1cd96f507 Add # type: ignore to fromstring method 2024-07-19 07:39:48 -07:00
Travis Abendshien
ff17b93119 Rename "audio_tags" variables for MyPy + typing 2024-07-19 07:39:48 -07:00
Travis Abendshien
6b892ce2bb Rename "cover" variables for MyPy 2024-07-19 07:39:48 -07:00
Travis Abendshien
7ce35192b5 Add support for waveform + album cover thumbnails 2024-07-19 07:39:48 -07:00
Travis Abendshien
3c27b37b56 Use chardet for character encoding detection 2024-07-19 07:39:47 -07:00
Travis Abendshien
34f347bf55 Fix text and RAW image handling
- Fix RAW images not being loaded correctly in the preview panel
- Fix trying to read size data from null images
- Refactor `os.stat` to `<Path object>.stat()`
- Remove unnecessary upper/lower conversions
- Improve encoding compatibility beyond UTF-8 when reading text files
- Code cleanup
2024-07-19 07:39:01 -07:00
Theasacraft
e463635cc0 Add font thumbnail preview support (#307)
* Add font thumbnail preview support

* Add multiple font sizes to thumbnail

* Ruff reformat

* Ruff reformat

* Added Metadata to info

* Change the way thumbnails are structured

* Small performance improvement

* changed Metadata display structure

* added copyright notice to added file

* fix(ui): dynamically scale font previews; add .woff2, .ttc

---------

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2024-07-19 07:22:15 -07:00