Joost De Cock
b21d75f745
fix(workbench): Fix render loop in useEffect
2022-07-09 15:58:49 +02:00
Enoch Riese
e6cfde4f18
cleanup
2022-07-02 11:27:39 -05:00
Enoch Riese
b65635c74c
pattern and version pickers using headlessUI
2022-07-01 18:41:07 -05:00
Enoch Riese
400835eea0
remove unnecessary resetGist in favor of export defaultGist
2022-06-24 23:40:00 -05:00
Enoch Riese
210c463a38
simplify gist methods. set gist now sets the gist
2022-06-24 12:59:08 -05:00
Enoch Riese
ce4cf36394
get rid of reducer from gist hook
2022-06-23 14:37:11 -05:00
Enoch Riese
39cbf70c3e
all gist mutation now uses the new functions
2022-06-23 12:50:51 -05:00
Joost De Cock
640b7231be
fix(shared): Avoid flash of draft error before re-render
...
When measurments are missing, the useEffect hook will rerender to show
the measurements page. However, before that happens there's a brief
flash of the (failed) draft because it errors without the measurements.
This prevents that by passing down whether or not all required
measurements are available, and if not the draft returns null
2022-06-23 10:11:41 +02:00
Enoch Riese
ce23291fc5
focus the first invalid measurement on page load and when trying to leave
2022-06-22 19:13:40 -05:00
Enoch Riese
018b5372fe
fix deepscan issues
2022-06-22 15:38:15 -05:00
Enoch Riese
347554f3a1
fix measurement gist issues with better state management
2022-06-22 15:19:07 -05:00
Joost De Cock
533a0a9ebf
fix(workbench): Guard against designs without measurements
2022-06-22 10:44:10 +02:00
Joost De Cock
16056ed04e
chore(lab): Removed debug output
2022-06-18 13:18:58 +02:00
Joost De Cock
a37e66c0e5
feat(lab): Bring up info on paths when clicked upon
2022-06-18 12:15:05 +02:00
Joost De Cock
43ee0f1790
chore: Adapt sites to recent changes
2022-06-17 12:02:09 +02:00