257 Commits

Author SHA1 Message Date
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
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
db1094e391 add block comments with shortcut and breakpoint shortcut 2024-07-14 18:58:13 -04:00
LenAnderson
82dd53f166 fix color without dom 2024-07-14 17:02:24 -04:00
LenAnderson
e256e55268 remove traces of execute on hide 2024-07-14 17:01:08 -04:00
LenAnderson
9a9befeb63 remove second step-out button? 2024-07-14 16:59:34 -04:00
LenAnderson
95cc4d3ccb add minimized debugger 2024-07-14 16:58:19 -04:00
LenAnderson
ddce6c4e89 clear QR Set color and bg adjustments 2024-07-14 14:13:57 -04:00
LenAnderson
a8d4e12419 adjust QR set colors for combined buttons 2024-07-13 15:03:52 -04:00
LenAnderson
9f9553db44 add QR set colors 2024-07-13 14:45:35 -04:00
LenAnderson
8621fdbfa3 jsdoc type casing 2024-07-13 14:23:49 -04:00
LenAnderson
387ef83b72 nowrap in debugger call stack source 2024-07-13 14:15:55 -04:00
LenAnderson
4a4218f49a prevent popup close while debugging
breaks shit, but that's a popup problem
2024-07-13 14:15:41 -04:00
LenAnderson
40c5430b14 fix debug button mask repeat 2024-07-12 15:05:57 -04:00
LenAnderson
968340c024 fix key listener not updating message 2024-07-12 13:42:22 -04:00
LenAnderson
9446c487e9 add debugger icons 2024-07-12 13:41:55 -04:00
LenAnderson
3327be5468 Merge branch 'staging' into parser-followup-2 2024-07-12 08:33:28 -04:00
Cohee
b80ed958ae Run summarize after QR execution 2024-07-11 22:26:49 +03:00
LenAnderson
1a18b5b180 add referencing QRs by ID 2024-07-10 22:39:21 -04:00
LenAnderson
977d98e7e8 add /import to import closures from other QRs 2024-07-10 19:52:13 -04:00
LenAnderson
5df932a76d add icon support to QR context menu 2024-07-10 18:44:58 -04:00
LenAnderson
4ecfa53b3e fix no op when adding QR set to global/chat and first set already included 2024-07-10 17:56:34 -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
LenAnderson
ffd44b622f add font-awesome icons to QR buttons 2024-07-09 13:28:21 -04:00
LenAnderson
aed6952a37 align source right 2024-07-09 08:21:39 -04:00
LenAnderson
60275e3dce better handling of anonyous source 2024-07-09 08:21:26 -04:00
LenAnderson
6cc523b805 show source in message label 2024-07-08 18:21:07 -04:00