1
0
Fork 0
Commit graph

52 commits

Author SHA1 Message Date
Joost De Cock
7552260359 wip(org): Tweak page padding based on community feedback 2022-06-10 09:26:41 +02:00
Joost De Cock
5888ccfbc7 feat(shared): Let images break out to fill the screen on mobile 2022-06-09 19:33:27 +02:00
Enoch Riese
24c7b19686 fix hydration errors from useLocalStorage 2022-06-06 12:43:15 -05:00
Joost De Cock
cb01cd6b8e fix(www): Layout fixed to blog pages 2022-05-30 16:40:51 +02:00
Joost De Cock
e47f47cf99 wip(org): Added blog post pages 2022-05-30 15:36:39 +02:00
Joost De Cock
038588bf9c feat(shared): Support for translation in Dot custom component 2022-05-20 15:34:08 +02:00
Joost De Cock
4d59cf59be fix(lab): Be explicit about closing navigation on gist updates 2022-05-15 14:46:03 +02:00
Joost De Cock
c3b9c07236 feat(lab): Close navigation on mobile when switching view in workbench 2022-05-14 19:53:27 +02:00
Joost De Cock
2c5f0fa332 fix(lab): Layout improvements 2022-05-14 14:53:29 +02:00
Joost De Cock
71d03bfb45 chore(freesewing.dev): Layout tweaks 2022-05-12 19:17:51 +02:00
Joost De Cock
6c41b1d941 feat(freesewing.dev): ToC and layout changes 2022-05-11 16:29:46 +02:00
Joost De Cock
8a2a13f240 wip(lab): Working on crash reporting in the new dev env 2022-03-18 19:11:00 +01:00
Joost De Cock
5cfcd2e274 wip(lab): Working on preloading pattern settings 2022-03-17 19:05:19 +01:00
Joost De Cock
34c8a6b2a5 wip(shared): Working on custom layout 2022-02-20 18:46:21 +01:00
Joost De Cock
2473e225ed feat(workbench): Added export 2022-02-19 17:01:28 +01:00
Joost De Cock
4da86eb643 chore: fixed linter warnings 2022-02-13 16:10:51 +01:00
Joost De Cock
a706e3cac2 feat(lab): Added tests/sampling 2022-02-13 15:45:27 +01:00
Joost De Cock
a68f81ec73 chore: Linter warnings 2022-02-12 15:23:37 +01:00
Joost De Cock
3653700572 wip(lab): Work on workbench
- Moved the various tabs on the draft view to their own views.
- Renames modes to views
- Started to group various aspects of the workbench state under
  `_state` in the gist to prevent it from getting all mixed up
  with the core settings.
- Updated events title to make it more clear not all events might
  be present
- Removed valid state in measurements input since it was only
  getting updated on keyboard input but now when preloading
  measurements (which it does now)
2022-02-12 14:33:36 +01:00
Joost De Cock
bbb2b2c23f wip(lab): Migrated translation to next-i18next 2022-02-10 21:40:19 +01:00
Joost De Cock
153bff0536 wip(lab): Moved draft to wrapper 2022-01-30 15:14:44 +01:00
Joost De Cock
929822b249 feat(lab): Draft view pretty ok now 2022-01-28 16:57:07 +01:00
Joost De Cock
18f9e93cc0 feat(lab): Paperless and render settings 2022-01-28 13:39:07 +01:00
Joost De Cock
e8d747a949 chore(lab): Use locale and hover resize consistently 2022-01-27 18:07:37 +01:00
Joost De Cock
19f9be6a3c feat(lab): Added language setting 2022-01-27 12:26:56 +01:00
Joost De Cock
5af516cc31 feat(lab): Working on reporting back absolute options 2022-01-25 18:14:31 +01:00
Joost De Cock
ae78b16240 fix(lab): Default to measurement view for now 2022-01-25 16:01:56 +01:00
Joost De Cock
1c1777ada0 fix(lab): Show draft by default 2022-01-25 15:46:35 +01:00
Joost De Cock
24e9cd8980 feat(lab): Menu for design options 2022-01-25 12:39:29 +01:00
Joost De Cock
b662f19223 chore(lab): Restructured components 2022-01-25 11:22:48 +01:00
Joost De Cock
83ee572a36 feat(fs.lab): Keep gist in local storage 2022-01-25 10:39:30 +01:00
Joost De Cock
f577f054ef feat(fs.lab): Handle mode switching 2022-01-25 10:29:47 +01:00
Joost De Cock
490f48f726 fix(fs.shared): Linter warnings 2022-01-25 10:03:10 +01:00
Joost De Cock
e57d6244a6 fix(fs.shared): Bug in swipehandlers spreaded props 2022-01-25 09:01:41 +01:00
Joost De Cock
22b25c0c5d wip(fs.lab): Work on workbench components 2022-01-25 08:31:06 +01:00
Joost De Cock
2ea353a475 chore(fs.dev): Webpack aliases to load local code from source
These changes force webpack to load the local pacakges (like
patterns and so on) from source, rather than from a compiled bundle.
This means that the lab site will reload whenever one makes changes
to pattern code.
2022-01-24 12:34:29 +01:00
Joost De Cock
54aefa8437 wip: Started working on new development environment 2022-01-22 17:55:03 +01:00
Joost De Cock
8f165dbe6d feat(fs.dev): Initial search implementation 2021-12-31 08:27:13 +01:00
Joost De Cock
09c2b89aed fix(fs.dev): Force data-theme update with key prop
This is a replacement for the hack I implemented in
bb901c4d8a

It accomplishes the same effect, but with just setting the key prop.
Sadly, it does not work with just setting the key prop to the theme
but forcing the key prop to be re-set by including the date does the
trick.

To be clear: This is still a hack and I'd love to avoid it (or just
understand the right way to handle this) but for now it will do.
2021-12-31 06:46:13 +01:00
Joost De Cock
1ddba2b3b2 fix(fs.dev): Remove debug output 2021-12-30 18:54:42 +01:00
Joost De Cock
bb901c4d8a fix(fs.dev): (hackish) workaround for theme prop update issue
This is a workaround for the following problem that I can't seem
to understand.

This JSX code:

<p data-theme={props.app.theme}>{props.app.theme}</p>

Is rendered as:

<p data-theme="light">dark</p>

This happens only upon initial page load because on the server
side we don't know the user's preferred theme. So we start with
the default (light).

Then, as the app bootstraps in the browser, it updated the content
of the P tag with the new theme (dark).
However, for reasons that I really don't understand, it does not
update the `data-theme` attribute.

So this works around that be forcing a different component for each
theme that has the data-theme hardcoded. By force-rendering a different
component, we can be certain React has no choice be to re-render the
entire tag.

If anybody could explain to me why this happen, I'd gladly buy you
a coffee or something.
2021-12-30 16:52:28 +01:00
Joost De Cock
1bc0b4985c wip(fs.dev): Troubleshooting SSR themeing issues 2021-12-30 14:23:02 +01:00
Joost De Cock
519de5e202 wip(fs.dev): More work on new dev site 2021-12-25 13:43:41 +01:00
Joost De Cock
096c2f5f6a wip(fs.dev): More work on new dev site 2021-12-24 18:17:02 +01:00
Joost De Cock
f59d4ed9fd wip(fs.dev): Theme changes and breadcrumbs fix 2021-12-22 17:06:50 +01:00
Joost De Cock
99393b8629 feat(fs.dev): MDX styling 2021-12-21 20:47:13 +01:00
Joost De Cock
18566b5d37 wip(fs.dev): Work on mdx components 2021-12-19 19:08:54 +01:00
Joost De Cock
ea46bc019d chore(fs.dev): Tweaks to dark theme 2021-12-18 15:48:01 +01:00
Joost De Cock
d1f53b78b6 feat(fs.dev): Added syntax highlighting 2021-12-18 15:41:37 +01:00
Joost De Cock
c5e971e8a7 feat(fs.dev): Loading MDX is now ok 2021-12-18 09:54:53 +01:00