Commit Graph

525 Commits

Author SHA1 Message Date
SillyLossy
b3f495a923 Fix sever swipes bugs (details below)
1. Swiping with text in message box disrupted the swipe.
2. User was able to trigger system help message with regeneration
3. On non-Pygmalion model having forced name2 regeneration caused an endless loop if the first message was starting with user's name.
2023-03-20 16:57:49 +02:00
RossAsscends
f6e56ad8e6 removed old commented-out code, and console.logs
removed code on .swipe_left listened that controlled right_swipe display
removed runGenerate force hiding right_swipe during gen
ra-mods - added check for swipe button visibility before KB swiping
2023-03-20 17:32:48 +09:00
RossAsscends
3dc13ee272 fixed bug w/ keyboard swipes going while swipes disabled 2023-03-20 16:47:10 +09:00
SillyLossy
c1cd609ade Scroll after swipe buttons (for counter) 2023-03-20 00:36:17 +02:00
SillyLossy
15edcbb4ac Add single-line mode for Kobold 2023-03-20 00:31:12 +02:00
SillyLossy
296deba415 Version check 2023-03-19 21:10:30 +02:00
SillyLossy
006ffec1f9 Fix security from upstream + console error messages 2023-03-19 20:23:18 +02:00
SillyLossy
8f81da2363 Advanced formatting options 2023-03-19 19:31:20 +02:00
RossAsscends
b0d6e6d0c3 added bg menu to top settings
restyled range sliders
style fix for right nav (L/R padding had disappeared somehow; fixed)
2023-03-20 00:57:56 +09:00
SillyLossy
66ecd37b4a Fix swipes 2023-03-19 17:43:49 +02:00
SillyLossy
ad765f2275 Supposed slowdown fix 2023-03-19 17:03:17 +02:00
SillyLossy
993d3faa03 Pin message examples option 2023-03-19 16:21:43 +02:00
SillyLossy
d964e0d667 Fix examples / scenario not saving during edit 2023-03-19 13:30:03 +02:00
RossAsscends
79fea63198 put settings on top
right nav is only for character management now.
rewrote the drawer toggle to handle multiple drawers.
2023-03-19 18:45:39 +09:00
SillyLossy
95ca39d8e0 Display selected group name 2023-03-19 01:05:39 +02:00
SillyLossy
92d4a7f19e Collapse newlines in prompt 2023-03-18 22:42:41 +02:00
SillyLossy
bf5b2a5c40 Swipes and regenerations in groups should be working now 2023-03-18 21:55:10 +02:00
SillyLossy
0fe838223f Animate regen (again) + placeholder for group regen 2023-03-18 19:56:58 +02:00
SillyLossy
932d2509e1 Fix character card parsing 2023-03-18 19:35:29 +02:00
SillyLossy
d7547ef869 Move all settings to KAI script 2023-03-18 19:13:43 +02:00
SillyLossy
cddbc60587 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 17:31:44 +02:00
SillyLossy
92637fd1f9 Add advanced settings sliders 2023-03-18 17:31:42 +02:00
RossAsscends
4d7c776ecd fixed R swipe highlighting to work when mid-gen 2023-03-18 23:24:18 +09:00
SillyLossy
1317889dc4 Fix swipes counter on old chats. Remove force height on last message 2023-03-18 15:54:41 +02:00
SillyLossy
1bc54f06cf Remove animation of message deletion 2023-03-18 15:41:41 +02:00
SillyLossy
6bbee41565 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 15:31:50 +02:00
SillyLossy
ca1bed3b47 Fix sliders not updating the script variable 2023-03-18 15:31:48 +02:00
RossAsscends
c2006a60ea Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 22:24:40 +09:00
RossAsscends
fdeb3f225f fixed chat scroll 2023-03-18 22:19:08 +09:00
SillyLossy
5c0bb34f69 Animate regeneration removal 2023-03-18 15:17:00 +02:00
RossAsscends
9d5c1800fa Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 21:12:14 +09:00
RossAsscends
f6297ed304 create/edit character buttons >>> icons
chat/mes padding adjusted
swipe left/right circle background removed
2023-03-18 21:12:08 +09:00
SillyLossy
1cc49e70e7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 12:47:50 +02:00
SillyLossy
d78bd26977 Message template instantiation 2023-03-18 12:43:49 +02:00
RossAsscends
33659c4e7a - fixed touch swipe detection
- removed unnecessary hideswipebuttons calls
- restyled swipe buttons to display flex
2023-03-18 13:25:17 +09:00
RossAsscends
440c2851f2 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-18 12:40:14 +09:00
RossAsscends
de27382e50 - made right swipe highlight when next swipe will generate
- added a swipe counter below right swipe
(could add a toggle for displaying it later)
- removed spammy console.logs from expressions index.js
- swipes no longer trigger under the following conditions:
- - when an input it focused
- - when character_popup or history popup are visible
- - when send_textarea has something typed into it
(I think this a bit too restrictive, may seek a smarter way to handle it)

ISSUE: Pyg repeating gens cause swipes animation to lag/freeze
not sure what is the cause, but should seek to remedy somehow.
2023-03-18 12:34:18 +09:00
SillyLossy
1f959a0e82 Reformat system message using array of strings 2023-03-18 02:57:30 +02:00
SillyLossy
ec00cc023f Remove inversion for error avatars (moved to css) 2023-03-18 01:19:33 +02:00
RossAsscends
c2bad577ea fixed bug with hidden range sliders 2023-03-18 08:06:38 +09:00
RossAsscends
bd60065e90 back to working after merge,
formatting should match
fixed bug with send butting showing up midway through long pyg generations
optimized changeMainAPI function
2023-03-18 07:01:25 +09:00
RossAsscends
5f2c6b8853 - fixed swiping/generation post merge
- optimized char edit/create textarea listeners
- optimized listeners for left side options popup
-
2023-03-18 06:09:12 +09:00
SillyLossy
8beb1ade21 Post-merge fix 2023-03-17 19:55:40 +02:00
SillyLossy
2b3910b968 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-17 19:42:29 +02:00
SillyLossy
2f2092106e Merge branch 'SL-TAI-RA-Mods' into dev 2023-03-17 19:40:26 +02:00
RossAsscends
7ff70819c1 greeting msg formatted
broke greeting message into readable strings with literals
2023-03-18 01:17:56 +09:00
SillyLossy
0942a2012e Add more safeties 2023-03-17 13:08:01 +02:00
RossAsscends
420fb5ef17 fixed mistake with function locations, working now. 2023-03-17 17:52:35 +09:00
SillyLossy
a89f31d614 Add safety switches 2023-03-17 10:46:23 +02:00
RossAsscends
b20b865887 refactored main JS code and RAmods functions 2023-03-17 17:37:59 +09:00