83 Commits

Author SHA1 Message Date
Cohee
e03e32d66a unvendor: Replace morphdom 2024-10-17 11:12:22 +00:00
Cohee
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
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
06d300ad36 Quick Replies: Add auto-execute on new chat 2024-08-14 00:08:16 +03: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
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
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
896d43ade7 add QR delete confirm 2024-07-18 18:39:32 -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
8436082fef Make QR quick buttons aligned 2024-07-17 19:51:37 +02:00
LenAnderson
c3bd64e204 add #send_textarea mirror to QR debugger 2024-07-16 15:54:52 -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
d773174bad there was a reason I wanted to use confirm, dammit 2024-07-15 18:25:48 -04:00
LenAnderson
db1094e391 add block comments with shortcut and breakpoint shortcut 2024-07-14 18:58:13 -04:00
LenAnderson
e256e55268 remove traces of execute on hide 2024-07-14 17:01:08 -04:00
LenAnderson
95cc4d3ccb add minimized debugger 2024-07-14 16:58:19 -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
968340c024 fix key listener not updating message 2024-07-12 13:42:22 -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
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
LenAnderson
75317f3eb4 better stepping into other scripts, with source indicator 2024-07-08 18:07:37 -04:00
LenAnderson
42cad6dd1a don't add args._scope etc to macros 2024-07-05 19:14:45 -04:00
LenAnderson
3144c219fa add {{arg::*}} to replace missing args with empty string 2024-07-05 19:14:30 -04:00
LenAnderson
db1cf54929 cleanup 2024-07-04 16:54:37 -04:00
LenAnderson
0fc9b11adf fix key conflicts in QR editor 2024-07-04 16:53:39 -04:00
LenAnderson
8e90e2a0e4 fix editor hotkeys and autocomplete interfering 2024-07-04 12:21:31 -04:00
LenAnderson
a1341fbcab fix tab indent line detection 2024-07-04 12:21:15 -04:00
LenAnderson
92f4402b63 keep indent on enter 2024-07-04 12:20:58 -04:00
LenAnderson
173c5ef53e step into closures from elsewhere (draft) 2024-06-27 11:49:12 -04:00
LenAnderson
adc54e7f22 restore caret after breakpoint click 2024-06-25 16:56:28 -04:00
LenAnderson
17e794b718 use ctrl+alt+click for breakpoints 2024-06-25 16:56:19 -04:00
LenAnderson
3a60b45253 add unresolved note 2024-06-24 07:29:20 -04:00
LenAnderson
a69d4147cb debugger 2024-06-23 17:11:13 -04:00
LenAnderson
00652cce0a add ctrl+click breakpoints 2024-06-23 15:16:55 -04:00
LenAnderson
31a67a973a only remove if exists 2024-06-23 14:27:10 -04:00
LenAnderson
bc40ee084d debugger 2024-06-23 14:19:10 -04:00