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
dc9073f7fc
chore(shared): Allow class override on popout
2022-07-02 22:54:59 +02:00
Joost De Cock
9362f227ea
fix: Check for NodeJS before using browser API
2022-07-02 22:53:30 +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
Enoch Riese
e6cfde4f18
cleanup
2022-07-02 11:27:39 -05:00
Enoch Riese
57e93e1f12
higher contrast header styling
2022-07-01 22:09:14 -05:00
Enoch Riese
8875b82878
increase contrast with neutral focus color. undo hacky workaround
2022-07-01 21:30:39 -05:00
Enoch Riese
d7ade84458
fix focus styling on outline buttons
2022-07-01 21:11:36 -05:00
Enoch Riese
b65635c74c
pattern and version pickers using headlessUI
2022-07-01 18:41:07 -05:00
Enoch Riese
c1b53465cf
local and theme pickers working with headless ui
2022-07-01 15:58:39 -05: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
Joost De Cock
3aae998b04
fix(shared): Add missing RawSpan component
2022-06-24 20:12:54 +02: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
2fc939beda
feat(shared): Added Code component
2022-06-22 14:56:26 +02:00
Joost De Cock
095c52c2b6
feat(lab): Better rendering of raised events
2022-06-22 10:44:35 +02:00
Joost De Cock
533a0a9ebf
fix(workbench): Guard against designs without measurements
2022-06-22 10:44:10 +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
16056ed04e
chore(lab): Removed debug output
2022-06-18 13:18:58 +02:00