1
0
Fork 0
Commit graph

844 commits

Author SHA1 Message Date
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
Joost De Cock
fb403e4b4d feat(lab): Added point info 2022-06-18 13:15:15 +02:00
Joost De Cock
5fba460e4b chore(lab): Tweaks to path info 2022-06-18 12:49:49 +02:00
Joost De Cock
a37e66c0e5 feat(lab): Bring up info on paths when clicked upon 2022-06-18 12:15:05 +02:00
Enoch Riese
f60f047883 possibly now going overboard on null checks 2022-06-17 23:19:19 -05:00
Enoch Riese
d32f145ac3 better null checks 2022-06-17 23:15:15 -05:00
Enoch Riese
7476d45f54 Merge branch 'develop' into eriese-imperial 2022-06-17 22:31:11 -05:00
Joost De Cock
e69e87a8ad fix(shared): Don't clear gist but restore defaults 2022-06-17 12:07:16 +02:00
Joost De Cock
43ee0f1790 chore: Adapt sites to recent changes 2022-06-17 12:02:09 +02:00