1141 Commits

Author SHA1 Message Date
Yokayo
839d79f407 Small fix 2024-06-12 16:50:08 +07:00
Yokayo
a1a9f0002c Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-06-12 16:31:11 +07:00
Yokayo
84ee968ab4 More localizable text 2024-06-12 16:30:32 +07:00
Wolfsblvt
679b3587b5 Data attribute for the currently open menu_type
- Add data attribute to the right nav panel for the currently open menu type
- JSDoc of possible menu_type values
- Refactor using the menu_type setter
- Remove legacy "settings" menu type, as that one is not part of those really
2024-06-11 02:54:06 +02:00
Wolfsblvt
b814ba5b35 Merge branch 'staging' into smol-tag-improvements 2024-06-10 01:45:15 +02:00
Wolfsblvt
d14af1592e Refactor naming/structure of popup CSS classes
- Refactor naming/structure of popup CSS classes
- Prepare Popup utility of opening/showing dialogs
2024-06-09 22:02:51 +02:00
Cohee
bb48dfe084 Add await arg to /imp command 2024-06-09 18:36:52 +03:00
Wolfsblvt
d98d811cc1 Merge branch 'staging' into smol-tag-improvements 2024-06-08 21:13:11 +02:00
Wolfsblvt
61906d8dbe Dynamic focus styles from existing hover styles 2024-06-08 05:10:44 +02:00
Wolfsblvt
e2089b1e44 Dozens new keyboard interactables
- Made dozens of existing controls keyboard interactable
- Tweaked styling so the keyboard focus looks more pleasant
2024-06-06 02:48:06 +02:00
Cohee
671b7ef7cb Add just a chat fields list from server 2024-06-06 02:05:26 +03:00
Cohee
ff241dd0a9 Add events for completed prompts 2024-06-06 00:23:12 +03:00
Wolfsblvt
f04bbdf112 Small changes to /rename-char 2024-06-05 20:24:50 +02:00
Wolfsblvt
858e5f2efb /rename-char slash command
- Rename char slash command (with optional parameters for silent and rename old chats)
- JSDoc fix for STscript named args in callbacks
2024-06-05 02:19:22 +02:00
Cohee
340b3920ac
Merge pull request #2344 from Wolfsblvt/fix-tags-on-char-creation
Fix adding tags on char/group creation again
2024-06-04 17:09:32 +03:00
Wolfsblvt
e8aba9fa5f Fix adding tags on char/group creation again 2024-06-04 00:32:30 +02:00
Wolfsblvt
5cc4242c6f Make ST-style buttons keyboard selectable
- Make ST-style buttons keyboard selectable
- Allow custom classes/selectors to be set as buttons too, with the same functionality (CSS selector-based)
- Observer to automatically add functionality to any button added to the DOM
- Allow buttons to not be selectable via 'disabled' or 'not_focusable'
2024-06-03 02:52:54 +02:00
Wolfsblvt
98905e0e53 Slight layout fixes to the char import popup
- Need to pull my "wider" popup type from the other branch, because 1/1 aspect ratio scaling is just bad
- Add a few tailwind-like classes for ul-li styling
- Add <kbd> element styling for keyboard buttons
2024-06-03 01:17:19 +02:00
Cohee
91061c1d55 Fix i18n, make dialog wide 2024-06-03 01:49:01 +03:00
Wolfsblvt
e93bc49b36 Support importing multiple URLs on external import 2024-06-02 23:44:50 +02:00
Wolfsblvt
9318f94f08 Merge branch 'staging' into smol-tag-improvements 2024-06-02 21:07:46 +02:00
Wolfsblvt
89d1bc8341 Drag&Drop handler utility and animation 2024-06-02 05:54:41 +02:00
Cohee
20d12dc98e (WIP) Import JSON from .charx 2024-06-02 00:28:41 +03:00
Wolfsblvt
c939c544e2 Rename popup css classes 2024-05-31 21:59:26 +02:00
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
kingbri
4528655bb7 Textgen: Add multiswipe support for TabbyAPI
Tabby now supports batching and the "n" parameter for both non-streaming
and streaming. Add this into SillyTavern.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-28 00:55:57 -04:00
Cohee
a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
Wolfsblvt
4f2543f7ae Fix popup custom buttons 2024-05-25 01:02:13 +02:00
Cohee
439ef0dc5e #2308 Preserve itemized prompts for branches and checkpoints 2024-05-25 00:07:36 +03:00
Cohee
da4f0f53be Resolve char macros to message name in first message display 2024-05-24 23:41:27 +03:00
Cohee
7dc3b06d0f /api returns current name if no params 2024-05-24 20:34:29 +03:00
Wolfsblvt
3a5dfadac5 Fix group tag list not updating 2024-05-23 02:45:23 +02:00
Cohee
a11231dd2e Revert export removal 2024-05-23 01:47:06 +03: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
Gabraham
a9c3a808ac Merge remote-tracking branch 'upstream/staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 04:03:33 -04:00
Gabraham
d5533854cc Merge branch 'staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 00:57:08 -04:00
Cohee
0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
Cohee
319b0a543c Enable markdown strikethough 2024-05-21 16:58:42 +03:00
Cohee
b1c9fee29e #2188 Make first message not required 2024-05-21 15:46:41 +03:00
Cohee
c21deb3a8c #2289 Fix message translation on edit 2024-05-21 14:23:18 +03:00
Cohee
3dc4c8ca39 #2284 Persona description in-chat-at-depth 2024-05-21 01:57:04 +03:00
Cohee
0d68473010 Fix client version display on welcome message 2024-05-20 21:50:57 +03:00
Cohee
0c36d4e67d Merge branch 'staging' into ru-l10n 2024-05-20 21:45:02 +03:00
RossAscends
8d2b7a15dc don't hide close button on unzoomified avatars 2024-05-20 12:23:54 +09:00
RossAscends
67381cf493 fix zoomedAvatar resize and movement 2024-05-20 12:18:30 +09:00
Cohee
cf28d6653c Import characters from RisuRealm by URL 2024-05-19 20:19:20 +03:00
Cohee
1eca18f287 Merge branch 'staging' into ru-l10n 2024-05-19 19:48:38 +03:00
Yokayo
6671c9aa80 Move dynamic html to templates 2024-05-19 21:49:43 +07:00
Cohee
dd06fddd17 #2267 Fix multiswipe mutating the array returning by the streaming provider 2024-05-19 16:38:18 +03:00
Cohee
e9c5618b10 Force generate unlock on wrapped API error 2024-05-19 16:25:22 +03:00