Commit Graph

210 Commits

Author SHA1 Message Date
Wolfsblvt dae90373e7 Tag Filters: Improve grid view
- Add character count to groups and folders in grid view
- Fix name cut-off for groups
2024-03-07 05:20:43 +01:00
Wolfsblvt fb97f563b7 Tag Folders: show hidden numbers
- Show hidden counts for folders, and total
- Rework resizing of character names to shrink additional data first
- Better placement for group numbers
2024-03-07 02:15:41 +01:00
Wolfsblvt 18379ec602 Tag Folders: Improve global tag filters
- Update global tag filters to three-state filters
- Add filter for folders (showing empty folders or no folders)
- Final fix of filtering (should be correct now)
2024-03-06 23:13:22 +01:00
Wolfsblvt fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Wolfsblvt 8e184254c8 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-06 01:07:22 +01:00
Wolfsblvt e578d3dbb6 Tag Folders: hidden/closed folders
- Implement folder types: Open, Closed, None
- Closed folders hide characters from most places
- "character(s)" singular wording on entity list
- small refactoring for that code
2024-03-06 00:28:14 +01:00
RossAscends be38359d66 add maximize button to creator note 2024-03-03 22:25:20 +09:00
RossAscends 77791ae3e9 revamp creator note & spoiler hide/show 2024-03-03 18:55:16 +09:00
Wolfsblvt c0e112d195 Tag Folders: inline info for groups and avatars
- Add list of character avatars to folders (overflow hidden)
- Add and/or move count of characters for both groups and folders in overview
- Add name list of all chars for groups, above tags
- Replace alt texts of all avatar images with the entity name
- Made title/mouseover tooltip more useful with separation between types and their names
- refactored CSS usage of avatar sizes to global variables
- grid view alignment changes
2024-03-03 02:12:18 +01:00
Cohee d57b5ad6f7 Fix code style 2024-03-01 21:35:33 +02:00
Deciare d554edc023 Support underlined text formatting.
- Enable the `underline` option for Showdown.
- Implement option for underlined text colour.
- Update stylesheet.
2024-03-01 00:35:27 -05:00
Cohee a746077a1e Sort personas by name. 2024-02-02 04:07:51 +02:00
Cohee b1b2cd44b3 Consolidate round avatar sizes 2024-01-31 22:14:45 +02:00
Cohee 891077be43 Add min-width to personas search input 2024-01-31 12:24:27 +02:00
Cohee 872418757c #1761 Personas grid view (slight return) 2024-01-31 12:13:01 +02:00
Cohee 115082bfdd Move default persona outline to image block 2024-01-31 03:32:32 +02:00
Cohee c01217ac76 Clean-up styles and handlers 2024-01-30 20:16:48 +02:00
Cohee 4542c66664 #1761 Persona management overhaul 2024-01-30 19:12:56 +02:00
Cohee 1647e5ae49
Merge pull request #1734 from khanonnie/alternative-tokens
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
khanon 60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
Cohee 625a07ac1f Fix Chrome 121 scrollbars 2024-01-24 14:25:13 +02:00
valadaptive 8fb26284e2
Clean up Generate(), part 2 (#1578)
* Move StreamingProcessor constructor to the top

Typical code style is to declare the constructor at the top of the class
definition.

* Remove removePrefix

cleanupMessage does this already.

* Make message_already_generated local

We can pass it into StreamingProcessor so it doesn't have to be a global
variable.

* Consolidate setting isStopped and abort signal

Various places were doing some combination of setting isStopped, calling
abort on the streaming processor's abort controller, and calling
onStopStreaming. Let's consolidate all that functionality into
onStopStreaming/onErrorStreaming.

* More cleanly separate streaming/nonstreaming paths

* Replace promise with async function w/ handlers

By using onSuccess and onError as promise handlers, we can use normal
control flow and don't need to remember to use try/catch blocks or call
onSuccess every time.

* Remove runGenerate

Placing the rest of the code in a separate function doesn't really do
anything for its structure.

* Move StreamingProcessor() into streaming code path

* Fix return from circuit breaker

* Fix non-streaming chat completion request

* Fix Horde generation and quiet unblocking

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-12-21 20:20:28 +02:00
Cohee 5734dbd17c Add custom endpoint type 2023-12-20 18:29:03 +02:00
Cohee 6e8104873e #1569 Add logit bias for text completions 2023-12-18 18:57:10 +02:00
Cohee 08ea2095f8 Refactor Novel logit bias 2023-12-18 17:32:10 +02:00
Cohee cebbf2fd55 Fix background layer flash 2023-12-15 18:43:36 +02:00
Cohee b524870544 Fix AI21 icon styles 2023-12-14 16:56:39 +02:00
Cohee 7482a75bbd
Merge pull request #1493 from valadaptive/generate-cleanups
Clean up Generate(), part 1
2023-12-11 20:21:32 +02:00
Cohee 0fcf8fd491 Typing indicator fixed 2023-12-11 18:23:00 +02:00
Cohee e7c2975ab0 Fix adv.defs overlap with past chats. Close CFG with Escape 2023-12-11 15:39:58 +02:00
Cohee f8a903e1fd #1506 Fix big markdown images 2023-12-10 18:45:55 +02:00
valadaptive a23be7d785 Clean up CSS for API "connect" buttons
Instead of identifying each connect button by ID, we can just use the
.api_button class. The .menu_button class *would* override it due to CSS
cascade rules (specifically, declarations later in the stylesheet apply
over ones that appear earlier), but the `.menu_button.api_button`
selector has a higher *specificity* and hence works.
2023-12-09 18:52:14 -05:00
Cohee c051fc3ce9 Add wrapper for description popouts, make them wider 2023-12-03 03:21:11 +02:00
Cohee 2c949b672a Fix bulk edit and message context action styles 2023-12-03 02:17:02 +02:00
Cohee 3e9927dc67 Add editor textareas maximize 2023-12-03 02:01:06 +02:00
Cohee 95df016d57 Adjustments for zoomed_avatar on ultrawide screens 2023-12-01 14:47:11 +02:00
Cohee c742251c5a Mobile sprites fixes: hide non-VN sprite, fix group VN position, fix live2d conflicts 2023-11-27 03:22:35 +02:00
Cohee 37610062a7 1px less Safari cope 2023-11-27 02:56:45 +02:00
RossAscends fd8697afc0 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-27 09:48:07 +09:00
RossAscends 34d8588691 QR popout 2023-11-27 09:48:05 +09:00
Cohee 313a6c9840 Fix unclickable icons in burger menus 2023-11-27 02:32:41 +02:00
RossAscends 4f7c925dc6 properly round left menu borders 2023-11-23 22:10:23 +09:00
Cohee 35349dd8d7 Hide page overflow 2023-11-22 17:59:46 +02:00
Cohee 2b54bfd1d5
Merge pull request #1380 from LenAnderson/checkbox-contrast
ensure checkboxes have contrast
2023-11-22 16:52:48 +02:00
LenAnderson 9f16b329c5 ensure checkboxes have contrast 2023-11-21 01:26:43 +00:00
Cohee 01b629bd49 New syntax for sendas command 2023-11-21 02:54:04 +02:00
Cohee ac07c8324d Configurable chat truncation amount 2023-11-19 21:57:54 +02:00
Cohee 7045d242e8 Add ability to attach files and images to messages 2023-11-18 19:24:55 +02:00
Cohee b559187722 Autoset height of QR slots. Revert textarea padding 2023-11-14 12:48:55 +02:00
Cohee 50f3def2eb Decrease icon size and text padding 2023-11-14 11:36:57 +02:00