Commit Graph

123 Commits (0d240b1a8fdb5e6950657e0fd2af9071d45076ae)

Author SHA1 Message Date
awsr 915bcab3c2
Fix incorrect data handling
Partial reversion of commit c07eddb58d
2026-02-03 13:35:50 -08:00
Vladimir Mandic e03ce70082
Merge pull request #4611 from awsr/custom-element-refactor
Gallery custom elements update
2026-02-01 07:59:39 +01:00
awsr a3ad11ef93
Reorganize functions 2026-01-31 22:01:11 -08:00
Vladimir Mandic 504e0cbbdd
Merge pull request #4610 from awsr/gallery-folder-updates
Simplify gallery folder updating
2026-01-31 08:08:35 +01:00
Vladimir Mandic ee8bd982e5
Merge pull request #4609 from awsr/awsr-patch-2
Fix modern gallery hover CSS
2026-01-31 08:07:33 +01:00
awsr d2f0ca39de
Update custom elements
- Update known element when setting selected folder.
- Prevent re-trigger of `connectedCallback` when node is just being moved.
2026-01-30 22:53:15 -08:00
awsr 695e949627
Move content clear to avoid layout flash 2026-01-30 22:20:50 -08:00
awsr b4919f9960
Simplify folder updating 2026-01-30 17:42:31 -08:00
awsr c0b5858697
Revert one property that didn't need to be redeclared 2026-01-30 16:26:43 -08:00
awsr 682bbc3ccf
Fix gallery hover CSS 2026-01-30 16:18:58 -08:00
awsr 9caab3d6cd
Move manual folder cleanup function to inline
This keeps everything within the `addCacheClearLabel` function.
2026-01-30 14:03:25 -08:00
awsr c3e915badd
Fix folder cleanup 2026-01-30 13:27:23 -08:00
awsr a74b1f53a9
Fix standalone AbortSignal 2026-01-29 02:19:27 -08:00
awsr 9e9e1e2236
Minor updates
- Update post-cleanup behavior for `thumbCacheCleanup`
- Add timing info to `clearCacheIfDisabled` log
- Improve visibility of cleanup message during cache clear
2026-01-28 20:51:58 -08:00
awsr 2925577ec2
Ensure message clear function always runs 2026-01-28 20:43:00 -08:00
awsr c25b7ac58f
Clear cache when it is disabled 2026-01-28 20:37:14 -08:00
awsr fa0670fcd9
Block maintenanceQueue until cache is ready 2026-01-28 20:34:09 -08:00
awsr 9c1f317980
Rename `"abortHandler" to "abortLogger" 2026-01-28 13:32:37 -08:00
awsr 3ca4ebf2d0
Minor updates 2026-01-27 13:51:47 -08:00
awsr ef416f9628
Move gallery reset steps into their own function 2026-01-27 13:32:06 -08:00
awsr b0cd31a0cb
Formatting and names 2026-01-27 13:29:48 -08:00
awsr 22240b93b5
Abort handling helper in SimpleFunctionQueue 2026-01-27 13:26:14 -08:00
awsr a89d97a1f3
Simplify message clearing 2026-01-27 13:23:33 -08:00
awsr e63422ba16
Move cache clear to Image Options in settings 2026-01-26 01:53:29 -08:00
awsr 5613cb383a
Update text 2026-01-24 16:37:13 -08:00
awsr 7fc18befc5
Add `monitorOption` function 2026-01-24 16:12:36 -08:00
awsr 5e8ea52177
Toggle visibility from settings 2026-01-24 16:10:26 -08:00
awsr 603560c079
Move setup, update style 2026-01-24 13:35:04 -08:00
awsr 849f045301
Clear gallery image list when running 2026-01-21 05:45:43 -08:00
awsr cb0aa2fb97
Update layout 2026-01-21 05:45:04 -08:00
awsr 2fae55a7f9
Initial thumbnail cache clearing setup 2026-01-21 05:38:24 -08:00
awsr a344a13863
Move AbortController reset to function 2026-01-21 05:31:37 -08:00
vladmandic 7664d7ea88 lint js
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 10:11:31 +01:00
Ryan Meador 300bc31de7 address PR feedback 2026-01-19 21:04:04 -05:00
Ryan Meador a38e5af3b3 add selection indicator to gallery view 2026-01-19 14:27:35 -05:00
Ryan Meador 383898eae7 fix gallery modal next/prev button navigation 2026-01-19 14:27:35 -05:00
CalamitousFelicitousness c07eddb58d fix(ui): improve gallery sorting and IndexedDB operations
- Enhance gallery sorting functionality
- Update IndexedDB operations for better reliability
2026-01-18 04:03:19 +00:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
awsr 33e15a809c
Linting and rebase 2026-01-04 00:39:58 -08:00
awsr c0b0a62512
Revert conversion to static class
It's probably fine if keeping the instance creation next to the class definition as long as it doesn't get moved to earlier in the file.
2026-01-04 00:37:44 -08:00
awsr e8c1bcb766
Move SimpleProgressBar into `gallery.js`
Converted to using static class elements since it's only being used here.
2026-01-04 00:37:43 -08:00
awsr e0b70ba0c6
Simplify and lint 2026-01-04 00:37:43 -08:00
awsr 2bd1086850
Implement SimpleProgressBar class 2026-01-04 00:37:43 -08:00
awsr b6f7d92fa0
Additional AbortSignal checks 2026-01-04 00:37:43 -08:00
awsr 455bc4356e
Linting / regex cleanup 2026-01-03 18:43:10 -08:00
awsr 6d4b79659e
Linting 2026-01-02 18:47:46 -08:00
awsr 5acbab5e61
Upgrade to ESLint 9
- Upgraded to new plugins for other languages
- Added markdown linting
- Added `extensions-builtin` to `globalIgnores`
- *Disabled CSS and HTML linters for now*
- Updated rules that were migrated from eslint to stylistic
- Updated VSCode settings to work with new linting features
- Updated a few rules to have better defaults instead of disabling them
2026-01-02 18:47:46 -08:00
awsr 9d8119b6ab
Fix/update browser cache behavior
It was partially ignoring the setting and writing to cache anyway.
2025-12-09 19:23:16 -08:00
awsr e1c05b0e91
Improve standard theme compatibility 2025-12-04 04:56:59 -08:00
awsr a322186650
Improve rendering on non-modern UI 2025-12-04 04:18:31 -08:00