Commit Graph

3004 Commits

Author SHA1 Message Date
Wolfsblvt 6c3118549f Make generic popups be modal dialogs
- Switch generic popups to actual <dialog> elements
- Move toastr settings from html to JS
- Add style variable for animation duration (to re-use in CSS)
- Remember focus of popup on stacking pop-up close to switch back to the element you started out in
- Fix keybinds of popups to only act on actual result-triggering controls
- Fix toastr appearing behind popups by dynamically moving the container inside the currently open dialog
- Improve autofocus on popup open
- Make cleaner and prettier popup animations, and tie them to the animation speed
-
2024-05-30 05:11:23 +02:00
Wolfsblvt 311fb261a4 Allow re-linking tag colors to theme
- Add button to link tag color back to theme color, but explicitly setting it to empty again
- Debounce redrawing of tag color for performance
2024-05-27 05:02:00 +02:00
Wolfsblvt 24224dc0b1 Fix and improve more tag popups
- Rework tag color pickers to... actually work without hacks
- Color picker default to main text color and tag default background. If default color is chosen, sets "empty" in tag, for possible style changes
- Fix tabbing on tag name in tag view list being broken
- Unique names on new tag click
- Several fixes on tags popups
- Animation utility functions (for popup, heh)
- Utility function to get free (unique) name
2024-05-27 03:35:03 +02:00
Wolfsblvt 35e21c3568 WIP: Rework import tags popup for more options
- Rework "import tags" dialog, providing options which tags to import, and rendering the tags there, for manual management
- Refactor tag list function to allow custom remove actions
- Refactor functions to allow adding of multiple tags at once
2024-05-26 20:29:50 +02:00
Wolfsblvt 4f2543f7ae Fix popup custom buttons 2024-05-25 01:02:13 +02:00
Wolfsblvt d9582062d2 Expand popup functionality
- Add "custom buttons" functionality, each with their own popup result
- Handle 'Enter' by defining a default action
- Using default action to style the default button to make the default action visible
- Allow override of ok/cancel button on any popup type to display those
- Allow multiple popups to overlay each other
- Small styling changes for bottom spacing on non-input popups
2024-05-25 00:44:09 +02:00
Wolfsblvt 26572458b6 Do not allow same-ish tag names / allow same-ish tag search 2024-05-23 03:34:35 +02:00
Wolfsblvt 3a5dfadac5 Fix group tag list not updating 2024-05-23 02:45:23 +02:00
Wolfsblvt 33cec69df9 Add option to merge into other tag on delete 2024-05-23 01:55:43 +02:00
Cohee 039f3b875b Add "ephemeral" option script /inject 2024-05-23 02:34:13 +03:00
Cohee 1f46d334b1
Merge pull request #2302 from Wolfsblvt/world-override-failsafe
Implement failsafe for world creation with same name
2024-05-23 02:11:54 +03:00
Wolfsblvt 92cb70213a Fix no sanitize check on wi create 2024-05-23 00:39:49 +02:00
Wolfsblvt ab8c67ede6 Refactor overwrite check to utility function
- Refactor overwrite check to utility function
- Don't mind me refactoring character delete functions. I tried something, but I think the refactoring still makes sense
2024-05-22 23:52:35 +02:00
Cohee 65c3dfb694 Zen sliders fix 2024-05-22 23:37:51 +03:00
Cohee e8b96fec02 Merge branch 'staging' into new-samplers 2024-05-22 23:26:47 +03:00
Wolfsblvt a251849f8f WI import checking for existing worlds too
- WI import uses the same check as create new world
- API endpoint to get server-side sanitized filenames
- Small changes to toast messages
2024-05-22 21:11:39 +02:00
kokansei 75a1ef4304
Add DRY Samplers to ST Staging (#2211)
* Add files via upload

* Add files via upload

* Delete public/index.html

* Add files via upload

* Delete public/scripts/textgen-settings.js

* Add files via upload

* Delete public/scripts/power-user.js

* Add files via upload

* Delete public/scripts/power-user.js

* Add files via upload

* Update power-user.js

* Update index.html

* Fix control attribution

* Fix app loading

* Put sequence breakers under DRY block

* DRY for DRY

* Update public/index.html

Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>

* Merge fix

* Add llamacpp control. Add default value for sequence breakers

* Forgot reset

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-05-22 20:46:52 +03:00
Wolfsblvt 29d817d549 Implement failsafe for world creation with same name
- Fixes #2297
- Added another utils function for string comparison
2024-05-22 18:19:01 +02:00
LenAnderson 6b66bc41fe Merge branch 'staging' into fix-var-behavior 2024-05-22 10:22:54 -04:00
LenAnderson 46cd47bdfc fix /var behavior 2024-05-22 10:21:49 -04:00
Cohee 5e970c8a51 Only refresh settings on extras connected if current SD source is extras 2024-05-22 16:14:42 +03:00
Cohee bce8627644 [chore] Replace tabs with spaces 2024-05-22 16:12:09 +03:00
steve green 3dd4f2b94a
Always make sure that the delete ****** available 2024-05-22 19:23:51 +08:00
kingbri 74b6ed97c2 Textgen: Add repetition decay for TabbyAPI
Repetition decay softens the drop off for repetition penalty. It's
best paired with rep pen range.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-22 00:09:10 -04:00
kingbri 99d143263d Textgen: Add skew sampling
Adds the option from skew sampling from exllamaV2

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-21 23:48:33 -04:00
kingbri a12df762a0 Textgen: Add speculative_ngram for TabbyAPI
Speculative ngram allows for a different method of speculative
decoding. Using a draft model is still preferred.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-21 23:37:36 -04:00
Cohee f5fccc0387 Add Azure TTS service 2024-05-22 01:37:51 +03:00
Cohee 0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
Cohee 255cd1310d
Merge pull request #2281 from PasserDreamer/staging
Image Generation extension add i18n support.
2024-05-21 20:53:43 +03:00
Cohee 319b0a543c Enable markdown strikethough 2024-05-21 16:58:42 +03:00
Cohee e0ac189acc #2290 Allow square brackets and underline in SD prompts 2024-05-21 16:51:11 +03:00
Cohee bac00659ef Add RisuRealm import example 2024-05-21 15:58:00 +03:00
Cohee b1c9fee29e #2188 Make first message not required 2024-05-21 15:46:41 +03:00
Cohee 226852233f Clean-up SD message sending 2024-05-21 15:03:57 +03:00
Cohee 630b72f13a #2290 Allow curly braces in SD prompts.
+remove unused code
2024-05-21 14:28:47 +03:00
Cohee c21deb3a8c #2289 Fix message translation on edit 2024-05-21 14:23:18 +03:00
RossAscends 9b1a254553 scale MUI on window resize 2024-05-21 13:55:00 +09:00
RossAscends 56d0ffc1fd fix MovingUI infinite loop on resize to Y edge 2024-05-21 09:55:56 +09:00
Cohee 3dc4c8ca39 #2284 Persona description in-chat-at-depth 2024-05-21 01:57:04 +03:00
Cohee 3cd3890263 #2286 Fix SD interactive mode loose trigger 2024-05-21 01:11:40 +03:00
Cohee 435821348a Allow setting unnamed persona names with a tick button 2024-05-21 00:40:12 +03:00
Cohee 03bb911ee7 Fix persona sorting on load 2024-05-21 00:22:56 +03:00
Cohee 549b2d52a4 Remove unnecessary DOM query 2024-05-20 21:58:45 +03:00
Cohee 0d68473010 Fix client version display on welcome message 2024-05-20 21:50:57 +03:00
Cohee 6ed7729b18 Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into ru-l10n 2024-05-20 21:45:18 +03:00
Cohee 0c36d4e67d Merge branch 'staging' into ru-l10n 2024-05-20 21:45:02 +03:00
Yokayo d6a02e3c47 Translated a bit more 2024-05-21 01:16:20 +07:00
Yokayo a8c9fe4dce Remove prompt manager changes 2024-05-21 00:54:46 +07:00
PasserDreamer b4dc66f950
Merge pull request #4 from SillyTavern/staging
Staging
2024-05-20 19:32:28 +08:00
PasserDreamer c10323424d Update Image Generation 2024-05-20 18:49:33 +08:00