Commit Graph

1245 Commits (fb2f9ea650a1c2c7432f41cd74c03be4e6e62d31)

Author SHA1 Message Date
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
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
Vladimir Mandic d292c85df0 strong-enforce auth check on all api endpoints
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-08 11:41:24 -05:00
Vladimir Mandic f2835499b1 kanvas bindings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-07 12:21:48 -05:00
Vladimir Mandic ae2ce9c8c9 wait for server options to be ready before initializing ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-05 14:37:49 -05:00
Vladimir Mandic 8bb941b4fd increase ui init timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 20:24:42 -05:00
Vladimir Mandic fc92b64dcf increase ui init timeout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 20:22:57 -05:00
Vladimir Mandic 9927b3e62c controlnet allow processor to keep aspect-ratio for override images based on i2i or t2i resolution
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-04 09:37:18 -05:00
Vladimir Mandic 05261e708a ability to disable parts of the app
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 19:36:55 -05:00
Vladimir Mandic ca0b5a31bf add quantized models to reference
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-25 11:17:12 -04:00
Vladimir Mandic adbff39ca5 reference models add distilled and community sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-23 20:59:48 -04:00
Vladimir Mandic f4a8776108 fix full-screen image-viewer toolbar actions with control tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-22 14:35:41 -04:00
Vladimir Mandic f69b4c5589 disabling live preview should not disable progress updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-21 11:07:47 -04:00
Vladimir Mandic d012ad5556 image viewer refocus on close
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-06 17:59:38 -04:00
Vladimir Mandic 58b0ab9da6 unified video save
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-05 20:17:32 -04:00
Vladimir Mandic c530167cbe qwen multi-image edits
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-04 18:06:50 -04:00
Vladimir Mandic 00fa1dc59e add online/offline since
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-29 11:46:00 -04:00
Vladimir Mandic eb025eaf31 remove split-attention and add attention slicing option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-28 18:01:34 -04:00
Vladimir Mandic 07a66b4815 ui add server connection status indicators
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 13:25:17 -04:00
Vladimir Mandic 7bc6edf483 ui add connection monitor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 13:17:52 -04:00
Vladimir Mandic c96af0d428 fix lora filter by model type
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:55:11 -04:00
Vladimir Mandic d351fdb98f add more job state updates and update history tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-13 10:54:04 -04:00
Vladimir Mandic 55947c54d7 add modernui vars to standardui css
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 22:19:04 -04:00
Vladimir Mandic 1c5b3a47e2 job history
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-12 22:14:07 -04:00
Vladimir Mandic 7940217764 add models_not_to_quant option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-11 12:31:07 -04:00
Vladimir Mandic d673c58c10 fix drop image to prompt in modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-08 09:42:26 -04:00
Vladimir Mandic ff9a7e5444 fix reprocess workflow for control with hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-06 11:28:44 -04:00
Vladimir Mandic 069b7063e8 improve ui active tab detect
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 15:02:58 -04:00
Vladimir Mandic 72a9094b42 better model version detect and experimental pydantic v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 12:41:40 -04:00
Vladimir Mandic 61a70baa36 update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-02 08:41:22 -04:00
Vladimir Mandic e40275741d
Merge branch 'dev' into master 2025-09-01 11:41:07 -04:00
Chia-Jung Hsu c6689d9f20 Fix APIs for preview and log in reverse proxy 2025-09-01 15:30:40 +02:00
Vladimir Mandic 11c72d5402 remove standardui previews
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 16:35:49 -04:00
Vladimir Mandic 5f6edafc8b modernui mobile optimizations
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-30 14:34:41 -04:00
Vladimir Mandic ee3a0a5a65 update modernui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-28 11:16:33 -04:00
Vladimir Mandic 70319ee7db lint
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-27 09:52:28 -04:00
Vladimir Mandic e700f9beb4
Merge pull request #4138 from CalamitousFelicitousness/patch-1
Fix sticking hints and tabs losing hints on click
2025-08-27 08:53:04 -04:00
CalamitousFelicitousness 3beb0d2a21 Video gallery support in default UI 2025-08-27 00:45:39 +01:00
CalamitousFelicitousness e54f5142e5 Cleanup and final lint 2025-08-26 19:28:21 +01:00
CalamitousFelicitousness 8eabbe31a1
Merge branch 'dev' into patch-1 2025-08-26 17:23:19 +01:00
CalamitousFelicitousness 3ab9614a41
Another setHints.js update - efficient event delegation
Fixes the DOM recreation in an unnoticeable way
2025-08-26 17:20:38 +01:00
CalamitousFelicitousness 64e798f0ea Update to resolve conflicts 2025-08-26 00:40:25 +01:00
CalamitousFelicitousness 04b7b7652c Fix Gradio removing event listeners and clearing
attributes on tab change breaking hints
2025-08-25 20:36:42 +01:00
Vladimir Mandic ecf3df2aab style networks folders
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 13:19:34 -04:00
Vladimir Mandic c133b85fd1
Merge pull request #4152 from Artheriax/base-model-filtering
Filter on base model in networks tab
2025-08-25 12:53:17 -04:00
Vladimir Mandic 7f46d08a2c match network version
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 12:27:03 -04:00
Vladimir Mandic b1ad9fb650 simplify loader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-25 11:16:09 -04:00
Pablo Hellmann 9bdbb12839 migrated to sdnext.css 2025-08-25 16:32:39 +02:00
Pablo Hellmann b666c2726d Update black-teal.css 2025-08-25 13:44:53 +02:00
Pablo Hellmann 39d7d0334b First implementation 2025-08-24 16:31:45 +02:00
CalamitousFelicitousness 4c8bf3f66a
Update extraNetworks.js
Additional fix for lastTab updating with an empty string. This could cause the issue to reemerge if one of the three tabs was the initial tab upon startup.
2025-08-23 04:29:19 +01:00
CalamitousFelicitousness 84df9f7b4d
extraNetworks.js fix for networks menu with process caption gallery tabs
More robust code by adding a simple check to ensure that searchTextarea is not null, added a check for debugging if it ever fails again

Fixed getENActiveTab, expression tabName in ['process', 'caption', 'gallery'] will always solve as false, making network menus inoperable when in either of these tabs.
2025-08-23 03:53:43 +01:00
CalamitousFelicitousness 3214e7c569
Update sdnext.css
Fix for model tags in default UI being buried under card underneath it.
2025-08-21 14:27:47 +01:00
Vladimir Mandic 74da5095f0 fix and regenerate locales
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-20 14:40:39 -04:00
CalamitousFelicitousness 857858ee6e
Update setHints.js to avoid sticking hints
As described in #4137, this add a simple click handler to hide the hint when the mouse button is pressed.
2025-08-20 16:53:04 +01:00
Vladimir Mandic 03b5a55dd9
Merge pull request #4132 from CalamitousFelicitousness/dev
Add reload notice to hints
2025-08-20 08:52:16 -04:00
CalamitousFelicitousness bbb81fac40
Fix network keywords in default UI
Fixes keywords not showing up in default UI on hover over card
2025-08-20 13:13:04 +01:00
CalamitousFelicitousness a44f1c1401
Update sdnext.css 2025-08-19 23:58:51 +01:00
CalamitousFelicitousness 0a047cbb0e
Update setHints.js 2025-08-19 23:57:05 +01:00
Vladimir Mandic fc4fe49656 enum reference models on startup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-19 18:34:18 -04:00
Vladimir Mandic 0f72024999 modernui localization support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-18 11:27:24 -04:00
Vladimir Mandic 114d097bb4 add wildcards to networks ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-13 20:23:35 -04:00
Vladimir Mandic 28ad5bb0c3 image download use real filename
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-12 08:15:29 -04:00
Vladimir Mandic 752d636324 add /sdapi/v1/network
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-10 10:53:28 -04:00
Vladimir Mandic 67408bb589 fix networks active tab detection
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-10 09:54:11 -04:00
Vladimir Mandic 35d68feb1e networks improve text readability
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-10 07:29:30 -04:00
Vladimir Mandic 5a9c52a48a url(./html/svg/square.svg)
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-10 07:13:04 -04:00
Vladimir Mandic 3aca5f4d19 blur token in settings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-09 09:29:21 -04:00
Vladimir Mandic 277e50f023 add chroma img2img
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-09 09:03:02 -04:00
Vladimir Mandic 45d5189b83 add privacy blur for tokens in ui
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-09 09:03:02 -04:00
Vladimir Mandic 09cc584089 civitai downloader batch download all versions
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-08 18:06:36 -04:00
Vladimir Mandic 4b74fd26b5 redesign gpu monitor
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-07 13:56:13 -04:00
Vladimir Mandic 3e3adcee74 add skyreels-v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-07 13:56:13 -04:00
Vladimir Mandic 6a6605191f configurable image fit in all image views
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 11:33:50 -04:00
Vladimir Mandic e23ca199c0 networks indicator for active loras
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 07:25:28 -04:00
Vladimir Mandic 692c236831 modernui updates
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-05 13:28:55 -04:00
Vladimir Mandic 8aff68fe06 new models tab including civitai downloader
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-04 15:53:43 -04:00
Vladimir Mandic 895c7f41fb gallery bypass thumb cache and safer delete ops
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-04 15:53:43 -04:00
Vladimir Mandic 66456f3b4f civitai search redesign prototype
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-04 15:53:43 -04:00