Commit Graph

222 Commits

Author SHA1 Message Date
f5ecd1fa5f Reduce warning level to debug 2025-03-19 19:15:07 +02:00
2e936e804a Fix default value for filter argument 2025-03-19 10:17:08 +01:00
5a6058d319 Adds sprite-based filtering for expressions
- Functionality only available for LLM/webLLM
- New toggle to filter expressions on availalbe sprites
- `getExpressionsList` filters cached expressions when checked (using sprite folder name/override)
- `/expression-list` slash command has "filter" arg to filter list
- `/expression-classify` slash command has "filter" arg now, to use filtered list for classification
- `getExpressionLabel` uses filtered expressions when LLM/webLLM
2025-03-19 03:06:50 +01:00
5585220d0a Fix Expression Override not resetting if empty
- When switching chars, override field gets correctly loaded. The display value won't be reset when the override was empty. This was likely unintended.
2025-03-17 23:23:58 +01:00
1aae08be5b Fix char A/N and expressions folder for first in the list 2025-02-28 09:12:22 +00:00
3cf4be8e85 Remove unused import 2025-02-22 20:12:19 +02:00
f2cac8e7f7 Revert "Return fallback expression if no group message found" 2025-02-22 20:02:34 +02:00
d21b0f1b5e Add default fallback expression 2025-02-22 13:45:54 +02:00
db988411fd Return fallback expression if no group message found 2025-02-22 13:40:43 +02:00
afbe21b6b4 Make sendExpressionCall exportable
- For compatibility with existing extensions
2025-02-22 01:44:42 +01:00
a7d7b6fb0f Fix group VN updates on switching to chat 2025-02-21 22:05:08 +02:00
cb6adc30ce Fix null confrimation when no custom expressions 2025-02-21 02:05:43 +02:00
bdbcf8623e Fix force set emote in group 2025-02-21 01:46:10 +02:00
e35217e7e3 Fix image loading resolve 2025-02-21 01:32:13 +02:00
aca1cb7f99 Fix first reorder of group VN with reduced motion 2025-02-21 01:19:19 +02:00
07160e0e60 Fix group VN mode not updating on kicking group members 2025-02-21 01:01:30 +02:00
179153ae67 Fix group VN mode with reduced motion 2025-02-21 00:51:17 +02:00
94f53835f4 Forbid custom expressions to be prefixed with defaults 2025-02-21 00:29:05 +02:00
3574527780 fade "reroll if same" if no multi sprites enabled 2025-02-20 19:28:54 +01:00
2834681a4b Fix sprite upload replace existing
- Also fix form not resetting on cancel of replace popup
2025-02-20 19:25:20 +01:00
19e2a2f7d2 safety check on upload on sprite name 2025-02-20 19:05:20 +01:00
a58e026a40 Don't show del popup on placeholder sprite 2025-02-20 19:02:29 +01:00
a40f568409 Fix sprite deletion 'no' option 2025-02-20 18:51:44 +01:00
135bf8a55b Add progress toast for sprite ZIP upload 2025-02-20 00:12:40 +02:00
bd6da695c8 cleanup examples for multi sprites 2025-02-19 22:30:51 +01:00
531999dc04 Ensure unique suggested sprite names 2025-02-19 22:12:29 +01:00
58bbfc0d4e Add types for global translation function 2025-02-19 22:18:09 +02:00
c12f26441e Merge branch 'staging' into support-multiple-expressions 2025-02-19 20:22:02 +01:00
f83dccda39 Mark 'Extras' option as deprecated in built-in extensions 2025-02-08 21:56:54 +02:00
e5e931356b Remove forceEnum from char args in slash commands
- This precented people from actually using the characterKey inside the chatbox to go to a character
2025-02-02 03:43:20 +01:00
1ea2134936 Add title tooltip to expression sprites
Closes #2596
2025-02-01 23:43:45 +01:00
fb2ee756dd Update and fix default expressions + emojis
- Move "use default emojis" from its own toggle into the fallback dropdown
- Add "no fallback" to the fallback dropdown
- fix fallback expressions not being consistently used
- Switching fallback will now reroll/reset the relevant expression
- Add html attributes on the expression image
2025-02-01 07:52:04 +01:00
5c30244627 Fix visual novel mode for new expression thingy 2025-02-01 04:46:30 +01:00
198d10e759 Allow setting specific sprites as expressions
- Update /expression-set command to allow setting specific sprites
- Enhance enum completion for /expression-set to show expressions/sprites and more their info
- Fix setting sprite folder reprinting stuff double
- Fix not being able to unset expressions
2025-01-30 02:42:05 +01:00
73393a5d5e yoink talkinghead - goodbye extras dependency 2025-01-30 01:44:27 +01:00
6348d1f19a CSS fixes (hide overflow, sprites interactable) 2025-01-28 00:17:42 +01:00
d316d51c0b Rework expression slash commands
- Common naming schema for slash commands, all starting with the name of the expression - moved the original names to aliases
- Make char name optional for /expression-last if not in group chat
- Removed legacy 'format' argument handling from /expression-classify
- Fixed /expression-upload to the new backend call, added optional 'spriteName' argument
2025-01-27 23:48:37 +01:00
84a8a2bc2b Fix expression sprite sorting, fade additional
- Sort alphabetically, but keep the main expression file first
- Fade additional sprite images if "allow multiple" is not chosen
2025-01-27 23:01:29 +01:00
7063af7363 Move new expression settings, add tooltip 2025-01-27 22:10:31 +01:00
3d6f48786d Refactor expression popups to modern popup 2025-01-27 21:57:40 +01:00
65ad79adce Fix expression delete 2025-01-27 21:50:13 +01:00
ef127df623 Update sprite delete call 2025-01-27 08:33:14 +01:00
3282c9426c Upload expressions update 2025-01-27 05:39:51 +01:00
239c3f1db7 Add settings for multiple expressions 2025-01-26 23:11:22 +01:00
adede8b6be Roll on the sprite to use for an expression 2025-01-26 19:12:37 +01:00
a072951102 Update backend returned sprites list 2025-01-26 00:15:46 +01:00
126e4fa698 Display additional images in expression list
- Update Expressions List to display additional images per expression
- Make additional images appear visually distinct
- Fix small issues with custom labels not always being shown
- Add tooltip on all expression images
- Modify /api/sprites/get endpoint to correctly parse the label from filenames that might be additional files
2025-01-08 01:20:25 +01:00
0f93caa427 Fix type errors in command registration 2024-12-22 18:12:07 +02:00
c3a12cc1a2 feat: /uploadsprite slash command 2024-12-22 12:55:20 +11:00
7bb37f129d fix: move cache-busting to server side 2024-12-22 12:33:01 +11:00