Commit Graph

72 Commits

Author SHA1 Message Date
valadaptive
047c897ead Remove is[API] functions
Just use an equality comparison. It's a bit longer, but only because
"textgenerationwebui_settings" is a long identifier.
2023-12-03 14:56:01 -05:00
Cohee
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive
518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive
97c49a405b Enable no-extra-boolean-cast lint 2023-12-02 10:32:26 -05:00
valadaptive
a665a4897d Enable no-unused-labels lint
I'm not sure why "esversion: 6" was at the top of the file. My best
guess is that whoever initially created it was using jshint, which says
"use 'esversion: 6'" if used to lint a file which contains ES6 code.
Even then, the proper syntax would be a comment.
2023-12-02 10:32:07 -05:00
Cohee
87707b565f Add checkbox for restoring user input on page refresh 2023-11-28 00:29:34 +02:00
RossAscends
42c73c8658 block mobile swipe gesture under fullscreen panels 2023-11-15 19:20:05 +09:00
Cohee
8a8880fca1 Visual touch-up 2023-11-11 16:31:13 +02:00
RossAscends
19c5aca404 no more mid-edit swipes 2023-11-09 14:40:14 +09:00
Cohee
b2629d9718 Refactor status checks and indicators. 2023-11-08 02:52:03 +02:00
Cohee
956a80f082 Add rounding for scroll adjustment value 2023-11-07 20:16:33 +02:00
Cohee
36c627bd1b Save itemized prompts between sessions 2023-11-04 23:25:22 +02:00
RossAscends
a27e7a139a Chat History Panel Overhaul, shorter filenames 2023-10-30 14:16:20 +09:00
RossAscends
731ebc2eda add toggle for mobile gestures 2023-10-23 10:54:17 +09:00
Cohee
703965aec8 Substitute macro in character editor token counter 2023-10-21 14:39:01 +03:00
Cohee
5b954a3584 Rename URL validation util function 2023-10-16 00:50:29 +03:00
Cohee
a081f78bd8 (WIP) PaLM API 2023-09-23 20:48:56 +03:00
RossAscends
751c0723dc skill issue: dont hide draggables on every keydown 2023-09-17 19:41:17 +09:00
Cohee
2c84c93f3d Add thumbnails quality config 2023-09-16 21:53:30 +03:00
RossAscends
1fed8ba4f7 hotswap: instructions if no faves; no placeholders 2023-09-15 17:55:16 +09:00
Cohee
17a5d629ea Auto-set hotswap slot number based on the screen width. 2023-09-14 15:56:01 +03:00
Cohee
c0e5d7efae Save chat scroll position when user input overflows the line 2023-09-13 00:51:21 +03:00
Cohee
f92249790f The return of permanent tokens display 2023-09-10 00:58:37 +03:00
Cohee
ea01247bcf #1090 Save Kobold/ooba servers history 2023-09-08 22:44:06 +03:00
Cohee
26ddfd1a08 Continue with AltGr+Enter 2023-09-08 21:27:33 +03:00
Cohee
bbed147ce5 Clean up browser logs 2023-09-05 18:23:24 +03:00
city-unit
08e1b5bb5e Fix dropzone issue and resize issue 2023-09-02 15:40:15 -04:00
Cohee
d6b694cc9d Don't bounce of the top bar to prevent movable freezing 2023-08-31 23:44:36 +03:00
Cohee
5f5407777f New hotkey: Alt+Enter to Continue 2023-08-31 14:54:35 +03:00
Cohee
194278d171 Merge branch 'staging' into feature/exorcism 2023-08-31 00:42:34 +03:00
city-unit
98a2a2b989 Esc to remove drag elements 2023-08-30 15:58:14 -04:00
RossAscends
7ea426ba79 remove console logs from RAmods, cleanup code. 2023-08-31 04:46:33 +09:00
city-unit
1cb86034b5 Okay, it actually works 2023-08-30 00:11:20 -04:00
city-unit
de5bc45060 Much closer 2023-08-29 22:44:09 -04:00
city-unit
79448f5fe7 Getting there, but it's not great. 2023-08-28 00:49:20 -04:00
city-unit
39eae80f6e Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-08-27 12:47:05 -04:00
RossAscends
1a5dbf2603 fix MovingUI to respect resizing topBar 2023-08-28 01:40:40 +09:00
city-unit
91434a3ba8 Quick fix for arrowkey swipe stuff 2023-08-26 23:32:22 -04:00
Cohee
1900ab9726 #1005 Replace mobile detection method in get sortable delay. Make deviceInfo loading sync. Init Ross mods via function call. 2023-08-24 23:52:03 +03:00
Cohee
7010e05f8e Sync bottom form height with the font size 2023-08-24 18:32:42 +03:00
Cohee
e2507e8840 #976 Add "quick continue" button. Remove "send to continue" option. 2023-08-24 01:37:44 +03:00
RossAscends
02ce9ba563 top bar 40px to 30px 2023-08-23 16:41:07 +09:00
RossAscends
5474f29f2d bottom bar 40px to 30px 2023-08-23 16:19:54 +09:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
042c0b84a1 Add a token counter for persona descriptions 2023-08-22 18:32:18 +03:00
based
06902279a9 merge 2023-08-22 21:17:18 +10:00
Cohee
e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee
2615eb8532 Extract system message templates to template files 2023-08-22 10:37:18 +03:00