53 Commits

Author SHA1 Message Date
Felix Roos
4e7e715f10 rename footer -> panel 2023-08-19 00:20:46 +02:00
Felix Roos
5fabc5c7f9 let to const 2023-08-18 23:53:37 +02:00
Felix Roos
37a35022f5 fix panel scroll
+ move to bottom when minimized
2023-08-18 23:45:55 +02:00
Felix Roos
dabc0331cb fix panel scroll 2023-08-18 23:19:19 +02:00
Felix Roos
f6789aaace togglable panel position 2023-08-18 15:58:51 +02:00
Felix Roos
0cf5c9c7d6 fix: welcome message for latestCode 2023-08-10 23:51:04 +02:00
Felix Roos
64693ffd26 fix: remove test flag 2023-07-04 22:16:02 +02: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
78770888a5 remove mock positions 2023-07-04 18:16:58 +02:00
Matthew Kaney
aded178ab7 Pass mininotation locations into highlight state 2023-07-03 03:55:49 -04:00
Felix Roos
0b5d905120 fix: adaptive highlighting
- transpiler now uses m function with globalOffset
- patternifyAST now accepts global offset
- patternifyAST now calls .withLoc with global leaf location
- .withLoc replaces .withLocation + .withMiniLocation
- simple locs (offsets) are now used everywhere
- some tests fail, seems some haps have reordered...
- wip: Repl still uses hardcoded updateMiniLocations
- todo: find way to call updateMiniLocations dynamically
2023-07-03 05:15:32 +02:00
Felix Roos
08abec8fd5 fix: init phase 2023-07-02 18:37:56 +02:00
Felix Roos
63c23736ad wip: adaptive highlighting 2023-07-02 18:33:44 +02:00
Felix Roos
8e717d2ea1 - transpiler now always returns an object
- emit transpiler metadata from evaluate / afterEval
- currently logging miniLocations from Repl.jsx
2023-07-02 14:15:54 +02:00
Felix Roos
13545d147b optimize rendering 2023-06-30 22:37:55 +02:00
Felix Roos
3872322da1 allow patterning theme + font settings 2023-06-16 13:45:13 +02:00
Roipoussiere
f37a220a05 add checkbox in settings to enable line wrapping 2023-06-15 11:52:29 +02:00
Felix Roos
665cf6ac65
Merge pull request #588 from roipoussiere/enable_autocomplete
enable auto-completion
2023-06-12 23:24:28 +02:00
Felix Roos
3b4e44a9fd fix: main repl option-dot on mac 2023-06-11 13:55:11 +02:00
Roipoussiere
8e6909478c autocompletion: lint 2023-06-09 16:42:31 +02:00
Roipoussiere
2d2d0cabb3 Add option in settings to enable autocompletion 2023-06-09 16:38:48 +02:00
Felix Roos
02d793e9e0 Merge remote-tracking branch 'origin/main' into workshop-new 2023-06-07 20:19:34 +02:00
Roipoussiere
0c2147d9c5 repl: add option to display line numbers 2023-06-07 15:34:57 +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
0b2a4fda44 update supabase-js 2023-04-29 07:24:03 +02:00
Felix Roos
3df2929d12 dummy commit (github cert error :-/) 2023-03-24 22:06:40 +01:00
Felix Roos
30d1f423cb fix: remove loading state on eval error 2023-03-24 21:50:50 +01:00
Felix Roos
17654b885b feat: add loader bar to animate loading state 2023-03-24 12:41:00 +01:00
Felix Roos
6a201be1fd Merge remote-tracking branch 'origin/main' into setcps-reset-only-on-shuffle 2023-03-23 22:35:57 +01:00
Felix Roos
8617b9164e do not reset cps before eval #517 2023-03-23 22:34:25 +01:00
Felix Roos
55c533c947 improve initial loading + wait before eval 2023-03-23 21:56:20 +01:00
Felix Roos
73169563c4 fix period key for dvorak + remove duplicated code 2023-03-23 21:37:38 +01:00
Felix Roos
6059c69995 first draft of soundMap to register keys for s
+ refactor sampler to use it
+ refactor synth to use it
+ add 'source' control
+ wip: samples tab
+ wip: webadirt ?
+ wip: soundfonts
2023-03-05 23:27:37 +01:00
Felix Roos
ead5942ef0 implement cps + add baasic tempo control ui 2023-02-28 13:00:35 +01:00
Felix Roos
4c5d6f1d6c fix: hash links 2023-02-23 00:04:53 +01:00
Felix Roos
0006d57a4a move isZen to nanostore
+ correctly parse non strings in store
2023-02-22 22:47:33 +01:00
Felix Roos
70f7e73b9a store footer tab + latest code in nanostore 2023-02-22 22:23:54 +01:00
Felix Roos
b67b049802 refactor settings to nanostores 2023-02-22 22:04:39 +01:00
Felix Roos
ff99dbcd22 customizable font family 2023-02-22 20:28:22 +01:00
Felix Roos
632e8e9634 use css var for highlighting color 2023-02-19 20:03:12 +01:00
Felix Roos
ceb3aa0627 add emacs mode + fontSize slider 2023-02-19 13:49:55 +01:00
Felix Roos
014555fe5d add vim toggle to settings
+ added persistent global state store
+ refactored themes to use the new store
2023-02-19 01:51:31 +01:00
Felix Roos
3579b6f8f3 dynamic highlight color
+ refactor hooks
2023-02-10 22:52:34 +01:00
Felix Roos
ddb9af4d57 themify rest of layout (except minirepls) 2023-02-10 20:07:36 +01:00
Felix Roos
46f70e6a5e persisted theme + add all settings 2023-02-10 12:54:15 +01:00
Felix Roos
30b149053c basic theme switcher 2023-02-08 18:54:34 +01:00
Felix Roos
dcdb383960 fix: share url on subpath
fixes https://github.com/tidalcycles/strudel/issues/389
2023-02-02 21:43:24 +01:00
Felix Roos
35f2040717 use pnpm workspaces 2023-01-28 20:14:26 +01:00
Felix Roos
ea0e0b4396 reset canvas when pattern changes
+ rename noteroll -> punchcard
2023-01-13 12:57:35 +01:00
Felix Roos
1ac784dc7a localize draw logic 2023-01-13 12:03:34 +01:00