Commit Graph

5576 Commits

Author SHA1 Message Date
Cohee
5c7b95cc15 Move CSS check up 2024-09-05 20:13:59 +03:00
Cohee
1d390195fe Remove obsolete styles 2024-09-05 20:12:29 +03:00
Cohee
dec85c42f7 These should be function calls 2024-09-05 20:07:37 +03:00
Cohee
ac0c33eb76 Use CSS.supports to determine auto-fit validity 2024-09-05 20:00:45 +03:00
RossAscends
8e1dad6800 initial reversion commit 2024-09-06 01:48:21 +09:00
Cohee
b5b01a1a5c
Merge pull request #2774 from SillyTavern/classify-slash-commands-with-api
Expanded classify slash commands (add Classifier API to `/classify` and allow prompt override, new `classify-expressions`)
2024-09-05 10:52:18 +03:00
Cohee
85773ace79 Add format arg for classify-expressions 2024-09-05 10:48:46 +03:00
Cohee
b4ecba2a45 Fix macro not replacing in custom prompt 2024-09-05 10:23:51 +03:00
Cohee
5490f9522a
Merge pull request #2784 from M0ch0/staging
Fixed an issue where the text inside the buttons in the API connection menu became vertically long and difficult to read in a multi-byte character environment.
2024-09-05 10:22:02 +03:00
Cohee
a82617be5b
Merge pull request #2773 from SillyTavern/fix-wi-sticky-on-recursion
Fix WI sticky possibly not sticking with delay until recursion when inclusion group is set too
2024-09-05 10:10:19 +03:00
M0cho
97b4c069d8 Fixed a problem in multi-byte env.
Fixed an issue where the text inside the buttons in the API connection menu became vertically long and difficult to read in a multi-byte character environment.
2024-09-05 16:07:20 +09:00
Cohee
479923fdf8
Merge pull request #2775 from FriedCaper/summarize-restore-tooltip
Add tooltip to Restore Previous button in Summarize plugin
2024-09-05 09:49:56 +03:00
RossAscends
ff268bbce9 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-09-05 14:36:42 +09:00
RossAscends
d29129f301 contenteditable related CSS fixes 2024-09-05 14:36:40 +09:00
Wolfsblvt
b44994a11d
Merge pull request #2776 from LenAnderson/fix-fix-fancy-click-target
Fix the fix (fix fancy click target)
2024-09-05 04:02:20 +02:00
LenAnderson
c6404a6401 should look for both .regex-highlight and .item for plaintext 2024-09-04 21:44:37 -04:00
FriedCaper
4eefa396d6 Add tooltip to Restore button in Summarize plugin
Including a hint that you can use it repeatedly to roll back all
previously stored summaries.
2024-09-05 00:17:21 +00:00
Wolfsblvt
d62f18b523 Add missing await 2024-09-05 00:34:52 +02:00
Wolfsblvt
3b10ae00c7 Add /classify-expressions to retrieve emote list 2024-09-05 00:24:10 +02:00
Wolfsblvt
2472b26057 /classify allows custom prompt for LLM api 2024-09-05 00:13:54 +02:00
Wolfsblvt
a37b805a5d /classify can specify classier API as argument 2024-09-05 00:06:14 +02:00
Wolfsblvt
0284698428 Fix WI sticky possibly not sticking on recursion
- When a WI entry has sticky, and inclusion group and "delay until recursion" set, another entry from the same group might prevent the sticky from activating. This is fixed here.
2024-09-04 22:39:32 +02:00
Cohee
58e6ae2fc5
Merge pull request #2769 from SillyTavern/fix-swipes-with-floating-prompts
Allow mobile swipes with open panels if focused
2024-09-04 22:42:02 +03:00
Wolfsblvt
88f741b301 Fix swipe gesture, using target 2024-09-04 21:17:07 +02:00
Cohee
0b89c8aee9 Remove async in theme toggles load 2024-09-04 22:15:29 +03:00
Cohee
26635f9f10 Merge branch 'staging' into fix-swipes-with-floating-prompts 2024-09-04 21:53:25 +03:00
Cohee
7e5417c072 Fix no-char mode not using persona description 2024-09-04 21:51:15 +03:00
Cohee
49f411b9fa No need to async when returning promise 2024-09-04 21:18:22 +03:00
Cohee
f262eb256a Change no-char hint text 2024-09-04 21:14:55 +03:00
Cohee
17c60ca916 Add /tempchat command 2024-09-04 21:12:04 +03:00
Cohee
14d6fa1129 Change seed reroll formula for Drawthings
Fixes #2770
2024-09-04 20:57:31 +03:00
LenAnderson
0619552dbb fix WI fancy key click target 2024-09-04 11:04:18 -04:00
Cohee
4cfce43e5d Set min-height for contenteditable 2024-09-04 13:46:54 +03:00
Wolfsblvt
728a233842 Allow mobile swipes with open panels if focused
- Allow mobile swipe gestures when sheld is focused, ignoring open panels or floating prompts present now
- Fixes #2753
2024-09-04 04:45:40 +02:00
Wolfsblvt
2db344538e Fix possible background swipe gestures on popups 2024-09-04 04:37:23 +02:00
Cohee
37bee43075 Allow expanding contenteditables 2024-09-04 03:16:47 +03:00
RossAscends
8952b93560 3-column panels become 1-column below 1000px width 2024-09-04 09:00:56 +09:00
Cohee
a71753b243 Always use 3-column layout on desktop and 1-column on phone 2024-09-04 02:43:35 +03:00
RossAscends
e0c8488c3f fix width adapting for 3-column drop down panels 2024-09-04 08:23:00 +09:00
Cohee
7040f640f4
Merge pull request #2767 from SillyTavern/af-verbiage
Update Advanced Formatting verbiage
2024-09-03 23:23:39 +03:00
Cohee
8550fd5fe6 Add tooltips to dropdowns 2024-09-03 23:21:24 +03:00
Cohee
830df41380 Update Advanced Formatting verbiage 2024-09-03 22:59:41 +03:00
Wolfsblvt
a70b5af0c4 Prefer stickied WI for budget-limited cases
- Instead of processing entries by default sorting (based on order and books (char first, etc)), sticky will now be the first to process. This will make sure that stickied entries will reach the prompt, even in budget-limited scenarios.
2024-09-03 21:14:44 +02:00
Cohee
4bc1943439 Set min-height for custom CSS input 2024-09-03 22:06:24 +03:00
Cohee
03f9a89ffe Limit vertical size and add resize handles to AF [contenteditable]s 2024-09-03 21:29:50 +03:00
Cohee
f7de495321
Chat without character selected (#2757)
* WIP: Enable chatting without character selected

* Add burger menu item

* Neutral assistant chat space

* Revert "Neutral assistant chat space"

This reverts commit be2da4a629.

* Revert "Add burger menu item"

This reverts commit d4e8d990c1.

* Use simple ephemeral chats

* Only start a new assistant chat if not already in it

* Don't emit event not to clear pending files

* Allow edits, disable checkpoints and branches

* Exclude from tags, allow copy

* Allow hide/unhide

* Allow zooming avatar

* Suppress warning

* Rename neutral character

* Rename neutral back to Assistant
2024-09-03 20:36:30 +03:00
Cohee
b16915cfb9 Remove truncation_length from textgen settings 2024-09-03 14:06:10 +00:00
Cohee
fa054520b6 Remove localstorage setting migration 2024-09-03 14:05:27 +00:00
Cohee
fd75071b09 More specifity of disabled class 2024-09-03 13:02:04 +00:00
Cohee
e86629a644 Exclude classes from disabled grayout 2024-09-03 11:26:13 +00:00