1
0
mirror of https://github.com/vladmandic/sdnext.git synced 2026-01-27 15:02:48 +03:00

18 Commits

Author SHA1 Message Date
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