Commit Graph

945 Commits

Author SHA1 Message Date
cfa642507f Chat Filename Humanization + Larger Past Chats Box
1. Replaced all Date.now() instances with a humanized ISO8601 timestamp that is easily readable by users.

This has a seamless effect on the  embedded timestamping of chat mesages. Old chat files can still be edited (messages deleted), and continued.

Character PNG files get updated with the new date format, and this will be reflected in github but there is no functional change to the user.

2. Added character name to the front of all newly saved/imported chat files. Old chats will retain their original filename unless re-imported.

With these two changes, the new chat filenames are as such:

"Aqua - 2023-3-3 @03h 08m 36s 948ms.jsonl"

(I would like to make it smaller, perhaps by removing the milliseconds. Let me know if this is possible, or if it would introduce potential overwrites if users make/update files within the same second.)

3. Increased the size of the 'view past chats' popup box to max 800px so accommodate the new larger filenames.
2023-03-03 03:48:30 +09:00
36b3d4cac3 Add support for external TAI API calls 2023-03-02 17:05:27 +02:00
6cc4918d25 added styles to Notes pages. 2023-03-02 18:21:57 +09:00
da8ccbbcc1 Error handing for fetch and style fix 2023-03-02 01:42:00 +02:00
f5635155b9 Add extension loader 2023-03-02 01:32:33 +02:00
faf850794a Fix click propagation 2023-03-01 23:35:43 +02:00
ce90556729 Merge branch 'main' into dev 2023-03-01 23:30:18 +02:00
65f900f0be Style fix-up 2023-03-01 23:20:31 +02:00
48c9c8ca51 Merge remote-tracking branch 'ross/main' 2023-03-01 23:14:03 +02:00
41437c7770 Add draft extensions loader 2023-03-01 23:12:34 +02:00
7b3a6135f7 small alignment changes 2023-03-02 04:32:15 +09:00
496e5008b1 Colab debug 2023-03-01 21:24:07 +02:00
66562c53be small changes to checkbox placement 2023-03-02 04:19:08 +09:00
4d07e4f785 removed excess remote font call in CSS 2023-03-02 04:12:13 +09:00
569ae28e9e Add tensorflow to colab 2023-03-01 21:09:26 +02:00
c4a30056a2 fixed checkboxes
unified right-nav checkbox to match the delete-checkbox style
2023-03-02 04:03:27 +09:00
71c02d0297 Colab debugging 2023-03-01 20:51:13 +02:00
9950bdda31 Fix stupid bug 2023-03-01 20:28:59 +02:00
327063f7fa Update extras Colab 2023-03-01 20:21:11 +02:00
a297962b99 Add extras to colab 2023-03-01 19:55:29 +02:00
c1e967021f cleaned up CSS
ran the CSS through a few validators and beautifiers. redundant styles removed, errors fixed.
2023-03-02 01:51:21 +09:00
8e2ffa3a01 right nav header changes
changed the right nav header tabs from "character" and "settings" to emojis that represent each respectively. This was to allow the selected character's name to have a larger display footprint for mobile screens.
2023-03-01 20:03:12 +09:00
3b30672b09 Merge branch 'main' into groupchats 2023-03-01 11:03:31 +02:00
a73ad9d53f Merge remote-tracking branch 'ross/main' 2023-03-01 10:54:51 +02:00
dac14985f4 fixed bug with ctrl+enter
previously the keydown eventlistener for  'enter' would trigger even though ctrl was pressed, so i changed it so it doesn't trigger when ctrl is pressed (previously it only checked if shift was not pressed)
2023-03-01 16:34:04 +09:00
a67d771d75 nav lock icon hover glow
- made the right nav lock icon glow on hover
- small HTML code cleanups (remove blank lines, etc)
2023-03-01 05:54:20 +09:00
db19ccb0f0 added panel lock to rightnav
Added a lock/unlock toggle to the right nav which will function to pin the panel in place (disengages auto-close) if the user desires it.
2023-03-01 05:38:02 +09:00
e16b1d533b nav-toggle transparency
fixed the transparency on the new nav-toggle setup.
2023-03-01 04:42:07 +09:00
ea30e8abe5 text-pole fixes
- removed forced size tags from text-pole div's as these caused some textareas to overflow the nav on iphone. instead widths are done with CSS now.

- added <br> after yourName textarea  and increased size of the nameChange button to match the API design. This is also better for phones.
2023-03-01 04:38:54 +09:00
fdc0665987 Updated Right Nav And Added Click-Away Closing
Rewrote the nav HTML/CSS

.nav --> #right-nav-panel
.nav-toggle <label> --> removed, using #nav-toggle:after for styling instead

The main purpose of this rewrite was to allow for a function such that the nav panel will auto-close when the user clicks away from it. The former structure of using a label for a hidden checkbox made this impossible, as the label produced two clicks when clicked on (one for the label, and one for the box), therefore locking the panel if the click-away feature was turned on.

I will add in a 'pin' toggle soon to allow users to hold the nav panel open if they wish.

- Changed default font size from 1rem to 15px;

- removed unused CSS code for <main>,<article>,<header>, and <footer>, which were not used in the HTML
2023-03-01 04:22:32 +09:00
d9a7a74116 Update index.html 2023-02-28 19:07:41 +09:00
0e59edf5e1 Group chat auto-mode (broken & hidden) 2023-02-27 22:54:00 +02:00
a1c797fb13 Better scrolling (I hope) 2023-02-27 21:19:04 +02:00
1b8b8f0f37 Fix deletion and smooth indicator 2023-02-27 21:15:35 +02:00
f215ff664e Shuffle randomly activated chars 2023-02-27 19:25:38 +02:00
aa05749e9b Implement message sending in group chats 2023-02-27 18:48:01 +02:00
82566e1163 Add group chats creation 2023-02-27 01:57:10 +02:00
097cfc2e4f Update style.css 2023-02-27 02:11:28 +09:00
7ecf8b58ca reversed Enter/Shift+Enter functions
(and made connect buttons larger for mobile)
2023-02-27 00:27:41 +09:00
29623350bd submenu stylings
- made send3.png opaque and adjusted opacity with CSS
- removed redundant backdrop blur on from <body>
- removed redundant backdrop blur from bg1 and bg2 (they now only self-blur)
- made "Connect" button on both API panels larger for mobile screens, and added :hover coloring
- made character 'export' and 'delete' buttons larger and further apart to decrease likeliness of mis-clicks, especially on phone screens.
- adjusted send_form opacity/background stylings to allow #options to perform blur effect
- added <br> after novel API URL input to match KoboldAI form style
- cleaned up #options_content and added styling
2023-02-27 00:19:51 +09:00
76cfa2c050 Update style.css 2023-02-26 21:40:22 +09:00
5d38f57292 menu btn color and character_popup changes
charcter_popup set to cover all main sheld elements for ease of use and to limit user errors (using the chat input box while having the character's advanced defs popup open)

removed forced coloring from popup menu buttons.
2023-02-26 21:30:33 +09:00
335f311474 Merge remote-tracking branch 'ross/main' 2023-02-26 13:41:43 +02:00
4aecc49e2a various design edits
- changed background color of messages selected for deletion
- changed color of delete message confirmation buton
- changed size/height of deletion menu to match normal send_form height (to avoid #chat resizing awkwardly)
- reverted #chat scrollbar to normal display since corners are no longer rounded
- removed corner radius from #chat .mes divs, since they are invisible anyway
- removed large margin-bottom between #chat .mes divs and replaced with a smaller padding. (This makes the delete screen look nicer as there are no gaps between the selected messages)
- aligned deletion checkboxes in the center of the divs and vertical aligned with avatar icons
2023-02-26 20:34:06 +09:00
2a13d1d9d5 changed character-popup to match new chat div style 2023-02-26 19:34:49 +09:00
4d36ebd6f3 changed send_form display
-100% width
- send_form's grid cell widths and options button paddings changed to fit
- changed corner roundness of chat and send_form
- reduced margin between chat and send_form to 1px
2023-02-26 18:31:39 +09:00
3d05198efd changed input bar status indication
- removed the indicator circle under the send button
- made send_form turn red when not connected
- changed send_textarea's placeholder text when not connected
- made send button hide when not connected (avoids users trying to use API and instead getting a 'character not selected' button)
2023-02-26 18:19:04 +09:00
2263ebe75d Update style.css 2023-02-26 17:04:52 +09:00
384bb56f1e Update index.html 2023-02-26 13:30:17 +09:00
2500fc3cdd hotkey switch
enter = new line
shift+enter = send
(imperfect solution but slightly better for mobile users)
2023-02-26 11:22:06 +09:00