awsr
137504de36
Remove extra type checking...
...
- JSDoc should automatically apply the types to the variables/parameters in the IDE to provide a warning when the wrong value is being sent.
2026-02-05 15:18:07 -08:00
awsr
f4bb78b51c
Update types in JSDoc
2026-02-05 15:16:13 -08:00
awsr
c4de8fb1cc
Do not make changes to the index's primary key
...
- Values should not be modified in `indexdb.js`
2026-02-03 13:35:50 -08:00
awsr
a8211bec84
Remove redundant catch/abort
2026-01-29 02:42:50 -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
2cb68b7432
Reusable IDB transaction configuration + update
...
- Use standard DOMException when rejecting
2026-01-27 13:41:53 -08: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
awsr
2c288b651a
Remove need for timeout failsafe
...
All the failure routes should either:
- Get far enough along to not leave checked values unable to reach the finished state...
- or all be tied into the same AbortController so everything aborts together.
... I think...
2025-12-02 16:29:20 -08:00
awsr
b4e5db478f
Merge updated gallery maintenance system ( #3 )
...
* Add eslint rule for class members
* Finalize gallery maintenance system
- Adds a simple function queue in lieu of the Web Locks API in order to work in the (probably unlikely) event that SD.Next is accessed over regular HTTP but not from localhost.
- Removes overlay message progress update since it's incompatible with the new method.
2025-11-30 21:27:56 -08:00
awsr
29a4793302
Much faster performance for normal runs
...
- May result in the initial run being slower in some circumstances.
2025-11-29 03:19:33 -08:00
awsr
eb4f4c683c
Improve error handling
2025-11-28 14:26:03 -08:00
awsr
1b5295dd5e
Remove redundant check
2025-11-28 13:37:48 -08:00
awsr
9ceed935ce
Naming changes and additional check
2025-11-28 13:21:24 -08:00
awsr
7e2bf5eb13
Update JSDoc
2025-11-27 19:30:44 -08:00
awsr
8197cbefaa
Update names/info and ensure folder is string
2025-11-27 18:34:11 -08:00
awsr
d7ddc953b9
Switch to folder-based database cleanup
2025-11-26 22:13:58 -08:00
awsr
691339773e
[hotfix] Fix cache clearing when switching folders ( #4421 )
...
* Update submodules
* Revert "Update submodules"
This reverts commit 1679ddeeea .
* Fix cache clearing when switching folders
This is more of a temporary hotfix since it will affect switching between gallery folders quickly and it'll kick off when viewing small folders.
2025-11-25 09:58:45 -05:00
vladmandic
d89ccf5ba8
linting
...
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-23 13:23:16 -05:00
awsr
b476a31e71
Update error handling and logging
2025-11-22 14:34:12 -08:00
awsr
6f15a04fe0
Simpler method for getting key count
2025-11-21 05:29:48 -08:00
awsr
2f9cf121bc
Remove old entries from gallery cache
...
Removes excess thumbnail data when the IndexedDB has at least 200 more entries than is loaded by the gallery.
2025-11-21 04:58:21 -08:00
Vladimir Mandic
6987a32c03
fix gallery
2024-04-05 16:17:23 -04:00
Vladimir Mandic
9d04255b54
reorganize js callbacks and startup sequence
2024-04-04 18:26:51 -04:00
Vladimir Mandic
dc9c60e174
gallery optimizations
2024-03-23 14:46:55 -04:00