Commit Graph
35 Commits
Author SHA1 Message Date
MAX-TABandCohee f107df8ca6 feat: Add Character Quick Reply Sets (#4215)
* charQR

* fix

* fix_2

* fix_3

* Fix refresh errors and Implement confirmation dialog logic

* FIX : The character's quick reply set is executed three times during the initial authorization and import.

* Enhance warning dialog content and layout

* refactor: Use local linking for Char QR sets instead of embedding

* Lint fixes

* Clean-up

* Emit CHAT_CHANGED on character deletion

* Remove isVisible filter, I'm sure it was by design

* Revert order of search in executeQuickReplyByName

* fix: Address review comments

* Add private tag to Char Sets

* Add QR rebind on renamed character

* Clean-up diff

* Don't save empty config lists

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-08-20 20:53:21 +03:00
Cohee c8b02dfd68 Fix duplicateQrSet
Fixes #4364
2025-08-10 16:10:41 +03:00
Cohee 0af4a3ebd7 Fix unfixable lints 2025-03-19 21:10:42 +02:00
Cohee a434d217cc Fix input prompt title for creating a new Quick Reply Set 2025-02-16 16:25:08 +02:00
Wolfsblvt b89d41a701 Refactor prepare/redraw for consistency 2025-01-11 02:31:14 +01:00
Wolfsblvt 3455da404a Add QR set duplicate button 2025-01-11 02:22:10 +01:00
Wolfsblvt 0f45ebda03 Refactor QR set popups to new popup 2025-01-11 01:59:38 +01:00
Wolfsblvt 4c1c62a56b Add QR set rename button 2025-01-11 01:41:46 +01:00
ceruleandeep 2f7bc7ca8d Filter out hidden items in context menus
Add CSS to apply label show/hide settings to QRs in context menus

Add provision for QR set applied to one of its own buttons as "burger" menu
2024-11-30 00:46:04 +11:00
ceruleandeep 3a1a955164 Make QR context menu display options more consistent with QR bar
Use QR title as tooltip if set on the QR

Add qr--hidden class to "invisible" context items to allow hiding with CSS

Add title and isHidden props to MenuItem

Remove domIcon and domLabel props: not needed for ctx menu rendering; isForceExpanded: unimplemented
2024-11-29 17:44:51 +11:00
Cohee de335a4a96 QR: Add toggle to hide popout button 2024-08-20 23:06:36 +03:00
Wolfsblvt 023bd840fa Fix QR context error on no set chosen 2024-07-30 19:54:17 +02:00
LenAnderson 03eb04e8f9 verify QR paste JSON and allow non-JSON pastes 2024-07-18 19:47:35 -04:00
LenAnderson cda920df08 fix toolcool color picker some more 2024-07-16 15:39:07 -04:00
LenAnderson 2a9ba4aec4 fix alphabetical order of QR Sets 2024-07-16 11:00:59 -04:00
LenAnderson 696c24051f fix color picker widget defaulting to black instead of its initial value and firing change event when added to DOM 2024-07-15 18:07:36 -04:00
LenAnderson ddce6c4e89 clear QR Set color and bg adjustments 2024-07-14 14:13:57 -04:00
LenAnderson 9f9553db44 add QR set colors 2024-07-13 14:45:35 -04:00
LenAnderson 5df932a76d add icon support to QR context menu 2024-07-10 18:44:58 -04:00
LenAnderson ba1761d90a more export/import options
- export QR as JSON
- copy QR to clipboard
- cut QR (copy to clipboard and delete)
- transfer QR to other QR Set
- paste QR from clipboard
- import QR from JSON file
- add/paste/import buttons between existing QRs
2024-07-10 17:34:48 -04:00
Cohee 323f34f5d4 Fix QR breaking when no sets 2024-06-23 01:34:10 +03:00
Cohee 0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
LenAnderson 5594aa456b fix jQuery sortable breaking select elements 2024-01-06 18:21:08 +00:00
LenAnderson d51098a90b fix deleting QR set that's in chat config 2023-12-26 12:16:45 +00:00
LenAnderson 29476e7c03 add import and export of QR sets 2023-12-25 13:08:03 +00:00
LenAnderson 82a4ddbe01 cleanup 2023-12-22 13:55:37 +00:00
LenAnderson 8959c0d380 add QR popout 2023-12-22 13:45:37 +00:00
LenAnderson 65e16affb7 add context menu 2023-12-22 13:45:37 +00:00
LenAnderson bab0c4b0b9 add linebreaks in confirm popups 2023-12-22 13:45:37 +00:00
LenAnderson c71a5bb82f handle overwriting QR set 2023-12-22 13:45:37 +00:00
LenAnderson 3a9b163aca add delete hack :( 2023-12-22 13:45:37 +00:00
LenAnderson ac09fa6019 handle deleting 2023-12-22 13:45:37 +00:00
LenAnderson 2648b3c801 restructuring 2023-12-22 13:45:19 +00:00
LenAnderson 34decf1c05 add creating of new QR sets 2023-12-20 14:04:28 +00:00
LenAnderson 69d6b9379a implement QR basics 2023-12-20 13:40:44 +00:00