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

1172 Commits

Author SHA1 Message Date
CalamitousFelicitousness
766cb49928 feat(ui): add vision and reasoning symbols, fix dropdown fonts
Add new Font Awesome symbols for model capability indicators:
- vision symbol (eye icon) for vision-capable VLM models
- reasoning symbol (lightbulb icon) for thinking/reasoning models

Also fix dropdown font styling by adding NotoSans font-family.
2025-12-02 21:43:13 +00:00
vladmandic
44b461cdf7 fix xhr object auth
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-02 10:59:18 +01:00
vladmandic
39bced0987 Merge branch 'dev' of https://github.com/vladmandic/sdnext into dev 2025-12-02 10:40:31 +01:00
vladmandic
175201a72f fix progress auth
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-02 10:38:17 +01:00
awsr
e986f5638e Update initGallery position to wait for opts 2025-12-01 20:19:06 -08:00
awsr
75dc851d1c Fix incorrect syntax 2025-12-01 17:49:00 -08:00
awsr
e1febfd92c Logging adjustment 2025-12-01 16:45:23 -08:00
awsr
9ae7c1a7c7 Generalize the SimpleFunctionQueue class 2025-12-01 16:20:23 -08:00
awsr
766aa6c728 Change from ternary to make things easier to read 2025-12-01 15:55:40 -08:00
awsr
8fa791a22f Remove extra parentheses
Looks like they snuck in when refactoring to inline declaration.
2025-12-01 05:26:06 -08:00
awsr
6cab50e584 Overhaul custom element styling
Large performance improvement due to only needing a single style source instead of creating and parsing thousands of style elements.
2025-12-01 05:18:23 -08:00
awsr
35cd563c7d Minor rename and logic adjustment
Only add to the hashes Set when guard is in place.
2025-11-30 22:59:26 -08:00
awsr
b25cf56181 Rename and remove redundant logic 2025-11-30 22:05:14 -08:00
awsr
143558df4b Fix typo and missing return 2025-11-30 22:02:03 -08:00
awsr
a1f6611da2 Fix typo and change log level 2025-11-30 21:57:59 -08:00
awsr
d458ff1073 Change timeout handling to act as just a failsafe 2025-11-30 21:57:45 -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
c3986172d5 Don't run on error 2025-11-29 01:09:43 -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
8bf7fb50ed Restore accidental line deletion 2025-11-27 20:27:47 -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
vladmandic
0da06b642a fix networks refresh
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-25 10:35:47 -05: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
awsr
8cceb12085 Minor margin adjustments
Makes it less likely for elements to overflow on mobile UI.
2025-11-24 18:34:02 -08:00
vladmandic
d89ccf5ba8 linting
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-23 13:23:16 -05:00
awsr
412d857e73 Minor code layout adjustment 2025-11-22 16:18:37 -08:00
awsr
1b4bdda3a2 Add function documentation 2025-11-22 15:53:13 -08:00
awsr
538cad1aad Simplify init
- Doesn't need advanced handling anymore because the overlay is now fully dynamic.
2025-11-22 15:15:41 -08:00
awsr
7caba3287f Reorganize functions for readability 2025-11-22 15:11:46 -08:00
awsr
43de9f98e3 Improve overlay function
- Rename variables to be more descriptive.
- Change run threshold to 500.
- Make overlay fully dynamic.
2025-11-22 15:09:07 -08:00
awsr
b476a31e71 Update error handling and logging 2025-11-22 14:34:12 -08:00
awsr
cfae4a5f1f Show blocking overlay when running cleanup 2025-11-22 05:19:15 -08:00
awsr
6f15a04fe0 Simpler method for getting key count 2025-11-21 05:29:48 -08:00
awsr
f2eddd7f7d Changed threshold to 100 entries before cleanup 2025-11-21 05:00:19 -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
4ffc1b6097 add nano-banana
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-13 13:14:55 -05:00
Vladimir Mandic
7c5d1505b8 set defaults for version dct
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-12 14:18:45 -05:00
Vladimir Mandic
8fb037d4d4 wrap all internal api calls with auth check and use token when possible
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 18:13:47 -05:00
Vladimir Mandic
f383a2babc fix password field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 17:14:08 -05:00
Vladimir Mandic
233abb8856 lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 16:24:24 -05:00
Vladimir Mandic
385de2f0af better detect input source
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 16:07:57 -05:00
awsr
5436649075 Fix backslash errors 2025-11-09 15:31:47 -08:00
awsr
2613c3eb22 Ensure lora tags don't break HTML
Plus & for formatting safety
2025-11-09 15:19:11 -08:00
awsr
49d50accc5 Better error message info 2025-11-09 14:35:11 -08:00
Vladimir Mandic
e7e41d30cf Merge pull request #4381 from vladmandic/dev
refresh branch
2025-11-08 11:59:06 -05:00