Enoch Riese
0b18a3e1c5
add stuff that was mysteriously missing from error-boundary
2022-07-17 15:03:27 -04:00
Enoch Riese
0aef9b5ace
deepscan fixes
2022-07-16 08:22:51 -04:00
Enoch Riese
a1b80dd263
cleanup
2022-07-16 08:17:37 -04:00
Enoch Riese
9abea28b6e
default error page
2022-07-16 07:38:51 -04:00
Enoch Riese
9bcfa4f39b
add reset_all and undo buttons to error boundary. no styling
2022-07-16 07:38:51 -04:00
Enoch Riese
00953e9189
add more error handling to workbench
2022-07-16 07:38:51 -04:00
Enoch Riese
b047cb0e1f
fixing little issues
2022-07-16 07:38:51 -04:00
Joost De Cock
cc4889b4ec
chore: Fixing linter warnings
2022-07-12 21:07:42 +02:00
Joost De Cock
a32e73f2fc
chore: Fixing linter warnings
2022-07-12 20:47:39 +02:00
Enoch Riese
9e65a7fa31
oops, one more partName needed changing
2022-07-12 00:27:36 -05:00
Enoch Riese
959345ead0
keep drag handlers off the pages part
2022-07-12 00:02:55 -05:00
Enoch Riese
2e09f31c99
pass partname to part pieces
2022-07-11 21:00:16 -05:00
Joost De Cock
859483816c
fix(workbench): Be consistent in naming design/pattern
2022-07-09 15:58:13 +02:00
Joost De Cock
3124f72a2a
fix(workbench): Guard against snippets without anchor
2022-07-09 15:44:11 +02:00
Joost De Cock
8b3cc99ebb
fix(lab): Handle mm options gracefully
2022-07-03 12:56:10 +02:00
Joost De Cock
503e553c15
chore(shared): Phase-out use of utils package
2022-07-03 12:55:46 +02:00
Joost De Cock
474188a05e
fix(shared): Don't import from core source files
...
Importing from source files (of published packages) works fine
in the monorepo, but breaks outside of it.
Specifically, it breaks in the standalone development environment
which spins up the lab outside the monorepo.
For a situation like this, you need to make sure we have a
named export that's available from the built package.
2022-07-02 20:21:36 +02:00
Joost De Cock
f59aea1ef4
Merge pull request #2317 from eriese/eriese-rollback
...
Roll Back some changes to `useGist`
2022-06-29 13:39:23 +02:00
Joost De Cock
2da980592a
chore: Keep SVG to max height of the screen
2022-06-29 13:36:41 +02:00
Joost De Cock
f0d3f21070
chore(shared): Style reset button consistent with other buttons
2022-06-29 13:07:44 +02:00
Enoch Riese
b733605069
Merge branch 'develop' into eriese-rollback
2022-06-28 17:30:27 -05:00
Enoch Riese
56a668ea65
one more deepscan fix
2022-06-28 17:29:08 -05:00
Enoch Riese
a7931792ea
deepscan fixes and viewbox sizing on negative position fix
2022-06-28 17:25:22 -05:00
Enoch Riese
404718c776
clean up and document
2022-06-28 16:41:44 -05:00
Enoch Riese
b2fcee3037
consistently set up part transforms
2022-06-28 16:13:21 -05:00
Enoch Riese
6f6a165459
use svg functions to translate from DOM space to svg space
2022-06-28 15:16:29 -05:00
Enoch Riese
15525678d4
break layout/draft.js into smaller files
2022-06-28 13:41:27 -05:00
Enoch Riese
e21ffa4bc8
use subject to reduce number of variables that all sound like the same thing
2022-06-28 13:29:00 -05:00
Enoch Riese
8f35ccf9b9
rotation works smoothly
2022-06-28 02:02:51 -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
Joost De Cock
bc6d4b226c
feat(lab): Unit-formatting in Xray info
2022-06-24 11:34:22 +02: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
e5bcf3a6e1
feat(shared): Better error display in workbench
2022-06-23 15:18:20 +02:00
Joost De Cock
2b3143d395
fix(shared): Handle missing patternProps
2022-06-23 15:18:01 +02: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
Joost De Cock
4bdda5062c
Merge pull request #2284 from eriese/eriese-fix-memo
...
fix measurement gist issues with better state management #2281
2022-06-23 09:15:50 +02:00
Enoch Riese
7b5ed68839
fix gist loading
2022-06-22 19:13:52 -05: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
fb44d9be4c
fix(lab): Don't import published packages from relative url
2022-06-22 18:04:24 +02:00
Joost De Cock
2d9dba906e
fix(shared): hide() signature should follow docs
2022-06-22 16:34:13 +02:00
Joost De Cock
1dae0a77b3
chore(shared): Temporary workaround for #2281
...
Commented out useMemo() code while waiting for a permanent fix
2022-06-22 14:56:46 +02:00
Joost De Cock
095c52c2b6
feat(lab): Better rendering of raised events
2022-06-22 10:44:35 +02:00
Joost De Cock
d5dd8cfa09
Merge pull request #2248 from eriese/eriese-imperial
...
#2246 support imperial measurements in new measurement inputs
2022-06-21 18:59:55 +02:00
Joost De Cock
98ae9cc5ac
wip(new-design): Started work on standalon development environment
2022-06-20 18:31:22 +02:00
Joost De Cock
70e0da6ced
feat(lab): More dev info on Xray mode
2022-06-18 18:15:17 +02:00
Joost De Cock
026c7adcd2
feat(lab): Hover info for parts
2022-06-18 17:02:19 +02:00