Commit Graph
4944 Commits
Author SHA1 Message Date
Wolfsblvt 0d9843cdd6 clear onProgress before closure for no progress 2024-09-06 20:21:32 +02:00
Wolfsblvt ad04d0c9a2 Fix async closure call not clearing progress 2024-09-06 20:01:45 +02:00
Wolfsblvt e48ff8daae Add check for closure type 2024-09-06 19:49:32 +02:00
Wolfsblvt de8732fad6 Add onClick arg to /echo executing closures
- Adds the 'onclick' slash command arg to /echo
- It utilizes the Closure object without serialization, using the exact same scope it received on creation. Should be mindful about memory leaks and possible parallel execution.
2024-09-06 19:32:35 +02:00
Wolfsblvt 885a014507 Add escapeHtml arg to /echo 2024-09-06 19:03:21 +02:00
Wolfsblvt a4e72da40f Add color arg to /echo for custom color 2024-09-06 18:55:50 +02:00
Wolfsblvt c9ed91099f Add cssClass arg to /echo 2024-09-06 18:46:35 +02:00
Cohee 81251b073a Implement downloadable tokenizers
Closes #2574, #2754
2024-09-06 16:28:34 +00:00
Cohee bcd8a28367 Case-insensitive icon search 2024-09-06 14:22:36 +00:00
LenAnderson 0388d3eb6c make alternative class names searchable in FontAwesome icon picker 2024-09-06 10:07:50 -04:00
Cohee d5c26032aa Merge pull request #2788 from SillyTavern/charlistgrid-load
Less horrible charListGrid load
2024-09-06 10:29:29 +03:00
khanon 21cdf49322 fixes single-line inputs and textboxes squished when saving 2024-09-06 01:30:50 +00:00
Wolfsblvt e3f4b554c7 I wiped, I swear 2024-09-05 23:12:45 +02:00
Cohee 3e3597673b Less horrible charListGrid load 2024-09-05 21:22:54 +03:00
Cohee 75c6bee350 Filter inclusion groups by timed effects (#2765)
* Filter inclusion groups by timed effects
Closes #2762

* Skip group scoring check if sticky entries are present

* Optimize sticky checks
2024-09-05 21:15:45 +03:00
Cohee 2f5e40691c Implement more smart textarea autosizes 2024-09-05 20:55:06 +03:00
Cohee e335b62b0b Remove CSS height set on system sequences 2024-09-05 20:20:42 +03:00
Cohee 733bb84044 Fix "system as user" toggle 2024-09-05 20:16:58 +03:00
Cohee 5c7b95cc15 Move CSS check up 2024-09-05 20:13:59 +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 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
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
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 f262eb256a Change no-char hint text 2024-09-04 21:14:55 +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
Cohee 7040f640f4 Merge pull request #2767 from SillyTavern/af-verbiage
Update Advanced Formatting verbiage
2024-09-03 23:23:39 +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 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