Commit Graph

61 Commits

Author SHA1 Message Date
0358daa9b1 Dim down the red color of token counter #90 2023-04-16 20:50:59 +03:00
20df42bed3 remove some console log spam. 2023-04-16 22:45:23 +09:00
75d41afd82 fixed send_form fastUI transitions 2023-04-14 13:00:17 +09:00
f0891c5e6f Update icons 2023-04-13 22:49:54 +03:00
e7a937eb0a - converted UI img SVGs to webfonts
- moved unused SVGs and PNGs into subfolders for deletion consideration
2023-04-14 03:12:28 +09:00
442b510489 Input bar now themed correctly 2023-04-13 22:59:11 +09:00
14cc5ba937 Use proper tokenizer for Poe 2023-04-13 16:26:08 +03:00
78e1c5b286 Properly display not-connected color in fast UI mode 2023-04-09 19:29:35 +03:00
98a14a0c1b Rearrange scripts 2023-04-08 21:55:46 +03:00
bd95563686 nav panels now autoopen on 300ms delay 2023-04-09 03:38:03 +09:00
d80fdc5b4b - added toggle for sheld width
- both nav panels conform to sheld width on change
- left nav now has a lock
- sheldWidth defaults to 800
- narrowed top_bar to match sheldWidth
- nav panels fill the vertical space where top_bar used to be
- removed bottom gap on wide screens for all large panels and popups
- reverted menu_button styles
- FastUI now changes send_form styling dynamically
- bg selector drawer width is now sheld-100px
- bg thumbnails display ay 160px width
2023-04-09 02:26:38 +09:00
0ca66ee471 webp import 2023-04-08 13:19:02 +03:00
a35be76874 Autoconnect fix 2023-04-08 12:19:38 +03:00
ddb7eee3fb Move poe API to main block 2023-04-04 16:04:27 +03:00
d79d7576bd Migrate advanced formatting settings to settings.json 2023-04-02 21:59:28 +03:00
f94dd07ae5 Don't destroy local storage on ctrl+arrow 2023-03-29 17:15:16 +03:00
6ab38964dc Restore last active group 2023-03-28 22:58:36 +03:00
44f461254c Add no blur mode 2023-03-28 20:32:40 +03:00
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