Commit Graph

284 Commits

Author SHA1 Message Date
Cohee
cc2e82ce8f Fix execute on new chat not saving 2024-09-15 18:52:56 +03:00
Wolfsblvt
e3f4b554c7 I wiped, I swear 2024-09-05 23:12:45 +02:00
Cohee
de335a4a96 QR: Add toggle to hide popout button 2024-08-20 23:06:36 +03:00
Cohee
06d300ad36 Quick Replies: Add auto-execute on new chat 2024-08-14 00:08:16 +03:00
LenAnderson
88d3771863 compile LESS 2024-07-30 16:00:41 -04:00
LenAnderson
92eec72c6d draw attention to debug buttons 2024-07-30 16:00:32 -04:00
LenAnderson
3343f3122b stop chat input and progress bar from collapsing 2024-07-30 16:00:13 -04:00
Wolfsblvt
7c27211bc9 QR label alignment/wrapping 2024-07-30 20:51:55 +02:00
Wolfsblvt
023bd840fa Fix QR context error on no set chosen 2024-07-30 19:54:17 +02:00
LenAnderson
18e3659914 fix syntax loop debugger misalignment 2024-07-29 21:43:38 -04:00
LenAnderson
1d4c44fcf6 fix AbortController missing from imported closures 2024-07-29 21:01:58 -04:00
LenAnderson
039c27e201 add "for {{input}}" comment to chat input placeholder and title 2024-07-28 08:33:18 -04:00
LenAnderson
2470f775e2 Merge branch 'staging' into parser-followup-2 2024-07-28 08:32:25 -04:00
LenAnderson
b5d90a4259 let /qr-arg overwrite wildcard macros 2024-07-27 15:30:50 -04:00
Cohee
0253ef9cfd Merge branch 'staging' into dvh-units 2024-07-26 11:09:49 +00:00
LenAnderson
59c617a7a7 adjust debugger highlights for scroll position 2024-07-23 20:49:49 -04:00
LenAnderson
8df6353725 fix some execCommand weirdness 2024-07-23 16:46:46 -04:00
LenAnderson
80879e0c51 don't try to parse empty qrJson on add from text 2024-07-23 11:40:23 -04:00
LenAnderson
3b2dcd60da add console warning when delete set is not found in list 2024-07-22 19:06:02 -04:00
LenAnderson
133a3663f4 await API calls 2024-07-22 18:48:01 -04:00
LenAnderson
2ac2a2537d don't cancel syntax highlight update if previously disabled 2024-07-22 18:25:43 -04:00
LenAnderson
2b653ac8a1 sync scroll after syntax highlight update 2024-07-22 18:25:16 -04:00
LenAnderson
0d8436aec6 rename syntax highlight update loop 2024-07-22 18:24:57 -04:00
LenAnderson
365903b64d use deprecated execCommand to retain undo-history 2024-07-20 13:10:55 -04:00
LenAnderson
ddeacd4524 shorter message update debounce 2024-07-20 13:10:20 -04:00
LenAnderson
c3a51af2f3 firefox compat 2024-07-20 12:28:16 -04:00
LenAnderson
5712128ac0 improve QR editor performance
- only run hljs with syntax enabled
- only check localStorage once, then rely on the checkbox
- run hljs on a 30fps loop instead of event-based
- use morphdom to update syntax dom instead of innerHTML
2024-07-20 12:16:47 -04:00
LenAnderson
ae90966f43 add debugger button states 2024-07-18 19:57:05 -04:00
LenAnderson
03eb04e8f9 verify QR paste JSON and allow non-JSON pastes 2024-07-18 19:47:35 -04:00
LenAnderson
896d43ade7 add QR delete confirm 2024-07-18 18:39:32 -04:00
LenAnderson
1d3b2a31c6 change color border -> accent 2024-07-18 18:33:42 -04:00
LenAnderson
4340143b7b fix "Fix keyboard interaction on item adder" 2024-07-18 18:11:32 -04:00
LenAnderson
0c04f06c59 Merge branch 'staging' into parser-followup-2 2024-07-18 18:08:10 -04:00
LenAnderson
01db776998 add "add QR" to QR switcher 2024-07-18 18:07:04 -04:00
LenAnderson
ab6b7f6200 add icon to QR switcher "switch sets" 2024-07-18 18:06:52 -04:00
Wolfsblvt
e6995e40cc Update /qr-delete help string and add missing arg
- Fixes #2527
2024-07-18 18:47:13 +02:00
Wolfsblvt
240048f833 Fix gap between icon and label, label min width 2024-07-17 20:04:01 +02:00
Wolfsblvt
8436082fef Make QR quick buttons aligned 2024-07-17 19:51:37 +02:00
Wolfsblvt
a4a38e662e Fix keyboard interaction on item adder 2024-07-17 19:26:54 +02:00
Wolfsblvt
9d7ea745b2 Add 1px margin to qr item adder 2024-07-17 19:24:20 +02:00
Wolfsblvt
b291014a95 Resize FA icon in QR editor, add label caption 2024-07-17 19:20:38 +02:00
LenAnderson
c3bd64e204 add #send_textarea mirror to QR debugger 2024-07-16 15:54:52 -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
25c86b65ac add quick QR switcher to editor 2024-07-16 10:51:02 -04:00
LenAnderson
ea84eddc3e add getSetByQr 2024-07-16 10:41:56 -04:00
LenAnderson
5478b69253 add icon= and showLabel= to /qr-create and /qr-update 2024-07-16 09:29:31 -04:00
LenAnderson
b51bf8e38e fix QR update/delete by ID 2024-07-15 19:42:36 -04:00
LenAnderson
d773174bad there was a reason I wanted to use confirm, dammit 2024-07-15 18:25:48 -04:00
LenAnderson
ff39902f12 align show label checkbox on baseline 2024-07-15 18:08:44 -04:00