Commit Graph

155 Commits

Author SHA1 Message Date
Cohee 9b38e3f449 Remove dated formula formatting references 2024-11-14 22:28:46 +02:00
Yokayo 9d664bc679 Update tl 2024-11-06 01:33:24 +07:00
Cohee 5b1a4fc723 Update char PHI macro lingo 2024-10-26 17:03:01 +03:00
Yokayo 4b0d342e8b Update translation-related stuff a little 2024-10-07 00:04:49 +07:00
Cohee a09a60ef31
Merge pull request #2930 from Yokayo/staging
Work on translation
2024-10-05 20:03:53 +03:00
Cohee 24300642dd Cleaner HTML Diff 2024-10-05 19:48:20 +03:00
Cohee 60fef3ee99 Restyle welcome 2024-10-05 19:45:41 +03:00
Yokayo aaa5a84d58 Get rid of numbered keys 2024-10-05 20:19:42 +07:00
ceruleandeep 02b0000117 Add clickable buttons in Welcome chat message.
Add bool `uses_system_ui` on system messages to override sanitizer for buttons when set

Modify uponSanitizeAttribute DOMPurify hook to allow unmangled class names on attributes in some cases

Add event listener for .drawer-opener to open a navbar drawer
2024-10-05 17:27:58 +10:00
Yokayo c98e3fd57d Change translation keys 2024-10-04 23:12:48 +07:00
Yokayo 7f9023d3c2 Work on tl 2024-10-01 21:25:20 +07:00
Cohee 42cfeae8ab Adjust WI headers 2024-09-29 01:17:22 +03:00
Cohee 9d38878007 Display existing prompts in instruct migration dialog 2024-09-22 22:46:31 +03:00
Cohee 8bf253d293 Display names in master import 2024-09-22 20:50:36 +03:00
Cohee 63bd7611b3 Uncheck textgen preset from master export by default 2024-09-22 20:47:05 +03:00
Cohee c2f945ef88 Implement master AF import / export 2024-09-21 23:21:19 +03:00
Cohee 6fb6400168 Add hints to migration dialog 2024-09-20 00:21:31 +03:00
Cohee b0c537d014 Migrate system prompts from imported instruct template 2024-09-18 00:38:15 +03:00
Cohee b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
Cohee 7eb7204dc7 Remove link to Extras from welcome 2024-09-16 00:46:43 +03:00
RossAscends b376ea884b
Markdown hotkeys for textareas (#2800)
* initial commit

* dont hijack all ctrl keybinds

* change strikethrough bind, convert to subscribable class, target key textareas

* better early return, hotkey reversiblility

* possible undo solution, key checks to switch

* execCommand alternate, perfect Undo

* format full word when caret is in the middle of a word

* double backticks do nothing, dummy.

* ctrl+K for ....'K'ode snippet...

* remove console logs

* Add new hotkeys to help

* Allow hotkeys in message edit textarea

* add markdown hotkey help text

* help text addition to mention hotkeys work in message edits

* add markdown hotkeys to WI entry content box

* disengage if alt/win pressed, universal prevent default

* disengage if shiftKey pressed

* re-allow shift for one special case

* add MD hotkeys toggle in user settings

* add markdown enabled icon on relevant textareas when appropriate

* Add icon to help

* Uniform formatting

* Add opacity to icon

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-14 14:16:26 +03:00
Wolfsblvt 748005b903 Remove unnecessary double popup for replace 2024-09-10 21:19:35 +02:00
Wolfsblvt 27e0905a1b Changes based on code review 2024-09-10 21:06:31 +02:00
Cohee 725aff3474 Display API and model used in itemization 2024-09-09 00:26:06 +03:00
Cohee f262eb256a Change no-char hint text 2024-09-04 21:14:55 +03:00
Cohee f7de495321
Chat without character selected (#2757)
* WIP: Enable chatting without character selected

* Add burger menu item

* Neutral assistant chat space

* Revert "Neutral assistant chat space"

This reverts commit be2da4a629.

* Revert "Add burger menu item"

This reverts commit d4e8d990c1.

* Use simple ephemeral chats

* Only start a new assistant chat if not already in it

* Don't emit event not to clear pending files

* Allow edits, disable checkpoints and branches

* Exclude from tags, allow copy

* Allow hide/unhide

* Allow zooming avatar

* Suppress warning

* Rename neutral character

* Rename neutral back to Assistant
2024-09-03 20:36:30 +03:00
Yokayo 383d46fe4d Work on tl 2024-08-26 01:39:56 +07:00
Cohee 7d3f544e63 Refactor extension install menu 2024-08-13 01:09:14 +03:00
RossAscends 704058ac36 re-divorce entry active state from trigger strategy 2024-08-10 12:48:47 +09:00
Cohee 93c7dd50f5 Fix template name case 2024-08-07 22:01:43 +03:00
steve02081504 02c5a40b98 Crate WorldInfoKeywordHeaders.html 2024-08-06 11:20:19 +08:00
steve02081504 755267bfb6 fix of empty `data-i18n` keys 2024-07-28 10:21:18 +08:00
Cohee 39c63dc78b Add user first and last prefixes for instruct 2024-07-26 23:10:09 +03:00
steve02081504 3e5f98223d fixes 2024-07-25 01:33:00 +08:00
steve green 021edfdb2e Update zh-cn.json
- Remove the carriage return from Key so that I18N will work properly in some browsers.
- Append two HTML files that will not actually be utilized so that the I18N tool will work properly.
2024-07-24 10:40:18 +08:00
Cohee 4ff8c69b81 Properly hyphenate 2024-07-21 22:12:38 +03:00
Cohee 5f0e74bd56 Rename PHI/aux UI fields 2024-07-21 14:29:13 +03:00
Wolfsblvt a81b1c4a33 Add tooltips to prompt itemization buttons 2024-07-17 01:31:34 +02:00
Cohee cd8cc70e4f Add custom macro for latest {{summary}}. 2024-07-17 00:10:40 +03:00
Cohee 07ac2460e2 Add vector storage to prompt itemization 2024-07-16 22:51:15 +03:00
Cohee 32feb7b1a4 Add macro help for reverse 2024-07-14 23:14:57 +03:00
Wolfsblvt af15794222 Update char submenu popups to new popup
- Update 'Scenario Override'
- Update 'Open Source'
- Update 'Replace Character'
- Update 'Convert to Persona' popups
2024-07-14 03:58:27 +02:00
kingbri 69077f6a6e Textgen: Add model downloading for TabbyAPI
Tabby has a HuggingFace downloader API endpoint. Add direct support
in SillyTavern by using the same method as ollama, but with the correct
parameters exposed.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-07-07 14:04:04 -04:00
David Fedolfi 014ef0cc4f Adding diff functionality to prompt dialog
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Cohee 73ac6475bd Restyle PM buttons 2024-07-04 19:59:39 +03:00
Wolfsblvt d5016ad672 Update tag import popup to new input 2024-06-27 02:52:34 +02:00
Wolfsblvt c55452d0ea Update prompt itemization to new popup 2024-06-26 04:49:07 +02:00
Cohee d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee c3461307a0 Update debug menu, theme and MUI naming popups 2024-06-26 00:24:21 +03:00
Cohee 1188cb46b8 Update theme import warning to new popup 2024-06-26 00:18:44 +03:00