38 Commits

Author SHA1 Message Date
Kaspars
2d1fcf4a8d fix typo 2023-11-15 22:53:56 +01:00
Kaspars
ef14074164 add option to disable active line highlighting in Code Settings 2023-11-15 22:38:00 +01:00
Felix Roos
34176ab5f8 refactor:
- dedupe flash / highlighting logic
- codemirror logic now lives only in codemirror package
- remove old highlighting logic
- use codemirror package in react package
- cleanup CodeMirror6.jsx
- pull setMiniLocations into useHighlighting
- migrate MiniRepl, nano-repl + Repl to new highlighting
2023-07-04 21:49:39 +02:00
Felix Roos
3ccbd35fad add label support to pianoroll 2023-06-09 00:25:54 +02:00
Felix Roos
d2dffe3186 MiniRepl: consume font settings 2023-05-28 12:42:15 +02:00
Felix Roos
fc06181217 - add claviature flag to minirepl
- bring back option+dot on macos
- consume more editor settings in minirepl
2023-05-27 13:30:57 +02:00
Felix Roos
0d6fcf78d8 hide mini repl headers + improve workshop 2023-05-26 16:05:53 +02:00
Felix Roos
82225f0b81 started workshop pages 2023-05-26 14:12:53 +02:00
Felix Roos
73169563c4 fix period key for dvorak + remove duplicated code 2023-03-23 21:37:38 +01:00
Felix Roos
5de40b6bf5 fix disabled button take 2 2023-02-28 23:02:28 +01:00
Felix Roos
e9d577496b fix disabled button 2023-02-28 22:48:06 +01:00
Felix Roos
18c7e02609 fix: minirepl styles for package 2023-02-28 22:40:18 +01:00
Felix Roos
632e8e9634 use css var for highlighting color 2023-02-19 20:03:12 +01:00
Felix Roos
a500f983f5 Merge branch 'main' into themes 2023-02-10 22:59:52 +01:00
Felix Roos
3579b6f8f3 dynamic highlight color
+ refactor hooks
2023-02-10 22:52:34 +01:00
Felix Roos
14cb954213 themed minirepl
+ add strudelTheme
+ add lineBackground with opacity
+ add some missing light flags
+ add fallback css variables for non js context
2023-02-10 21:42:27 +01:00
Felix Roos
3209afa4ff minirepl: add keyboard shortcuts 2023-02-09 19:20:44 +01:00
Felix Roos
6f5f8cc7d8 fix: minirepl styles 2023-02-01 22:30:24 +01:00
Felix Roos
2732d64beb fix: another dependency array 2023-01-14 10:58:30 +01:00
Felix Roos
b2c6d87633 MiniRepl: add punchcard flag for implicit vis
+ reintroduce editPattern
+ add punchcards to mini-notation.mdx
2023-01-13 15:13:39 +01:00
Felix Roos
1ac784dc7a localize draw logic 2023-01-13 12:03:34 +01:00
Felix Roos
69ecb7b54f support logs in mini repl
+ pass hap to logger
+ add editPattern hook to repl + useStrudel
+ do not throw when webaudio gets plain values
2023-01-09 23:26:20 +01:00
Felix Roos
7b43ed702e only start animation loop when canvas is visible
+ add some placeholder files
2022-12-26 22:59:41 +01:00
Felix Roos
2d1b62a978 begin reimplementing draw logic for parallel use 2022-12-26 20:58:57 +01:00
Felix Roos
372bdf8be7 fix: highlighting sync 2022-11-10 17:15:10 +01:00
Felix Roos
c7c90b0647 fix mini repl + improve repl api 2022-11-10 16:36:51 +01:00
Felix Roos
14c2da4fa2 started refac repl to new scheduler + transpiler 2022-11-10 12:07:36 +01:00
Felix Roos
7e7e299bce Merge remote-tracking branch 'origin/main' into general-purpose-scheduler 2022-10-29 17:56:30 +02:00
Felix Roos
60616a5228 remove old defaultSynth 2022-10-27 21:19:17 +02:00
Felix Roos
ec4cfe6f86 use new getTime callback in repl + mini repl 2022-08-23 21:23:28 +02:00
Felix Roos
884811fd99 darken mini repl bg 2022-07-29 00:19:06 +02:00
Felix Roos
ce4d2c17a7 minirepl optimizations:
- can now evaluate on init
- support disable-highlighting
- support keyboard shortcuts
- support flash
2022-07-28 23:55:05 +02:00
Felix Roos
7eeae4292c add missing styles + fix demo 2022-05-20 00:08:50 +02:00
Felix Roos
ae81f6d573 MiniRepl: hideOutsideView flag 2022-05-19 08:39:51 +02:00
Felix Roos
ed35f967b0 migrate repl + move imports out of minirepl 2022-05-17 22:27:22 +02:00
Felix Roos
b8a0559012 react packaging 2022-05-17 21:40:17 +02:00
Felix Roos
b59f36f40b basic react package build config 2022-05-17 00:32:57 +02:00
Felix Roos
0d63ec9146 basic react package 2022-05-14 20:27:05 +02:00