Joost De Cock
ffc833f7c7
feat(shared): Port workbench to dynamic mdx
2023-10-09 13:01:58 +02:00
Joost De Cock
86d984e8c5
wip(shared): Split new design pages per design to split bundle
...
This adds page templates that will auto-generate pages for each design.
This not only allows us to split the bundle for these individual
designs, we are also now passing the inline docs for a design as static
props, as that will limit the memory footprint of webpack.
Remains to be seen how this will all come together, but it's better than
throwing everything at webpack and watching the build fail.
2023-10-08 14:26:58 +02:00
joostdecock
c65c5876a3
wip(sde): Working on file list
2023-09-29 16:01:27 +02:00
joostdecock
30d5fe5e9c
chore(shared): Removed debug output
2023-09-23 17:49:03 +02:00
joostdecock
a43ba9f498
fix(shared): Do no require measurements for toAbs
2023-09-21 09:19:56 +02:00
Joost De Cock
170fa4ed8f
feat(shared): Allow options to pass a mehod as menu
2023-09-13 15:54:30 +02:00
Joost De Cock
ae248f2125
fix(shared): Keep options translations in options key
2023-09-13 10:23:42 +02:00
Joost De Cock
7c28df7c75
fix(shared): Handle list options value display in workbench
2023-09-12 16:55:27 +02:00
Joost De Cock
aef9f095b5
fix(shared): Handle list options input display in workbench
2023-09-12 16:53:41 +02:00
Joost De Cock
93bc7d8551
fix(shared): Fix value display of list options
2023-09-10 13:05:15 +02:00
joostdecock
c55b50dff1
fix(shared): Optional chaining for settings
2023-08-27 17:09:59 +02:00
joostdecock
5849e6d931
chore(shared): Adapted (part of) workbench for UI consistency
2023-08-27 16:24:18 +02:00
Enoch Riese
05f37dac90
chore (lint)
2023-07-26 20:21:18 -06:00
Enoch Riese
4efc1e570c
Merge branch 'develop' into eriese-small-ui-fixes
2023-07-26 16:48:55 -06:00
Enoch Riese
8781e60350
support fractions and comma decimal separators
2023-07-26 16:38:51 -06:00
Joost De Cock
12449c88b8
Merge branch 'develop' into i18n
2023-07-24 17:29:51 +02:00
Joost De Cock
8e6d9d55e3
Update source file en.yaml
...
skip-build
2023-07-23 21:45:11 +02:00
Joost De Cock
1dce187068
New translations en.yaml (Ukrainian)
...
skip-build
2023-07-23 20:49:20 +02:00
Joost De Cock
12dafa6ed7
New translations en.yaml (Dutch)
...
skip-build
2023-07-23 20:49:19 +02:00
Joost De Cock
162658bc9c
New translations en.yaml (German)
...
skip-build
2023-07-23 20:49:18 +02:00
Joost De Cock
d2a1df8032
New translations en.yaml (Spanish)
...
skip-build
2023-07-23 20:49:17 +02:00
Joost De Cock
7667ef27c2
New translations en.yaml (French)
...
skip-build
2023-07-23 20:49:17 +02:00
joostdecock
e6c3790cd3
wip: Move translation files to facilitate crowdin
2023-07-23 18:32:12 +02:00
Joost De Cock
aea59238d7
New translations design-options.en.yaml (Ukrainian)
...
skip-build
2023-07-22 00:13:20 +02:00
Joost De Cock
cb3563f973
New translations design-options.en.yaml (Dutch)
...
skip-build
2023-07-22 00:13:13 +02:00
Joost De Cock
23223bfb0c
New translations design-options.en.yaml (German)
...
skip-build
2023-07-22 00:13:05 +02:00
Joost De Cock
b2ed1324fc
New translations design-options.en.yaml (Spanish)
...
skip-build
2023-07-22 00:12:57 +02:00
Joost De Cock
4ea762dd8e
New translations design-options.en.yaml (French)
...
skip-build
2023-07-22 00:12:50 +02:00
Enoch Riese
8a4c558cee
more contained fixes to docs
2023-07-17 11:40:45 -05: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
Enoch Riese
ef69ea1e3c
test view with options menu
2023-06-06 14:19:22 -05:00
Enoch Riese
0e329e195d
print view settings menu
2023-06-05 16:08:58 -05:00
Enoch Riese
a1714c48d0
make it look like Joost's version
2023-06-03 11:31:40 -05:00
Enoch Riese
2ad0ac3491
add toggler to boolean menu items
2023-06-02 12:41:27 -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
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
beb580785b
chore(shared): Linter warnings
2023-06-01 09:17:02 +02:00
joostdecock
cab7f5d2c5
wip(org): More work on managing patterns
2023-05-31 15:32:54 +02:00
joostdecock
801ba17ab6
chore: More QA fixes for sites
2023-05-19 18:27:36 +02:00
joostdecock
c49a47a0de
chore: Fixing linter warnings
2023-05-19 16:31:28 +02:00
joostdecock
5a92cc6659
chore(lab): Do not include dynamic docs in the lab
2023-05-18 15:25:40 +02:00
joostdecock
e4850ca908
chore(shared): More work on design option inputs
2023-05-18 14:12:33 +02:00
joostdecock
e986ec33e9
fix(shared): Deal with list option inputs
2023-05-18 14:06:22 +02:00
joostdecock
262084150e
feat(shared): work on v3 design options menu
2023-05-18 11:26:10 +02:00
joostdecock
5052e885fa
chore(shared): Emoji key for design options
2023-05-15 20:35:00 +02:00