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

1166 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
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
vladmandic
4dbdee10e3 switch lora logic and improve ui networks filter
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-14 10:31:21 +01:00
Vladimir Mandic
8500156888 improve queue management
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-01-13 12:58:14 +00:00
vladmandic
f08aaef7c2 auto-display input-media on send-to
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-06 10:29:58 +01:00
vladmandic
87429b19ca kanvas add send-to functionality
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 19:37:10 +01:00
Vladimir Mandic
053849e141 Merge branch 'dev' into gallery-progress 2026-01-04 14:25:55 +01:00
awsr
33e15a809c Linting and rebase 2026-01-04 00:39:58 -08:00
vladmandic
b92095400d cleanup eslint
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 09:37:45 +01: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
d3a0c626fa Minor style update 2026-01-04 00:37:43 -08:00
awsr
e0b70ba0c6 Simplify and lint 2026-01-04 00:37:43 -08:00
awsr
16ab3dde64 Ensure class loads first
Temporary solution until ESM update.
2026-01-04 00:37:43 -08:00
awsr
2bd1086850 Implement SimpleProgressBar class 2026-01-04 00:37:43 -08:00
awsr
f3f26221d5 Create SimpleProgressBar class 2026-01-04 00:37:43 -08:00
awsr
b6f7d92fa0 Additional AbortSignal checks 2026-01-04 00:37:43 -08:00
vladmandic
41de3cb6dc lint fix part one
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 08:52:36 +01:00
awsr
455bc4356e Linting / regex cleanup 2026-01-03 18:43:10 -08:00
awsr
74fee1aeb1 Run eslint with --fix 2026-01-02 18:47:46 -08:00
awsr
ff542b743e Enable no-return-assign and linting 2026-01-02 18:47:46 -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
vladmandic
9358266d87 controlnet with non-english ui locales
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-29 07:48:17 +01:00
vladmandic
f721a679cf ui fix filter by model type
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-26 09:10:16 +01:00
vladmandic
d0b3d9e600 add ovis reference
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-26 08:24:13 +01:00
Vladimir Mandic
0b1e6d2d3c improve offloading
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-12-25 10:24:02 +00:00
vladmandic
93e3658b8d cleanup auth login msg
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 10:50:39 +01:00
vladmandic
dde91321b9 genai exception handling and lint all
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-22 20:29:50 +01:00
vladmandic
0e24b7701d fix control input media with non-english locales
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-21 14:44:35 +01:00
vladmandic
745a805df1 fix kanvas css with standardui
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-18 09:23:00 +01:00
awsr
00decaaa20 Fix generation loop state check
This also fixes log spam in the Python console.
2025-12-14 01:27:30 -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
6ef6c4c891 Allow for explicit null response
Fixes constant spam to browser console from every fetch request
2025-12-04 15:35:23 -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
awsr
6cff06eafe Improve layout of gallery status info 2025-12-04 03:58:50 -08:00
awsr
489db27210 Fix GalleryFolder rendering for long paths 2025-12-04 03:56:56 -08:00
awsr
78e8bff46f Reposition setting lastSortName
Makes more sense to use the provided catch-all that's part of switch...case
2025-12-04 03:24:11 -08:00
awsr
28144d83e4 Better rendering of long path names 2025-12-03 21:16:38 -08:00
Vladimir Mandic
16cdef5a6c Merge pull request #4441 from CalamitousFelicitousness/fix/vqa-minor-improvements
Fix/vqa minor improvements
2025-12-03 19:18:16 +01:00
awsr
955759a4cd Set minimum display time for message 2025-12-02 19:26:30 -08:00
awsr
c771b82ad9 Improve look of cleanup overlay 2025-12-02 17:55:59 -08: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
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