1
0
Fork 0
Commit graph

11 commits

Author SHA1 Message Date
joostdecock
d442e23d69 fix(shared): Saving pattern in edit mode
This reverts the temporary fix for #5534
(commit 99b6e75956 )
and implements a proper fix.

This also closes #5570 as that was a side-effect of the initial
half-assed fix.
2023-12-09 16:11:09 +01:00
joostdecock
99b6e75956 fix(shared): Save pattern when bootstrapping edit mode.
This fixes #5534
2023-11-26 12:33:17 +01:00
joostdecock
e2c774b297 chore: Remove lint 2023-10-22 12:51:36 +02:00
joostdecock
743660dba5 fix(org): Remove old docs passing 2023-10-22 12:49:28 +02:00
joostdecock
cc0cd9a5b5 wip: Work on #5230 2023-10-22 12:48:06 +02:00
Joost De Cock
c74e3f4b66 chore(org/lab): Clean up leftover static docs loading
Removing loading docs and passing them as static props to the workbench
since we now have proper support for loading mdx dynamically.
2023-10-09 18:13:47 +02:00
Joost De Cock
a0bcf01b47 chore: Remove lint 2023-10-09 13:47:36 +02:00
Joost De Cock
b91d871a3b chore: Change mustache delimiter to keep tempaltes as .mjs
The problem with auto-generated pages is that prettier will change
the formatting ever so slightly in the commit hook.
Which means that next time they are generated, git will see a bunch
of meaningless changes.

So, in changing the mustache delimter to $$ (valid JS) we can keep the
template files as .mjs and let prettier format them too, which I hope
will mean that we can sidestep this constant churn.
2023-10-09 12:02:26 +02:00
Joost De Cock
185c844769 wip(org): Prebuild edit patter pages from template 2023-10-08 17:06:58 +02:00
Joost De Cock
f9cb109ad0 chore(org): Renamed page template 2023-10-08 15:57:15 +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