1122 Commits

Author SHA1 Message Date
Cohee
63c5330920 Fix variable shadowing 2024-07-13 11:52:43 +03:00
Cohee
c684d23476 Make chat scrolling events passive 2024-07-12 22:37:47 +03:00
Cohee
0a0fc0141c Limit edit textarea height to 75% 2024-07-12 21:39:32 +03:00
Cohee
3acd60fcab Switch back to regular debounce 2024-07-12 16:03:43 +00:00
Cohee
684ce999f3 Remove getComputedStyle calls 2024-07-12 16:01:20 +00:00
Cohee
a57d994913 Calculate new height after setting min height 2024-07-12 07:29:42 +00:00
Wolfsblvt
63a0ebb885 Move openai slash commands to init function 2024-07-11 22:43:25 +02:00
Cohee
e22b18ce80 Don't overextend edit textarea height 2024-07-11 21:25:52 +03:00
Cohee
9754d5361f Decreate edit textarea debounce duration 2024-07-11 15:37:30 +00:00
Cohee
d5c2bf3781 Init slash commands earlier 2024-07-10 00:22:21 +03:00
Wolfsblvt
abdd1f3e6e Update some SillyTavern.getContext() fields 2024-07-08 23:26:26 +02:00
Cohee
ed0e522c6d [BUG] UI shifting in mobile browser #2488 2024-07-07 20:12:04 +03:00
Cohee
6ff406f6ea
Merge pull request #2485 from Esalarc/promptdiff
Adding diff functionality to prompt dialog
2024-07-07 10:17:01 +03:00
Cohee
792c077267 Fix for chat completion prompts 2024-07-07 10:15:53 +03:00
David Fedolfi
014ef0cc4f Adding diff functionality to prompt dialog
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Cohee
57175b4229 Don't send streaming request if generation was aborted before the streaming processor creation 2024-07-06 17:39:50 +03:00
Cohee
c55ad419dd Clean-up console logs 2024-07-06 15:29:47 +03:00
Wolfsblvt
ff23808d3b Add WI toggle to include/exclude names in scanning 2024-07-06 03:23:02 +02:00
Cohee
ebb5c9762a Fix app onboarding on Safari 2024-07-04 23:37:18 +03:00
Cohee
c0436f4a32 Extend getContext API 2024-07-03 20:35:42 +03:00
Wolfsblvt
7de43d3a9c /stop slash command to stop generation 2024-07-03 14:44:17 +02:00
Cohee
1315f0968b Support all file formats for replace/update 2024-07-01 21:48:56 +03:00
Succubyss
e1e0ef8730
Augment Edit Box Input Enfasterment (#2450)
* edit box performance "fix"

Note: jQuery makes an adjustment to height or scrollHeight that pure JavaScript doesn't;+2 was the minimum I needed to not get a vertical scrollbar, so I went with +4

* Refactor

* Use debounce instead of throttle

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-07-01 20:36:18 +03:00
ThisIsPIRI
21cefc0864 Skip popup when making new chat from chat list 2024-07-01 18:16:56 +09:00
Cohee
1b6e816525 Swipes respect reduced motion setting 2024-07-01 00:01:22 +03:00
Wolfsblvt
47f00d3755 Fix 'preloader' overlay being removed too early 2024-06-30 22:03:38 +02:00
Wolfsblvt
7344b63109 Add loader to exposed 'SillyTavern' 2024-06-30 20:51:13 +02:00
Cohee
f181d1a847 Add button to re-caption message image 2024-06-30 00:31:54 +03:00
Cohee
7149f46c9a Add automatic image captioning mode 2024-06-30 00:06:17 +03:00
Cohee
fcc00e0b26 Merge branch 'staging' into translation-improvements 2024-06-29 14:36:12 +03:00
Wolfsblvt
cba2b54531 Refactor main slassh-commands into init func 2024-06-29 00:25:10 +02:00
Wolfsblvt
d994528548 Extend i18n with translate and template literal 2024-06-28 23:53:25 +02:00
Cohee
b62cbdeebd Merge branch 'staging' into DarokCx/release 2024-06-28 19:09:12 +03:00
Cohee
bbb1a6e578 Add huggingface inference as text completion source 2024-06-28 18:17:27 +03:00
Wolfsblvt
54e111886b Improve logs (+add toasts) on save calls
- Fixes #2429
2024-06-28 03:28:16 +02:00
Wolfsblvt
b8295ac8f5 Unregister function for macro registration 2024-06-28 03:01:33 +02:00
Cohee
cf56bfb6a9 Add 01.AI as a chat completion source 2024-06-28 00:51:09 +03:00
DarokCx
8608bc92ae no authorization 2024-06-27 10:02:28 -04:00
DarokCx
bd5592de7b Added featherless, connect button not working 2024-06-27 09:06:11 -04:00
Wolfsblvt
7bf793d2be Update /newchat command skip popup 2024-06-27 01:39:05 +02:00
Cohee
f73986d23f Remove extra linebreak 2024-06-27 02:25:08 +03:00
Wolfsblvt
1c6c9efba1 Refactor convert to group chat to new popup 2024-06-27 01:01:43 +02:00
Wolfsblvt
efb9fbcc7e Refactor new chat to new popup 2024-06-27 00:45:26 +02:00
Wolfsblvt
360c2985f5 Switch char deletion to new popup
- New popup
- Move char CHARACTER_DELETED to after char deleting, and inside the correct function
2024-06-27 00:29:25 +02:00
Cohee
54fb7a9030 Add 'online_status_changed' event 2024-06-26 22:11:22 +03:00
Cohee
ef0772bc9f Merge branch 'staging' into macro-register 2024-06-26 21:54:00 +03:00
Wolfsblvt
4e7232f13e Move group chat popups to new popup 2024-06-26 05:56:15 +02:00
Wolfsblvt
717c524b01 Update copy message to new popup 2024-06-26 05:01:58 +02:00
Wolfsblvt
c55452d0ea Update prompt itemization to new popup 2024-06-26 04:49:07 +02:00
Wolfsblvt
c8411b6dfb Update delete message to new popup 2024-06-26 03:36:06 +02:00