Commit Graph

357 Commits

Author SHA1 Message Date
Cohee a2661b2c48
Merge pull request #2560 from SillyTavern/dupe-persona
Dupe persona
2024-07-26 19:47:51 +03:00
Cohee 00d74ec683 #2558 Add persona duping 2024-07-25 23:44:34 +03:00
Cohee b7a1474d7b Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
Cohee 0a0fc0141c Limit edit textarea height to 75% 2024-07-12 21:39:32 +03:00
Wolfsblvt ec10090cd4 Fit/fix flash duration animation to length 2024-07-10 19:43:58 +02:00
Cohee 79069b49b8 Replace body height units from svh to dvh 2024-07-08 15:06:06 +00:00
Cohee ffea974b07 Reduce font-size of position value 2024-07-04 20:33:00 +03:00
Cohee 04b46a270d Replace border with outline 2024-07-04 20:20:10 +03:00
David Fedolfi 2fccd83083 Group Chat Queue Display
- removing queue position from character object - storing in map in group_chat.js instead
- moving queue position to div
- moving '#' from js to css ::before
- adding option to settings
- cleaning up guards
2024-07-04 09:52:56 -04:00
David Fedolfi f85b843b3e - Adding display of queued speakers in group chat windows. 2024-07-03 17:00:10 -04:00
Cohee f181d1a847 Add button to re-caption message image 2024-06-30 00:31:54 +03:00
Cohee 3803714465 Limit height of enlarged image prompt 2024-06-28 20:46:41 +03:00
Wolfsblvt 124cbfdfa4 Update Popup to support custom input checkboxes 2024-06-27 02:28:25 +02:00
Cohee 8b1492a2d9 Mono font family for kbd 2024-06-26 20:39:39 +03:00
Cohee b1fa4d3038 Remove font-family we don't vendor 2024-06-26 20:37:29 +03:00
Wolfsblvt c55452d0ea Update prompt itemization to new popup 2024-06-26 04:49:07 +02:00
Cohee 0e0bd0d3d9 Update char avatar crop. Remove old cropper 2024-06-25 02:25:38 +03:00
Cohee e0000bade6 Port image cropper to new popup 2024-06-25 02:05:35 +03:00
Cohee 62a1cb1dce Move built-in extensions to fixed wand containers 2024-06-24 23:17:58 +03:00
Cohee 508b685fdc Add css, less, html to editorconfig 2024-06-24 21:49:15 +03:00
Wolfsblvt 9059621dab Fix wider popup overflowing on small screens
-Fixes #2414
2024-06-24 00:28:02 +02:00
Cohee eba0f54477 Merge branch 'staging' into slash-command-enums 2024-06-23 15:01:55 +03:00
Cohee 03cfbca7cf Distraction-free image zooming 2024-06-23 14:58:08 +03:00
Cohee 58a85fa0c8 Remove focus outline from transparent popups 2024-06-23 14:11:00 +03:00
Wolfsblvt 7642b66a0e Improve enlarge inline image
- Make enlarge inline image popup zoomable
- Add optional popup class for transparent popups
2024-06-23 12:26:52 +02:00
Wolfsblvt 48621f1d50 Fix scaling of enlarged popup image 2024-06-23 02:43:37 +02:00
Wolfsblvt 42766a715d Popup type "DISPLAY" & image enlarge changes
- New popup type "DISPLAY", for showing content with an X in the corner, without buttons
- Rework popup result controls to automatically support click (or other) events to close complete the popup
- Fix inline image icons/actions being keyboard interactable
- Switch inline image enlarge popup to new DISPLAY type
2024-06-23 02:32:06 +02:00
Cohee 26eb5f0926
Merge pull request #2406 from SillyTavern/gray-out-useless-folders
Gray out bogus folders if they don't drill down
2024-06-22 12:46:06 +03:00
Wolfsblvt 07da2461d0 Fix vertical scaling of images in enlarge popup 2024-06-22 10:04:14 +02:00
Wolfsblvt c79f1e4360 Fix image enlarge popup image sizing 2024-06-22 08:52:13 +02:00
Wolfsblvt 87915a5f79 Gray out bogus folders if they don't drill down
- Implements and resolves #2404
- Common CSS class for entities in char list
- entity flag to lower opacity for entities that aren't really useful for navigation
2024-06-22 08:15:31 +02:00
Cohee abb186db01 He warned me. I didn't listen. 2024-06-22 00:46:14 +03:00
Cohee 791ce3da86 Add stopgaps to fill the second row 2024-06-22 00:11:08 +03:00
Wolfsblvt ffc84f5118 Merge branch 'staging' into slash-command-enums 2024-06-20 20:38:55 +02:00
Wolfsblvt 461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
Cohee 22d598c0f5 Fainter faint outline 2024-06-18 02:01:39 +03:00
Wolfsblvt dadef92fdf Switch focus styles to :focus-visible
- Switched dynamic styles to :focus-visible to let the browser decide when to display
- Changed most existing :focus CSS selectors to also use :focus-visible
-Made style variables for focus outlines (main and a faint one)
- Remove focus outline from chat bar buttons
- Fix focus of chat bar highlight, moved to outer border
- Fix buttons in chat backgrounds with keyboard navigation
2024-06-18 00:14:15 +02:00
Cohee 08a0b1e828 Merge branch 'staging' into smol-tag-improvements 2024-06-17 21:52:36 +03:00
Cohee 065d453477 Use main font variable where possible 2024-06-17 00:25:08 +03:00
Wolfsblvt 316df6ed17 Remove remnant CSS classes, whoops 2024-06-16 23:20:24 +02:00
Wolfsblvt f67ed6d22a Fix tabbing with hotswap multiple rows
- Add scroll-reset-container CSS class and handling
- Fix tabbing through hotswap favs by resetting position
2024-06-16 23:13:36 +02:00
Cohee e3a46df010 Merge branch 'staging' into smol-tag-improvements 2024-06-16 16:04:37 +03:00
Len 5cb319771d
Parser followup (#2377)
* set pipe to empty string on empty closure

* fix missing parser flags and scope

* add closure serializing

* add enum provider function to slash command arguments

* add enum providers for /bg, /ask, and /go

* fix index out of bounds returning undefined

* keep whitespace as is in mixed unnamed args (string+closure)

* add _hasUnnamedArgument to named arguments dictionary

* allow /var key=x retrieval

* add enum provider to /tag-add

* fix typo (case)

* add option to make enum matching optional

* add executor to enum provider

* change /tag-add enum provider to only show tags not already assigned

* add enum provider to /tag-remove

* fix name enum provider excluding groups

* remove void from slash command callback return types

* Lint undefined and null pipes

* enable pointer events in chat autocomplete

* fix type hint

---------

Co-authored-by: LenAnderson <Anderson.Len@outlook.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-15 00:48:41 +03:00
RossAscends 4c81215a60 fix theme-disrespecting text colorizing 2024-06-14 21:50:54 +09:00
Wolfsblvt bdf7fccbae Fix small things from code review
- Remove unused tailwind classes
- Added comment about timeout jsdoc
- Moved new CSS files to @import
2024-06-13 23:55:28 +02:00
Wolfsblvt 96f04a1c49 Merge branch 'staging' into smol-tag-improvements 2024-06-13 23:40:19 +02:00
Len aa4bdec79c
Fix syntax highlight editor (#2300)
* add Noto Sans Mono as default monospace font

* fix ::selection for syntax highlighted editor

* add full noto sans mono

* add explicit "overflow: auto" to textarea to stop Firefox from freaking out

* add syntax hightlight disable toggle

* fix noto sans mono path

* fix details position on scroll

* disable pointer events on autocomplete wrap

* fix for Firefox bug using relative colors

* Shorten font file names.
So that I won't have to scroll the list horizontally

---------

Co-authored-by: LenAnderson <Anderson.Len@outlook.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-13 21:05:50 +03:00
Wolfsblvt d98d811cc1 Merge branch 'staging' into smol-tag-improvements 2024-06-08 21:13:11 +02:00
Wolfsblvt d1824acee0 More small improvements on interactable styling 2024-06-08 07:13:52 +02:00
Wolfsblvt e2089b1e44 Dozens new keyboard interactables
- Made dozens of existing controls keyboard interactable
- Tweaked styling so the keyboard focus looks more pleasant
2024-06-06 02:48:06 +02:00