Commit Graph

43 Commits

Author SHA1 Message Date
90b74e20d0 Down opacity a bit 2023-03-27 23:31:42 +03:00
1d7c63ee77 Improve readability of chats 2023-03-27 23:07:21 +03:00
a1f16f470b Custom chat separators + fixes for drawers logic 2023-03-24 01:35:07 +02:00
1b7632c352 Fix online status checks 2023-03-23 11:53:39 +02:00
9f3d40e3ed CSS tweaks:
- resized addbg3.png from 1600x1600 to 160x90
- added trans grey border to right nav, to match chat and send_form
- reduced opacity of chat/sendform >> 70% to 50%
- reduced blur on chat/sendform >> 20px to 10px
- added 1px gap between chat and right nav to match chat/sendform
- fixed add_bg button being too tall and skewing top bg row on mobile
- 2 new utility classes no-border and no-shadow
- made drawer heights match chat+sendform height on mobile

/img cleanup:
- removed unused files from /img
- resized large UI-only PNG files to 100px x 100px
- replaced fluffy.png with a custom PNG 'ai4.png'
- total /img footprint is now 615kb  (compared to 3.5MB in main tai 1.3)
-- /default-expressions 509kb
-- everything else 106kb
2023-03-23 16:48:40 +09:00
5dc62f78b4 disabled spammy coneole.logs 2023-03-23 13:13:43 +09:00
d4524e1e0e fixed autoconnect spamming on page load 2023-03-23 00:30:16 +09:00
b9da16ed95 fixed regenerate hotkey to work with groups
- it now clicks the regenerate button
- previously it directly called Regenerate()
2023-03-22 23:06:18 +09:00
862ac3fed8 right nav (now on top) lock and open/close preferences
are now remembered between page reloads.
lock prevents right nav drawer from closing when clicking away
or when opening other drawers.
2023-03-22 22:47:10 +09:00
d271dd2c97 midway through changes to right nav state saving 2023-03-22 19:34:56 +09:00
3d0abbaf9d top settings now close when user clicks away 2023-03-22 19:20:51 +09:00
fe0fd95720 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-21 23:31:34 +02:00
e6413d0905 OpenAI support (by @CncAnon1) 2023-03-21 23:31:26 +02:00
4d4a9b97a5 fix typo in autoconnect 2023-03-22 01:17:17 +09:00
2e9a36b0cc updated autoconnect to reference nai_settings.api_novel_key 2023-03-22 00:22:00 +09:00
ecced62bc7 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-03-22 00:13:19 +09:00
93d421e029 autoconnect is less spammy now. 2023-03-22 00:10:51 +09:00
f6a0a2b65c Move novel settings to separate file 2023-03-21 17:05:51 +02:00
ca9a5c72ea top settings connect icon is now red when disconnected 2023-03-21 21:08:15 +09:00
09fd3b16cf Merge branch 'dev-settings-on-top' into dev 2023-03-21 13:01:17 +02:00
1adea9305e keyboard hotkey Ctrl+Up now works with novel and ooba 2023-03-21 19:03:24 +09:00
5f32055a64 updated AutoConnect to work with NAI and OobaWebUI 2023-03-21 18:29:38 +09:00
1a1f445a14 Merge branch 'dev-settings-on-top' into dev 2023-03-21 01:09:06 +02:00
ea43b8c441 added a few missing semicolons 2023-03-20 17:50:40 +09:00
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
3dc13ee272 fixed bug w/ keyboard swipes going while swipes disabled 2023-03-20 16:47:10 +09:00
379207a3d8 Count examples toward permanent if pinned 2023-03-19 19:41:00 +02:00
33659c4e7a - fixed touch swipe detection
- removed unnecessary hideswipebuttons calls
- restyled swipe buttons to display flex
2023-03-18 13:25:17 +09:00
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
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
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
2f2092106e Merge branch 'SL-TAI-RA-Mods' into dev 2023-03-17 19:40:26 +02:00
0942a2012e Add more safeties 2023-03-17 13:08:01 +02:00
10a4d39c7e removed a few comments 2023-03-17 17:39:48 +09:00
b20b865887 refactored main JS code and RAmods functions 2023-03-17 17:37:59 +09:00
0081f5d0d7 Fix resetting preset on load of API 2023-03-17 00:21:06 +02:00
c0a285eaa2 removed extra semicolon in RA-mods.js 2023-03-17 06:07:10 +09:00
f6dc978595 added swipes,
fixed suer avatar highlighting
swiping works on touchscreens
arrow left and right also swipe on PC
2023-03-17 05:52:57 +09:00
4ce7fa59be Refactor right menus 2023-03-16 22:51:18 +02:00
f558e12bda - renamed default expression folder
- split localStorage functions into separate js
2023-03-16 04:18:35 +09:00
9483ec464a added
- swipes library
- CSS for mobile,
- swipe left/right on last msg to regenerate
2023-03-15 23:27:00 +09:00
c51f63cd7a fixed typos in readme and RA-mod.js comments 2023-03-15 08:42:29 +09:00
20dc882b75 - Merged RossAscends-mods.js as separate file.
- removed RA functions from main JS (left code as comments, feel free to delete)
- moved function declarations out of document ready
- function calls and listeners remain inside the document ready function
- fixed UsernameChange and Char deletion in main JS
- updated Humanizedtime variable name
- small css changes
2023-03-15 04:52:16 +09:00