Commit Graph

182 Commits

Author SHA1 Message Date
RossAsscends
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
RossAsscends
e16b1d533b nav-toggle transparency
fixed the transparency on the new nav-toggle setup.
2023-03-01 04:42:07 +09:00
RossAsscends
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
RossAsscends
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
RossAsscends
d9a7a74116 Update index.html 2023-02-28 19:07:41 +09:00
RossAsscends
097cfc2e4f Update style.css 2023-02-27 02:11:28 +09:00
RossAsscends
7ecf8b58ca reversed Enter/Shift+Enter functions
(and made connect buttons larger for mobile)
2023-02-27 00:27:41 +09:00
RossAsscends
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
RossAsscends
76cfa2c050 Update style.css 2023-02-26 21:40:22 +09:00
RossAsscends
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
RossAsscends
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
RossAsscends
2a13d1d9d5 changed character-popup to match new chat div style 2023-02-26 19:34:49 +09:00
RossAsscends
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
RossAsscends
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
RossAsscends
2263ebe75d Update style.css 2023-02-26 17:04:52 +09:00
RossAsscends
384bb56f1e Update index.html 2023-02-26 13:30:17 +09:00
RossAsscends
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
RossAsscends
d44cbac87f added proper scrolling to character settings side panel 2023-02-26 10:40:46 +09:00
RossAsscends
26417f1383 Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 21:15:36 +09:00
RossAsscends
e156373ad0 input bar auto-shrink on send
previous the input bar would expand to the fit the size of the typed input, but when it was sent, the bar would stay the same size. Now it will auto-shrink back to default size after sending the input to AI.
2023-02-25 21:15:29 +09:00
RossAscends
5029c6c3f5 added TAI main branch config.conf 2023-02-25 17:34:05 +09:00
RossAsscends
4f2174eced Delete settings.json 2023-02-25 17:20:04 +09:00
RossAsscends
60cbda218c Update .gitignore 2023-02-25 17:10:52 +09:00
RossAsscends
d63c5683e3 removing more files so gitignore will stop tracking 2023-02-25 17:09:13 +09:00
RossAsscends
64a1ecac7e Update .gitignore 2023-02-25 17:04:32 +09:00
RossAsscends
2cda771055 removed character and chats from this branch
just trying to update the gitignore
2023-02-25 17:03:34 +09:00
RossAsscends
d400a74bed Update .gitignore 2023-02-25 16:57:34 +09:00
RossAsscends
de6cfc339a Update .gitignore 2023-02-25 16:56:31 +09:00
RossAsscends
a0efd37a0c Update .gitignore 2023-02-25 16:50:28 +09:00
RossAsscends
13a1110474 Update .gitignore 2023-02-25 16:49:56 +09:00
RossAsscends
05ef64769d Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 16:46:53 +09:00
RossAsscends
001c8fa2b8 Update .gitignore 2023-02-25 16:46:41 +09:00
RossAscends
cc55a885a4 Update style.css 2023-02-25 16:44:49 +09:00
RossAsscends
9b9a6d909a updated gitignore
should hopefully not be tracking these files for future pushes.
2023-02-25 07:00:46 +09:00
RossAsscends
743371159b added gitignore
so future pushes don't include user data from public subdirectories, and uploads directory. also removed my config.conf, as I change it to disable the whitelisting feature.
2023-02-25 06:46:03 +09:00
RossAscends
5cf91b1264 some more index.html reverts
added back in cookie JS, favicon, and removed bootstrap links/script references.
2023-02-25 06:31:00 +09:00
RossAscends
aa33f3be94 small CSS fix, reverting to default.
line 62 and 74 : background URL from "taverna.png" (my change) to "tavern.png" (default). I had made the url changes as a test for functionality while altering BG behavior. 

Even if taverna.png is in the CSS, the BG swapping works properly. 

I think I did this because having it set to tavern.png in the initial CSS will remove whatever BG was chosen by the user in a previous session. Could be wrong about that.
2023-02-25 06:18:15 +09:00
RossAscends
1f4c01fedf manual re-addition of index.html tokenizer code
line 849:
if((anchorTop != "" || charPersonality != "") && !is_pygmalion){

line 1035:
if(message_already_generated.indexOf('You:') === -1 && message_already_generated.indexOf('<|endoftext|>') === -1 && tokens_already_generated < parseInt(amount_gen) && getMessage.length > 0){
2023-02-25 06:03:12 +09:00
RossAscends
1c0ce37d3e Update bg_load.css 2023-02-25 05:46:17 +09:00
RossAscends
872c39ce3b Update index.html 2023-02-25 05:45:19 +09:00
RossAsscends
3663eb4564 Merge branch 'main' of https://github.com/RossAscends/TavernAI 2023-02-25 05:38:14 +09:00
RossAsscends
02330b4d12 Ross CSS 1.2.8 + hotkeys take 3 2023-02-25 05:36:41 +09:00
RossAscends
d8544385ab Merge pull request #1 from SillyLossy/ross-css
New CSS from RossAscends
2023-02-25 05:14:43 +09:00
SillyLossy
21198fbad8 New CSS from RossAscends
Cleaner changes from https://github.com/RossAscends/TavernAI/tree/RossAscends-TavernAI-UI-for-1.2.8
2023-02-24 21:13:37 +02:00
Ash
a104082943 ip checking whitelist fix 2 2023-02-18 20:17:35 +04:00
Ash
f24fd58710 ip whitelist fix 2023-02-18 19:54:44 +04:00
Ash
388acc4ddd optimisation checking EOS tag 2023-02-17 19:04:50 +04:00
Ash
d6afa07560 favicon 2023-02-17 14:52:08 +04:00
Ash
6cf2d95144 ip whitelist check fix 2023-02-17 02:58:07 +04:00
Ash
7b9837fd06 fix 2023-02-17 02:42:49 +04:00