Commit Graph

81 Commits

Author SHA1 Message Date
d452467818 - escape from edit message now focuses on send_textarea
- allow swipes to happen when send_textarea is focused but empty
2023-04-20 23:58:12 +09:00
7fb3d1f578 fixed listener order for proper key detection 2023-04-20 23:39:02 +09:00
516a61a5ee added proper focus filter to uparrow hotkeys 2023-04-20 23:36:48 +09:00
6d77dfbf48 uparrow = edit last message in chat
ctrl+uparrow = edit last user message

removed ctrl+uparrow for autoconnect hotkey
2023-04-20 23:23:46 +09:00
60bfcc1a6b removed log spam from uparrow 2023-04-20 23:04:08 +09:00
acea6fab67 added UpArrow to quick edit last user mes 2023-04-20 22:59:13 +09:00
a590b44336 caveman fix for activechar/group not focusing correct in rightnav 2023-04-20 04:45:11 +09:00
4df04f3b3f added <base> tag to HTML
added observer to wait for expressions before enabling drag
2023-04-19 22:58:59 +09:00
74f00fe4eb no movingUI console spam. 2023-04-19 00:20:40 +09:00
202ee8b5aa better collision detection order 2023-04-19 00:18:53 +09:00
8ac2bfef96 - 99% percect topbar collision detection for movingUI
- allow waifu mode expression sprites to reset properly on UI Reset
2023-04-19 00:07:53 +09:00
571c6cb606 added reset button for movingUI
- tweaked token warning styles to be utility classes
2023-04-18 21:48:33 +09:00
ac7ee2f11f character expressions are now draggable 2023-04-18 18:35:36 +09:00
f8c4052412 - updated display of char token warning
- added help page explaining character tokens and context limits
2023-04-18 09:16:13 +09:00
6afb03e017 - right nav now draggable
- added mainColor to all buttons and panel texts/headers
- adjusted button hover stylings
2023-04-18 07:43:56 +09:00
7c5f6be823 - smoother drag bounces
- z-index removed for drawer icons
- draggables can go to Y=0
2023-04-18 04:34:48 +09:00
d9bbefb01e fixed collision detection for dragged elements 2023-04-18 04:04:27 +09:00
d7dceca390 - left panel is now draggable and resizeable 2023-04-18 02:33:02 +09:00
e2f4002732 - overflow handling for draggable sheld 2023-04-17 16:33:21 +09:00
9fb7dc5e42 WIP: element dragging & resizing
- currently enabled on #sheld when window is over 1000px wide.
- click top right gripper dots to drag sheld around
- resize with lower right size dragger.
- snaps to static view and hides grabbers when windows under 1000px
- position not remembered across sessions..yet
- updated styles on dice, options, and send_but
2023-04-17 14:44:27 +09:00
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