Commit Graph

4527 Commits

Author SHA1 Message Date
Cohee 5de80f4c6d Merge branch 'staging' into timed-wi 2024-06-23 18:31:40 +03:00
Cohee fa9ae4c979 Specify that flushvar supports closures 2024-06-23 18:28:22 +03:00
Cohee 946994af22 /input should return empty string if canceled 2024-06-23 18:16:15 +03:00
Cohee bd9c10c2eb /messages text consistency 2024-06-23 18:14:10 +03:00
Cohee b105a2ef24 Add missing /trigger unnamed type, fix names for ask and delname 2024-06-23 18:10:56 +03:00
Cohee a85ac96f82 Fix /peek typings. Clarify hints for member indices 2024-06-23 18:01:16 +03:00
Harrison 9b17f4e0c0 add search functionality for models 2024-06-24 00:47:06 +10:00
Cohee eb8f4bebe0 Argument for API is not required 2024-06-23 17:42:00 +03:00
Cohee f3327c06ab Update trim direction emoji 2024-06-23 17:39:57 +03:00
Cohee 6594b3c7fa Inject supports variables for ID 2024-06-23 17:21:55 +03:00
Cohee 2012bb49d2 Make /member command indices 0-based to match autocomplete 2024-06-23 16:47:07 +03:00
Cohee e736283785 Return cache to WI 2024-06-23 16:24:33 +03:00
Cohee 38cc4f789b Fix string quotes 2024-06-23 15:57:07 +03:00
Cohee e2593215bf Fix speak command broken 2024-06-23 15:44:53 +03:00
Cohee 278b526898 Add icon for voice command 2024-06-23 15:43:57 +03:00
Cohee 5a50ed97be Clean-up /sd command help 2024-06-23 15:27:19 +03:00
Cohee d0b6243f77 Add character filter to lastsprite 2024-06-23 15:23:03 +03: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 a161ebfcaf Up visibility of close button 2024-06-23 14:53:01 +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 3e27f0213a Fix cooldown debug log 2024-06-23 01:58:18 +03:00
Cohee 9ec8aa3bf9 Fix JSDocs 2024-06-23 01:53:45 +03:00
Cohee 7875a65b44 Kinda misleading comment 2024-06-23 01:52:10 +03:00
Cohee 461b73facf Adjust min values.
For easier disabling
2024-06-23 01:50:17 +03:00
Cohee 4b4ee7409b Merge branch 'staging' into timed-wi 2024-06-23 01:49:49 +03:00
Cohee 323f34f5d4 Fix QR breaking when no sets 2024-06-23 01:34:10 +03:00
Cohee de1910268a Add missing macro reference 2024-06-23 01:26:25 +03:00
Cohee a39a1a7cec Fix odd-named preset selection via command 2024-06-22 17:44:08 +03:00
Cohee 8564d6faa8 Debug function to purge all vectors 2024-06-22 17:41:02 +03:00
Cohee b8830e34d3 Add ollama download shortcut to vector storage 2024-06-22 16:38:00 +03:00
Cohee b448568aa3 More ollama multimodal models 2024-06-22 16:28:57 +03:00
Cohee b513043e4a Prevent sticky from using probability 2024-06-22 15:04:49 +03:00
Cohee 0fe19bca47 Non-static map. Better typing. 2024-06-22 14:56:46 +03:00
Cohee b4559d3fd8 Use WeakMap for WI cache 2024-06-22 14:43:15 +03:00
Cohee 6c9f3a868d Merge branch 'staging' into timed-wi 2024-06-22 14:39:38 +03:00
Cohee 36ecf8a717 Update UI when remembering tag import setting 2024-06-22 12:56:57 +03:00
Cohee aa16ac446d Migrate preference for existing users 2024-06-22 12:53:03 +03:00
Cohee a6e2692e52 Merge branch 'staging' into tag-import-setting 2024-06-22 12:48:08 +03: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
Wolfsblvt d64b265a39 Tag import popup improvements
- Save "remember" setting of tag import popup
- Add user option to change the tag import setting
- Improve tag import popup with adding drilled down bogus folders as auto-added tags
- Extract tag import popup to template
- Force-open popup no matter the setting on char dropdown button option
2024-06-22 05:03:05 +02:00
Wolfsblvt 7c2b475e46 Improve popup class with close event handlers 2024-06-22 04:54:13 +02:00
Cohee d02fbbb42f Change type of timed events metadata 2024-06-22 03:54:54 +03:00
Cohee 37930caade Refactor timed events funcs 2024-06-22 03:15:13 +03:00
Wolfsblvt c6c8f91c99 forceEnum:false as default & enum icon changes
- Set forceEnum to false, for now
- Switch some icons around
2024-06-22 01:04:03 +02:00
Cohee 473e11c773 New OpenRouter providers 2024-06-22 02:03:39 +03:00
Cohee abb186db01 He warned me. I didn't listen. 2024-06-22 00:46:14 +03:00
Cohee a00560d2b3 Ensure format supported before captioning 2024-06-22 00:36:29 +03:00
Cohee 791ce3da86 Add stopgaps to fill the second row 2024-06-22 00:11:08 +03:00
Cohee 6380e0a062 Add fallback source for attachments. Fix typo 2024-06-21 23:48:11 +03:00
Cohee 62bc550d3a Open enums with Alt+Space (also non-breaking) 2024-06-21 23:32:17 +03:00
Wolfsblvt da6d77cffd Enum provider for /model 2024-06-21 21:24:37 +02:00
Wolfsblvt 824d0a9b63 Small fix to boolean automatic enums 2024-06-21 20:40:58 +02:00
Cohee 1ede346cbc Merge branch 'staging' into timed-wi 2024-06-21 21:18:12 +03:00
Wolfsblvt 3ab5cc1766 Merge branch 'staging' into slash-command-enums 2024-06-21 20:07:19 +02:00
Wolfsblvt 48077d200b More slash command enums (nearly done) 2024-06-21 20:04:55 +02:00
Cohee 30765550c8 Place sticky + cooldown entry on cooldown when unstuck 2024-06-21 20:50:18 +03:00
Cohee 56710fee39 Apply fix for group chats 2024-06-21 13:09:41 +00:00
splitclover 0c69b698b9
Removed redundant emmiter 2024-06-21 14:16:59 +02:00
splitclover feb8321147
Fix emmiter for imported cards 2024-06-21 13:53:31 +02:00
splitclover 3092c68a05
Fixed typo 2024-06-21 13:19:36 +02:00
splitclover 2a1704add0
Added event emmiters when creating new chats 2024-06-21 13:12:57 +02:00
Cohee 9c3cad2df2 Fix sticky/cooldown interaction. Add icons 2024-06-21 02:42:15 +03:00
Cohee aa473dd749 Move new fields to the right 2024-06-21 01:06:00 +03:00
Cohee ab7b07ba28 Add sticky and cooldown for timed WI entries 2024-06-21 00:53:00 +03:00
Wolfsblvt a5baa3605f Fix closing popup sometimes being stuck via Escape 2024-06-20 21:43:13 +02:00
Wolfsblvt f092269c01 Fix toastr alignment in popups 2024-06-20 21:02:50 +02: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 514ac27d00 Remove unmatched closing div 2024-06-20 20:40:37 +03:00
Conor Nash c684bfbf52 Claude Sonnet 3.5 2024-06-20 16:31:55 +01:00
Cohee 8d5876c2c8 Rename endpoints for websearch 2024-06-19 22:37:51 +03:00
Cohee 75dfe87054 Fix character_message_rendered firing twice on new chat 2024-06-19 21:34:46 +03:00
Cohee 8e8b6b353a Fix deleting first message with /del 2024-06-19 21:28:07 +03:00
Cohee 10fd2e1334 #2395 Treat default example as empty 2024-06-19 21:23:25 +03:00
Cohee e5c8a920ee Remove debug toast(?) 2024-06-19 13:13:34 +03:00
Wolfsblvt dca81aef3d Small fixes to /popup, /buttons and QR popup
- FIx /popup and /buttons commands to use the new popups
- Change /buttons to utilize data results
- Fix "hide while executing" option from QR editor
- Fix QR editor throwing an error on execution
2024-06-19 01:40:22 +02:00
Cohee e7772f04a4 Don't require a primary WI to use additionals 2024-06-18 12:09:28 +03:00
Cohee 7249294ffd Fix startup on old firefox 2024-06-18 11:32:50 +03:00
Cohee e861a406a3 Don't auto-switch to a new theme on import 2024-06-18 02:14:22 +03:00
Cohee 22d598c0f5 Fainter faint outline 2024-06-18 02:01:39 +03:00
Cohee c3cbf33ba0
Merge pull request #2330 from Wolfsblvt/smol-tag-improvements
Smol tag improvements & Huuuuuge popup/dialog rework (heh)
2024-06-18 01:58:52 +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 88b6331aed Add swap SD dimensions button 2024-06-18 01:10:23 +03:00
Cohee a9c4422c87 Redesign SD settings 2024-06-18 00:49:42 +03:00
Cohee 08a0b1e828 Merge branch 'staging' into smol-tag-improvements 2024-06-17 21:52:36 +03:00
Cohee b09e86fb53 TTS code clean-up 2024-06-17 21:21:41 +03:00
Cohee feb7675d2f Auto-set language on exported translate function. 2024-06-17 21:18:30 +03:00
Casey Haralson 4d25856b4f
periodically calls the tts module when a paragraph has been generated (#2381)
* periodically calls the tts module when a paragraph has been generated

* adding option for periodic auto generation

* updating find end paragraph logic and config label

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-17 21:17:31 +03:00
Cohee fe5289c495 Fix TTS audio preview 2024-06-17 20:28:19 +03:00
Cohee 1d3914324f Fix data-i18n removing options 2024-06-17 11:25:13 +03:00
Cohee be9f34ab8a Fix data-i18n removing options 2024-06-17 11:23:59 +03:00
Wolfsblvt 7f7ecdcca8 Merge branch 'staging' into slash-command-enums 2024-06-17 07:06:26 +02:00
Wolfsblvt 66d609c35f Several million refactoring of existing slash commands with enums (really) 2024-06-17 07:04:10 +02:00