1
0
Fork 0
Commit graph

113 commits

Author SHA1 Message Date
joostdecock
ad2d0c18c5 feat(shared): Helper to toggle SA in settings 2023-06-15 18:48:44 +02:00
joostdecock
7daad74964 feat(shared): Better workbend nav. Closes #4272 2023-06-15 09:23:49 +02:00
joostdecock
01e2d4e41a Merge branch 'develop' into joost 2023-06-12 18:22:14 +02:00
joostdecock
bda3c7aed1 fix(shared): Pass mergedOptions to toAbs() 2023-06-11 19:26:20 +02:00
joostdecock
631ea8a50d feat(core): New mergeOptions method and passing mergedOtions to toAbs
When using toAbs for all but the most trivial cases, one needs access to
the options. Unlike measurements which are always there, options aren't
always set since they are only set when they differ from the default.

This would shift a lot of responsibility on the pattern designer who
would have to check whether an option is set, and if it's not use the
default which in turn depends on what type of an option it is (and it's
pct for example you have to remember to divide it by 100 and so on).

This feels footgun-y so instead I've added a `mergeOptions` method that
merges the options passed by the user with the defaults from the pattern
config so that you have a simple object with all option values.

This should get passed to `toAbs()` as the 3rd parameter.
2023-06-11 14:16:07 +02:00
joostdecock
d0f2537434 chore(shared): Linter warnings 2023-06-11 07:59:07 +02:00
joostdecock
9ffb4f5261 feat(shared): implemented log view 2023-06-10 20:33:34 +02:00
Enoch Riese
6f28c36c59 lint fixes 2023-06-07 14:12:51 -05:00
Enoch Riese
cdd080fde4 cleanup 2023-06-06 14:43:23 -05:00
Enoch Riese
7988aa9b31 measurements sampling menu 2023-06-06 14:31:27 -05:00
Enoch Riese
ef69ea1e3c test view with options menu 2023-06-06 14:19:22 -05:00
Enoch Riese
15c4201906 cutting layout view 2023-06-06 11:17:14 -05:00
Enoch Riese
62638902e8 working reset and export buttons for print layout 2023-06-05 16:08:58 -05:00
Enoch Riese
0e329e195d print view settings menu 2023-06-05 16:08:58 -05:00
joostdecock
5716b69e58 feat(shared): Toggle colors 2023-06-04 16:56:44 +02:00
joostdecock
53e72d148c feat(shared): Added stack inspector 2023-06-04 16:44:03 +02:00
Enoch Riese
67fe54542f deepscan fix 2023-06-03 11:41:05 -05:00
Enoch Riese
a1714c48d0 make it look like Joost's version 2023-06-03 11:31:40 -05:00
Enoch Riese
76b96242d3 cleanup after cherry-pick 2023-06-02 13:07:43 -05:00
Enoch Riese
1359daec67 refactor ui settings menu to use shared components 2023-06-02 12:42:48 -05:00
Enoch Riese
2ad0ac3491 add toggler to boolean menu items 2023-06-02 12:41:27 -05:00
Enoch Riese
f37274ee70 add a default step to mmInput 2023-06-02 12:39:55 -05:00
Enoch Riese
29e992aa81 one more lint fix 2023-06-02 12:39:55 -05:00
Enoch Riese
1a8d621a6a deepscan fixes 2023-06-02 12:39:55 -05:00
Enoch Riese
b975355f45 document new shared menus 2023-06-02 12:39:55 -05:00
Enoch Riese
a8891d6091 lint fixes 2023-06-02 12:39:55 -05:00
Enoch Riese
3841a1695e xray menu using shared components 2023-06-02 12:39:55 -05:00
Enoch Riese
cc14c562d2 both menus using same structure and components 2023-06-02 12:39:55 -05:00
Enoch Riese
75bc302dd4 most menu items using shared components 2023-06-02 12:39:55 -05:00
Enoch Riese
0f0fcb5e6b refactor menus to share components 2023-06-02 12:39:55 -05:00
joostdecock
eef8d68781 feat(shared): PanZoomPattern component 2023-06-01 20:18:37 +02:00
joostdecock
d64a26e0ee Merge branch 'serialize' into joost 2023-06-01 17:03:01 +02:00
joostdecock
c95ebd5934 chore(shared): Updated ui settings and work on render view 2023-06-01 17:01:48 +02:00
joostdecock
2b933ce8c7 Revert "feat(shared): Added Inspect to UI menu"
This reverts commit fa437b9b16.
2023-06-01 16:50:21 +02:00
joostdecock
1ac287e6f5 fix(shared): Reset buttons in workbench UI menu 2023-06-01 09:51:25 +02:00
joostdecock
d289ad7b8c chore(shared): Remove unused config for control setting 2023-06-01 09:46:13 +02:00
joostdecock
fa437b9b16 feat(shared): Added Inspect to UI menu 2023-06-01 09:42:48 +02:00
joostdecock
beb580785b chore(shared): Linter warnings 2023-06-01 09:17:02 +02:00
joostdecock
05966c6862 feat(shared): Allow color-override in Difficulty component 2023-06-01 09:06:11 +02:00
joostdecock
3ffb4683ed wip(shared): Comment-out XRay for now 2023-06-01 08:50:49 +02:00
joostdecock
f1154d149c chore(shared): Deepscan warnings 2023-06-01 08:48:21 +02:00
joostdecock
f0279c3830 chore: Linter issues 2023-05-31 18:34:37 +02:00
joostdecock
2876d16f16 fix(shared): Use path from props in dynamic docs 2023-05-31 18:08:07 +02:00
joostdecock
1c7a827ab4 feat(shared): Switched to desktop icon for UI settings 2023-05-31 18:00:33 +02:00
joostdecock
c53ff25053 wip(shared): Work on workbench views 2023-05-31 17:56:58 +02:00
joostdecock
cab7f5d2c5 wip(org): More work on managing patterns 2023-05-31 15:32:54 +02:00
Enoch Riese
24b3b10bfb fix little errors in draft-for-curated-set flow. other cleanup 2023-05-24 08:37:29 -05:00
joostdecock
99d4e303bc chore: More QA fixes for sites 2023-05-19 18:29:13 +02:00
joostdecock
801ba17ab6 chore: More QA fixes for sites 2023-05-19 18:27:36 +02:00
joostdecock
fef2edd13d chore(shared): Disable xray menu for now 2023-05-19 17:27:33 +02:00