From d4919040c2568a5e9163b16ababde8be9de3f8ef Mon Sep 17 00:00:00 2001
From: Natalia Sayang
Date: Fri, 8 Mar 2024 20:01:45 +0000
Subject: [PATCH 001/795] Updates to pattern design tutorial for clarity and
flow
---
.../pattern-design/part2/drawing-the-straps/en.md | 2 +-
markdown/dev/tutorials/pattern-design/part2/en.md | 2 ++
.../pattern-design/part2/our-first-design/en.md | 10 +++++-----
.../pattern-design/part2/our-first-part/en.md | 2 +-
4 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md b/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
index 5a03fa78692..aa6ba757ab4 100644
--- a/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
@@ -1,6 +1,6 @@
---
title: Drawing the straps
-order: 230
+order: 93
---
All we have to do now is flip a bunch of points on the other side,
diff --git a/markdown/dev/tutorials/pattern-design/part2/en.md b/markdown/dev/tutorials/pattern-design/part2/en.md
index 11b4a19ee4a..7ca4526cfb6 100644
--- a/markdown/dev/tutorials/pattern-design/part2/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/en.md
@@ -43,3 +43,5 @@ Depending on the choice you made, you will need to edit files in a different fol
- Edit files in `design/tutorial` if you are using the **Tutorial** template
You can choose either, or even switch back and forth between both.
+
+To follow along step-by-step with the tutorial, go to the `design/from-scratch` folder.
\ No newline at end of file
diff --git a/markdown/dev/tutorials/pattern-design/part2/our-first-design/en.md b/markdown/dev/tutorials/pattern-design/part2/our-first-design/en.md
index 1a7d1f4faab..e35ee1a3f63 100644
--- a/markdown/dev/tutorials/pattern-design/part2/our-first-design/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/our-first-design/en.md
@@ -27,7 +27,7 @@ const FromScratch = new Design({
name: 'fromScratch',
version: '0.0.1',
},
- parts: [ bib ],
+ parts: [bib],
})
export { bib, FromScratch, i18n }
@@ -82,7 +82,7 @@ If you are not familiar with this syntax, you'll get the hang of it soon enough.
## Design constructor
-finally the most interesting part of this file is the middle part where we are
+Finally, the most interesting part of this file is the middle part where we are
creating a new design:
```src/index.mjs
@@ -91,7 +91,7 @@ const FromScratch = new Design({
name: 'fromScratch',
version: '0.0.1',
},
- parts: [ bib ],
+ parts: [bib],
})
```
@@ -104,14 +104,14 @@ to be more accurate, that you can use with the `new` keyword.
It's a convention that constructor names start with an **C**apital letter.
-We are passing some info to a this `Design` function, but the `data` we are
+We are passing some info to this `Design` function, but the `data` we are
passing is optional. If we strip that away for a moment, and don't bother
assigning the result to a variable, we reveal the essence of what it takes to
create a new FreeSewing design:
```src/index.mjs
new Design({
- parts: [ bib ],
+ parts: [bib],
})
```
diff --git a/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md b/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
index 820d3d9a1b3..325f2c360c1 100644
--- a/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
@@ -86,4 +86,4 @@ This structure of putting the draft method at the top of the file and
the part object at the bottom is a bit of a convention in FreeSewing.
-
+We'll take a look at our part's *draft method* soon. For now, let's look at adding measurements to our part.
From 70d3f260d38df3dc665640a96798e28cc4fc394a Mon Sep 17 00:00:00 2001
From: Benjamin Fan
Date: Fri, 8 Mar 2024 13:34:27 -0800
Subject: [PATCH 002/795] fix(shared): Use "Bookmark this" translation strings
---
sites/shared/components/account/en.yaml | 2 ++
sites/shared/components/bookmarks.mjs | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/sites/shared/components/account/en.yaml b/sites/shared/components/account/en.yaml
index aa929831353..3b1e87bb6ba 100644
--- a/sites/shared/components/account/en.yaml
+++ b/sites/shared/components/account/en.yaml
@@ -204,6 +204,8 @@ customBookmark: Custom Bookmarks
yourBookmarks: Your bookmarks
bookmarkThisThing: Bookmark this { thing }
page: Page
+doc: Documentation
+pattern: Pattern
# sets
set: Measurements Set
diff --git a/sites/shared/components/bookmarks.mjs b/sites/shared/components/bookmarks.mjs
index 9b4bba7010c..223ef6690ea 100644
--- a/sites/shared/components/bookmarks.mjs
+++ b/sites/shared/components/bookmarks.mjs
@@ -36,7 +36,7 @@ export const CreateBookmark = ({ type, title, slug }) => {
return (
<>
-
{
labelBL={url}
/>
>
)
From e1729128791f4d496925c4f576a3a8abb03743ac Mon Sep 17 00:00:00 2001
From: Benjamin Fan
Date: Fri, 8 Mar 2024 13:35:38 -0800
Subject: [PATCH 003/795] fix(markdown): Typo in Bookmark Type documentation
---
markdown/org/docs/about/site/bookmarks/type/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/about/site/bookmarks/type/en.md b/markdown/org/docs/about/site/bookmarks/type/en.md
index c08efa9d315..38a0eabfb8e 100644
--- a/markdown/org/docs/about/site/bookmarks/type/en.md
+++ b/markdown/org/docs/about/site/bookmarks/type/en.md
@@ -6,5 +6,5 @@ Every bookmark has a **type** attribute that is mandatory.
When you manually create a bookmark, the type is always **custom** so you cannot choose it.
-Other types include **pattern**, **docs**, or **set** which will automatically be set when you bookmark a pattern, documentation page, or measurements set respectively.
+Other types include **pattern**, **doc**, or **set** which will automatically be set when you bookmark a pattern, documentation page, or measurements set respectively.
From d219387c3c7a333ff10688d3a7a3172c6ef6246e Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 9 Mar 2024 19:27:50 +0100
Subject: [PATCH 004/795] New translations en.md (Dutch) skip-build
---
markdown/org/docs/about/site/nl.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/about/site/nl.md b/markdown/org/docs/about/site/nl.md
index ba15261424b..6c5639680ef 100644
--- a/markdown/org/docs/about/site/nl.md
+++ b/markdown/org/docs/about/site/nl.md
@@ -61,7 +61,7 @@ Schakel [Two-Factor Authentication](/account/mfa/) in om je FreeSewing account t
## Maak het je eigen
-Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies:
+Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Now that you have a FreeSewing account, there's more you can do on FreeSewing.org. Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies: Klik door voor meer informatie over de volgende functies:
- [Account](/docs/about/site/account)
- [Maten sets](/docs/about/site/sets)
From 2305d9c1f10fae10b86c3a740c4609ae1cb77351 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Sun, 10 Mar 2024 16:17:26 +0100
Subject: [PATCH 005/795] Remove unused import (fix ESLint warning)
---
sites/shared/components/designs/linedrawings/index.mjs | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sites/shared/components/designs/linedrawings/index.mjs b/sites/shared/components/designs/linedrawings/index.mjs
index 643fc6fe6ba..98698777dec 100644
--- a/sites/shared/components/designs/linedrawings/index.mjs
+++ b/sites/shared/components/designs/linedrawings/index.mjs
@@ -38,11 +38,7 @@ import {
} from 'shared/components/designs/linedrawings/cornelius.mjs'
import { Diana, DianaFront, DianaBack } from 'shared/components/designs/linedrawings/diana.mjs'
import { Florence, FlorenceFront } from 'shared/components/designs/linedrawings/florence.mjs'
-import {
- Florent,
- FlorentFront,
- FlorentBack,
-} from 'shared/components/designs/linedrawings/florent.mjs'
+import { Florent, FlorentFront } from 'shared/components/designs/linedrawings/florent.mjs'
import { Lucy, LucyFront } from 'shared/components/designs/linedrawings/lucy.mjs'
import { Lumina, LuminaFront, LuminaBack } from 'shared/components/designs/linedrawings/lumina.mjs'
import { Lumira, LumiraFront, LumiraBack } from 'shared/components/designs/linedrawings/lumira.mjs'
From c43f2d8de35ce270d7e90bfd2bd76b5f89847d71 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Sun, 10 Mar 2024 18:42:47 +0100
Subject: [PATCH 006/795] Fix typo in changelog.yaml
---
config/changelog.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/changelog.yaml b/config/changelog.yaml
index f69fdc2eeca..152b3645ad4 100644
--- a/config/changelog.yaml
+++ b/config/changelog.yaml
@@ -157,8 +157,8 @@ Unreleased:
date: 2023-09-30
Changed:
all:
- - All FreeSewing pacakges are now ESM only.
- - All FreeSewing pacakges now use named exports.
+ - All FreeSewing packages are now ESM only.
+ - All FreeSewing packages now use named exports.
- Dropped support for NodeJS 14. NodeJS 18 (LTS/hydrogen) or more recent is now required.
Removed:
From 8dc4b9451bdfecdbabaf3b7c2fc45e717f20c74b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 11 Mar 2024 04:53:32 +0000
Subject: [PATCH 007/795] Bump yarn from 1.22.21 to 1.22.22
Bumps [yarn](https://github.com/yarnpkg/yarn) from 1.22.21 to 1.22.22.
- [Release notes](https://github.com/yarnpkg/yarn/releases)
- [Changelog](https://github.com/yarnpkg/yarn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yarnpkg/yarn/compare/v1.22.21...v1.22.22)
---
updated-dependencies:
- dependency-name: yarn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
yarn.lock | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index 9e444752d86..5a57fc4ac3c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -14470,9 +14470,9 @@ yargs@^15.0.1, yargs@^15.0.2, yargs@^15.3.1:
yargs-parser "^18.1.2"
yarn@^1.22.19:
- version "1.22.21"
- resolved "https://registry.npmjs.org/yarn/-/yarn-1.22.21.tgz"
- integrity sha512-ynXaJsADJ9JiZ84zU25XkPGOvVMmZ5b7tmTSpKURYwgELdjucAOydqIOrOfTxVYcNXe91xvLZwcRh68SR3liCg==
+ version "1.22.22"
+ resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.22.tgz#ac34549e6aa8e7ead463a7407e1c7390f61a6610"
+ integrity sha512-prL3kGtyG7o9Z9Sv8IPfBNrWTDmXB4Qbes8A9rEzt6wkJV8mUvoirjU0Mp3GGAU06Y0XQyA3/2/RQFVuK7MTfg==
yocto-queue@^0.1.0:
version "0.1.0"
From a5309cdffb27db2b97e8a6f6e2f6615ab4460915 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 11 Mar 2024 04:54:48 +0000
Subject: [PATCH 008/795] Bump i18next from 23.10.0 to 23.10.1
Bumps [i18next](https://github.com/i18next/i18next) from 23.10.0 to 23.10.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.10.0...v23.10.1)
---
updated-dependencies:
- dependency-name: i18next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
sites/lab/package.json | 2 +-
sites/sde/package.json | 2 +-
yarn.lock | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sites/lab/package.json b/sites/lab/package.json
index 72570b1409c..a0f2e3d170a 100644
--- a/sites/lab/package.json
+++ b/sites/lab/package.json
@@ -36,7 +36,7 @@
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
"daisyui": "4.7.2",
- "i18next": "23.10.0",
+ "i18next": "23.10.1",
"lodash.get": "4.4.2",
"lodash.orderby": "4.6.0",
"lodash.set": "4.3.2",
diff --git a/sites/sde/package.json b/sites/sde/package.json
index a27659a7940..600148cc20a 100644
--- a/sites/sde/package.json
+++ b/sites/sde/package.json
@@ -54,7 +54,7 @@
"echarts": "5.5.0",
"echarts-for-react": "3.0.2",
"file-saver": "2.0.5",
- "i18next": "23.10.0",
+ "i18next": "23.10.1",
"jotai": "2.7.0",
"jotai-location": "0.5.4",
"js-yaml": "4.1.0",
diff --git a/yarn.lock b/yarn.lock
index 9e444752d86..b2a9b82e313 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7157,10 +7157,10 @@ i18next-fs-backend@^2.3.1:
resolved "https://registry.npmjs.org/i18next-fs-backend/-/i18next-fs-backend-2.3.1.tgz"
integrity sha512-tvfXskmG/9o+TJ5Fxu54sSO5OkY6d+uMn+K6JiUGLJrwxAVfer+8V3nU8jq3ts9Pe5lXJv4b1N7foIjJ8Iy2Gg==
-i18next@23.10.0:
- version "23.10.0"
- resolved "https://registry.npmjs.org/i18next/-/i18next-23.10.0.tgz"
- integrity sha512-/TgHOqsa7/9abUKJjdPeydoyDc0oTi/7u9F8lMSj6ufg4cbC1Oj3f/Jja7zj7WRIhEQKB7Q4eN6y68I9RDxxGQ==
+i18next@23.10.1:
+ version "23.10.1"
+ resolved "https://registry.yarnpkg.com/i18next/-/i18next-23.10.1.tgz#217ce93b75edbe559ac42be00a20566b53937df6"
+ integrity sha512-NDiIzFbcs3O9PXpfhkjyf7WdqFn5Vq6mhzhtkXzj51aOcNuPNcTwuYNuXCpHsanZGHlHKL35G7huoFeVic1hng==
dependencies:
"@babel/runtime" "^7.23.2"
From 0cea078695ba3444ed38905cde95af1eb1890074 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:25:16 +0100
Subject: [PATCH 009/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/bee/cutting/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/bee/cutting/de.md b/markdown/org/docs/designs/bee/cutting/de.md
index dbe0ce12299..3cb517b0b32 100644
--- a/markdown/org/docs/designs/bee/cutting/de.md
+++ b/markdown/org/docs/designs/bee/cutting/de.md
@@ -38,6 +38,6 @@ Es gibt drei Varianten dieses Musters. **One Colour**, bei dem das Bikiniobertei
-Dieses Muster lässt sich leicht wenden, indem du einen ähnlichen Stoff wie den Hauptstoff kaufst und ihn als Kontrast verwendest. To save confusion on instructions it will be referred to as the lining fabric.
+Dieses Muster lässt sich leicht wenden, indem du einen ähnlichen Stoff wie den Hauptstoff kaufst und ihn als Kontrast verwendest. Um Verwirrung zu vermeiden, wird er in der folgenden Anleitung als Futterstoff bezeichnet.
From e5b7062f7d4f4b722a37ae8e10d42c50507ca592 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:25:17 +0100
Subject: [PATCH 010/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/bee/fabric/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/bee/fabric/de.md b/markdown/org/docs/designs/bee/fabric/de.md
index 4e1c5e14a71..a9cf346115b 100644
--- a/markdown/org/docs/designs/bee/fabric/de.md
+++ b/markdown/org/docs/designs/bee/fabric/de.md
@@ -8,6 +8,6 @@ Der Haupt- und der Futterstoff sind aus demselben Material. Bee wird aus Bademod
-You only need lining fabric if you intend to make the pattern reversible or if you want the band for the cross back tie variant to be a contrasting fabric. Ansonsten kannst du alle benötigten Teile aus deinem Hauptstoff zuschneiden.
+Du brauchst nur dann einen Futterstoff, wenn du das Schnittmuster wendbar machen willst oder wenn du das Band für die Kreuzbindervariante aus einem Kontraststoff machen willst. Ansonsten kannst du alle benötigten Teile aus deinem Hauptstoff zuschneiden.
From ac061dc91971c443358c4dc14c45c376a7bb6fcb Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:25:18 +0100
Subject: [PATCH 011/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/bee/instructions/de.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/markdown/org/docs/designs/bee/instructions/de.md b/markdown/org/docs/designs/bee/instructions/de.md
index c70c90c9827..62e51c30bd0 100644
--- a/markdown/org/docs/designs/bee/instructions/de.md
+++ b/markdown/org/docs/designs/bee/instructions/de.md
@@ -8,7 +8,7 @@ Achte darauf, dass du einen Stretchstich verwendest
-When making a reversible top the second colour will be referred to as the lining fabric.
+Wenn du ein wendbares Oberteil anfertigst, wird die zweite Farbe als Futterstoff bezeichnet.
Die Kerben in diesem Muster wirken eher wie Punkte, also **klammere** sie nicht, um sie zu markieren.
@@ -30,7 +30,7 @@ Die Kerben in diesem Muster wirken eher wie Punkte, also **klammere** sie nicht,
- Schneide die Nahtzugaben zurück und schneide die Ecken ab.
- Drehe dich von innen nach außen. Presse.
-Repeat this for the remaining neck tie pieces
+Wiederhole diesen Vorgang für die restlichen Krawattenstücke
### Schritt 2: Die Becher
@@ -51,9 +51,9 @@ Die Kerben in diesem Muster wirken eher wie Punkte, also **klammere** sie nicht,
Wenn deine Nahtzugabe breit ist, musst du die Nahtzugaben der Lücken vielleicht ein wenig kürzen, damit sie nicht zu groß werden.
-If you are having trouble turning the cups you can try one of these methods:
+Wenn du Probleme beim Wenden der Körbchen hast, kannst du eine der folgenden Methoden ausprobieren:
-- Create a 2.5cm (1") gap in the front or side seam and turn through that, either _slipstitch_-ing the gap closed or _edgestitch_-ing it closed during Step 7.
+- Erstelle eine 2,5 cm breite Lücke in der Vorder- oder Seitennaht und wende sie, indem du die Lücke entweder mit einem _Rutschstich_ schließt oder sie in Schritt 7 mit einem _Stich_ schließt.
- Verbreitere eine der vorhandenen Lücken und biege durch sie hindurch. Dann wird beim Wenden _Gestich_ oder _Rutschstich_ der verbreiterte Teil geschlossen.
@@ -85,7 +85,7 @@ Außerdem gibt es auf beiden Seiten der Mitte des Bandes Einkerbungen, die dir e
-Du kannst es auch vorziehen, den einen Becher in der Mitte über den anderen zu wickeln. To do this place the sides of the cups at the outer notches and lay their fronts pass the midpoint with the left on top.
+Du kannst es auch vorziehen, den einen Becher in der Mitte über den anderen zu wickeln. Dazu legst du die Seiten der Becher an den anderen Kerben an und legst ihre Vorderseiten über die Mitte, wobei die linke oben liegt.
From 86b248bffb42e2c5a6ca29f8798a5345c9c792b6 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:11 +0100
Subject: [PATCH 012/795] New translations en.md (German) skip-build
---
.../org/docs/designs/bent/options/shoulderslopereduction/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/bent/options/shoulderslopereduction/de.md b/markdown/org/docs/designs/bent/options/shoulderslopereduction/de.md
index 1c0fcf340cc..bdaf4d2a1de 100644
--- a/markdown/org/docs/designs/bent/options/shoulderslopereduction/de.md
+++ b/markdown/org/docs/designs/bent/options/shoulderslopereduction/de.md
@@ -2,7 +2,7 @@
title: "Verringerung der Schulterneigung"
---
-This pattern adapts to sloped shoulder by taking the shoulder slope measurement into account.
+Dieses Muster passt sich an schräge Schultern an, indem die Schulterschräge-Messung berücksichtigt wird.
Für Jacken oder Mantel kann es jedoch sein, dass man mehr Platz an den Schultern schaffen möchte, um Schulterpolster zu ermöglichen. Mit dieser Option können Sie zusätzlichen Platz an den Schultern erstellen, indem Sie die Menge der Schultern verkleinern.
From 2d38eaf484dfdddbb7185465f8a7a2567988f253 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:16 +0100
Subject: [PATCH 013/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/bob/instructions/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/bob/instructions/de.md b/markdown/org/docs/designs/bob/instructions/de.md
index 269e1117e27..925bc5a8dc8 100644
--- a/markdown/org/docs/designs/bob/instructions/de.md
+++ b/markdown/org/docs/designs/bob/instructions/de.md
@@ -25,7 +25,7 @@ Achte darauf, dass du dicht an der Kante nähst, damit die Stiche später unter
## Schritt 2: Schrägband anbringen
-We're going to apply bias tape as a finish around the entire edge of the bib.
+Wir werden den gesamten Rand des Lätzchens mit Schrägband abschließen.
Wahrscheinlich möchtest du am unteren Träger beginnen, denn so wird die Naht des Schrägbandes verdeckt, wenn das Lätzchen getragen wird.
From f084798a012148bc435a5cd6cbfa20fca82af7c2 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:21 +0100
Subject: [PATCH 014/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/bob/options/widthratio/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/bob/options/widthratio/de.md b/markdown/org/docs/designs/bob/options/widthratio/de.md
index a23c197fbe3..e32435e23c7 100644
--- a/markdown/org/docs/designs/bob/options/widthratio/de.md
+++ b/markdown/org/docs/designs/bob/options/widthratio/de.md
@@ -5,7 +5,7 @@ title: Breitenverhältnis
Steuert die Breite des Latzes.
- Erhöhe den Prozentsatz, um die Breite des Lätzchens zu vergrößern.
-- Decrease the percentage to constrict the width of the bib.
+- Verringere den Prozentsatz, um die Breite des Lätzchens einzuschränken.
From b0f4ca49942b570fc2574f678eb1f4e7a6d2a221 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:34 +0100
Subject: [PATCH 015/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/breanna/options/shoulderdart/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/breanna/options/shoulderdart/de.md b/markdown/org/docs/designs/breanna/options/shoulderdart/de.md
index 39ecc2f612e..461ec226d27 100644
--- a/markdown/org/docs/designs/breanna/options/shoulderdart/de.md
+++ b/markdown/org/docs/designs/breanna/options/shoulderdart/de.md
@@ -2,7 +2,7 @@
title: "Schulterabnäher"
---
-Whether or not to include a back shoulder dart to round the back.
+Ob du einen Schulterabnäher einfügen willst, um den Rücken abzurunden oder nicht.
From cc0b18ba303e8cfeb363bc5c5cafcb70631673ae Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:44 +0100
Subject: [PATCH 016/795] New translations en.md (German) skip-build
---
.../org/docs/designs/breanna/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/breanna/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/breanna/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/breanna/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/breanna/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 95e54b14b8476b7c02992ff75580b8c1b812c759 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:26:50 +0100
Subject: [PATCH 017/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/breanna/options/waistdart/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/breanna/options/waistdart/de.md b/markdown/org/docs/designs/breanna/options/waistdart/de.md
index 1bd7e6faa92..4f63fc1ddad 100644
--- a/markdown/org/docs/designs/breanna/options/waistdart/de.md
+++ b/markdown/org/docs/designs/breanna/options/waistdart/de.md
@@ -2,7 +2,7 @@
title: "Taillenabnäher"
---
-Whether or not to include a back waist dart to round the back.
+Ob du einen Abnäher in der Taille einfügen willst, um den Rücken abzurunden oder nicht.
From aa7e5ab91a331c49e018186f512e7443f477b686 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:27:13 +0100
Subject: [PATCH 018/795] New translations en.md (German) skip-build
---
.../org/docs/designs/brian/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/brian/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/brian/options/sleevecapq3spread1/de.md
index 387fa243527..858ceaab78d 100644
--- a/markdown/org/docs/designs/brian/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/brian/options/sleevecapq3spread1/de.md
@@ -4,7 +4,7 @@ title: "Armkugel Q3 Spreizung nach oben"
***
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 7907b4af69fad3f72c4025e613a900a1a861a4ea Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:29:26 +0100
Subject: [PATCH 019/795] New translations en.md (German) skip-build
---
.../org/docs/designs/diana/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/diana/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/diana/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/diana/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/diana/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 6d3abf3c3b545c2a64dd66c4d45cfa70726f8519 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:30:34 +0100
Subject: [PATCH 020/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/huey/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/huey/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/huey/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/huey/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/huey/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From ecef24926d51252d548e393813126409e6f7fe70 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:33:29 +0100
Subject: [PATCH 021/795] New translations en.md (German) skip-build
---
.../org/docs/designs/simon/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/simon/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/simon/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/simon/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/simon/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From faff141cb871818150126783f80de3b1be2c3125 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:34:19 +0100
Subject: [PATCH 022/795] New translations en.md (German) skip-build
---
.../org/docs/designs/simone/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/simone/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/simone/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/simone/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/simone/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From a4ec956300a39cb7a3b6d07438628bd947a5e954 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:34:49 +0100
Subject: [PATCH 023/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/sven/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/sven/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/sven/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/sven/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/sven/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 59e27e8fd148348f0d212aca3b12b689f98ceb75 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:35:22 +0100
Subject: [PATCH 024/795] New translations en.md (German) skip-build
---
.../org/docs/designs/teagan/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/teagan/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/teagan/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/teagan/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/teagan/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 1ed302aed6e4fb8791cce8670a62da1985e7be1b Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Mon, 11 Mar 2024 08:37:00 +0100
Subject: [PATCH 025/795] New translations en.md (German) skip-build
---
markdown/org/docs/designs/yuri/options/sleevecapq3spread1/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/docs/designs/yuri/options/sleevecapq3spread1/de.md b/markdown/org/docs/designs/yuri/options/sleevecapq3spread1/de.md
index 5a47a3fa2a3..79a52d50baf 100644
--- a/markdown/org/docs/designs/yuri/options/sleevecapq3spread1/de.md
+++ b/markdown/org/docs/designs/yuri/options/sleevecapq3spread1/de.md
@@ -2,7 +2,7 @@
title: "Armkugel Q3 Spreizung nach oben"
---
-
+
Diese Option steuert die Aufwärtsverteilung im dritten Quadranten der Ärmel.
From 2e216f020a0a36df88646d485885f23df8baf5dc Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 11 Mar 2024 09:42:11 +0000
Subject: [PATCH 026/795] Bump daisyui from 4.7.2 to 4.7.3
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v4.7.2...v4.7.3)
---
updated-dependencies:
- dependency-name: daisyui
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
sites/dev/package.json | 2 +-
sites/lab/package.json | 2 +-
sites/org/package.json | 2 +-
sites/sde/package.json | 2 +-
sites/shared/package.json | 2 +-
yarn.lock | 8 ++++----
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/sites/dev/package.json b/sites/dev/package.json
index 59d1b7b5d10..6d399123963 100644
--- a/sites/dev/package.json
+++ b/sites/dev/package.json
@@ -35,7 +35,7 @@
"@next/bundle-analyzer": "14.1.3",
"@tailwindcss/typography": "0.5.10",
"algoliasearch": "4.22.1",
- "daisyui": "4.7.2",
+ "daisyui": "4.7.3",
"lodash.get": "4.4.2",
"lodash.orderby": "4.6.0",
"lodash.set": "4.3.2",
diff --git a/sites/lab/package.json b/sites/lab/package.json
index a0f2e3d170a..844b597319b 100644
--- a/sites/lab/package.json
+++ b/sites/lab/package.json
@@ -35,7 +35,7 @@
"d3-dispatch": "3.0.1",
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
- "daisyui": "4.7.2",
+ "daisyui": "4.7.3",
"i18next": "23.10.1",
"lodash.get": "4.4.2",
"lodash.orderby": "4.6.0",
diff --git a/sites/org/package.json b/sites/org/package.json
index dc4a0e48ea5..9ce2c93fea5 100644
--- a/sites/org/package.json
+++ b/sites/org/package.json
@@ -37,7 +37,7 @@
"@tailwindcss/typography": "0.5.10",
"algoliasearch": "4.22.1",
"react-copy-to-clipboard": "5.1.0",
- "daisyui": "4.7.2",
+ "daisyui": "4.7.3",
"echarts": "5.5.0",
"echarts-for-react": "3.0.2",
"jotai": "2.7.0",
diff --git a/sites/sde/package.json b/sites/sde/package.json
index 600148cc20a..04427ad1800 100644
--- a/sites/sde/package.json
+++ b/sites/sde/package.json
@@ -50,7 +50,7 @@
"d3-dispatch": "3.0.1",
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
- "daisyui": "4.7.2",
+ "daisyui": "4.7.3",
"echarts": "5.5.0",
"echarts-for-react": "3.0.2",
"file-saver": "2.0.5",
diff --git a/sites/shared/package.json b/sites/shared/package.json
index 027354f4a60..be0964d4bd9 100644
--- a/sites/shared/package.json
+++ b/sites/shared/package.json
@@ -23,7 +23,7 @@
"d3-dispatch": "3.0.1",
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
- "daisyui": "4.7.2",
+ "daisyui": "4.7.3",
"feed": "4.2.2",
"file-saver": "2.0.5",
"front-matter": "4.0.2",
diff --git a/yarn.lock b/yarn.lock
index ae0f6e178ac..a04453c751a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4697,10 +4697,10 @@ dagre-d3-es@7.0.10:
d3 "^7.8.2"
lodash-es "^4.17.21"
-daisyui@4.7.2:
- version "4.7.2"
- resolved "https://registry.npmjs.org/daisyui/-/daisyui-4.7.2.tgz"
- integrity sha512-9UCss12Zmyk/22u+JbkVrHHxOzFOyY17HuqP5LeswI4hclbj6qbjJTovdj2zRy8cCH6/n6Wh0lTLjriGnyGh0g==
+daisyui@4.7.3:
+ version "4.7.3"
+ resolved "https://registry.yarnpkg.com/daisyui/-/daisyui-4.7.3.tgz#2d75b71d1c52f643914dea9b12930acc51ed9f49"
+ integrity sha512-R8jUpBMAUm4rSyxzGa9QqFdJTkzREtb1QahXdDoOfElGiF4VbSuu5bfqQoOro1kkSagPy+aTKu5WtSSXmH3u3g==
dependencies:
css-selector-tokenizer "^0.8"
culori "^3"
From 6a000fd36555032a30a883d226d64ab56efd7052 Mon Sep 17 00:00:00 2001
From: Natalia Sayang
Date: Tue, 12 Mar 2024 02:02:06 +0000
Subject: [PATCH 027/795] Minor updates to pattern design tutorial for clarity
and consistency
---
.../part2/adding-measurements/en.md | 2 -
.../pattern-design/part2/adding-options/en.md | 11 ++----
.../part2/constructing-the-neck-opening/en.md | 8 +---
.../pattern-design/part2/draft-method/en.md | 6 +--
.../part2/fitting-the-neck-opening/en.md | 38 +++++++++++++------
.../pattern-design/part2/our-first-part/en.md | 2 +-
6 files changed, 34 insertions(+), 33 deletions(-)
diff --git a/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md b/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
index 2c6d3d08c80..875cb46030e 100644
--- a/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
@@ -32,9 +32,7 @@ function draftBib({ part }) => {
export const bib = {
name: 'fromscratch.bib',
draft: draftBib,
- // highlight-start
measurements: [ 'head' ],
- // highlight-end
}
```
diff --git a/markdown/dev/tutorials/pattern-design/part2/adding-options/en.md b/markdown/dev/tutorials/pattern-design/part2/adding-options/en.md
index 748d6f4bb72..c1babd679f5 100644
--- a/markdown/dev/tutorials/pattern-design/part2/adding-options/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/adding-options/en.md
@@ -32,7 +32,6 @@ export const bib = {
name: 'fromscratch.bib',
draft: draftBib,
measurements: [ 'head' ],
- // highlight-start
options: {
neckRatio: {
pct: 80,
@@ -41,7 +40,6 @@ export const bib = {
menu: 'fit'
},
},
- // highlight-end
}
```
@@ -50,7 +48,7 @@ Can you guess what it means?
- We've added the `options` property to our `bib` object
- On the `options` property, we have added `neckRatio` which holds the configuration for our option
- It is a `pct` option -- which means it's a percentage
-- Its default value is 90%
+- Its default value is 80%
- Its minimum value is 70%
- Its maximum value is 90%
@@ -64,8 +62,7 @@ They are all documented [in the part reference docs](/reference/api/part/config/
The `menu` property on our option is *extra*.
It will be ignored by FreeSewing's core library and if we leave it out, our design will produce the same result.
-Instead, this `menu` property is there for the benefit FreeSewing's development
-environment which will use this to build a menu structure for the various
+Instead, this `menu` property is there for the benefit of FreeSewing's development environment which will use this to build a menu structure for the various
options.
This is covered in more detail in [Part 3](/tutorials/pattern-design/part3) of this tutorial.
@@ -92,7 +89,6 @@ export const bib = {
max: 90,
menu: 'fit'
},
- // highlight-start
widthRatio: {
pct: 45,
min: 35,
@@ -105,12 +101,11 @@ export const bib = {
max: 85,
menu: 'style'
},
- // highlight-end
},
}
```
-This pretty much the exact same thing, except that are placing this in the `style` menu.
+This is pretty much the exact same thing, except that are placing these in the `style` menu.
Later, I will test-drive our pattern to see how it behaves when we adapt the options
between their minimum and maximum values. At that time, I may need to tweak these values.
diff --git a/markdown/dev/tutorials/pattern-design/part2/constructing-the-neck-opening/en.md b/markdown/dev/tutorials/pattern-design/part2/constructing-the-neck-opening/en.md
index ff71f0c80ad..f5e8fb3c695 100644
--- a/markdown/dev/tutorials/pattern-design/part2/constructing-the-neck-opening/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/constructing-the-neck-opening/en.md
@@ -15,16 +15,14 @@ We'll be adding some points to our pattern to do just that. But we want to have
access to our measurements and options to do so. For this, we first destructure
`measurements` and `options` so we can access them:
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
paths,
points,
- // highlight-start
measurements,
options,
- // highlight-end
part,
}) {
@@ -39,7 +37,7 @@ Great. Now let's get to work.
Let's add some points, and use them to draw our first curve:
-```js
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -50,7 +48,6 @@ function draftBib({
part,
}) {
- // highlight-start
/*
* Construct the quarter neck opening
*/
@@ -79,7 +76,6 @@ function draftBib({
points.bottomCp2,
points.bottom
)
- // highlight-end
return part
}
diff --git a/markdown/dev/tutorials/pattern-design/part2/draft-method/en.md b/markdown/dev/tutorials/pattern-design/part2/draft-method/en.md
index 60e14e89e4f..df1124957d2 100644
--- a/markdown/dev/tutorials/pattern-design/part2/draft-method/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/draft-method/en.md
@@ -20,7 +20,7 @@ does.
If you're not familiar with the `({ part })` syntax you see above, this is a
technique called *parameter destructuring* or more generally, [object
-destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment)
+destructuring](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment).
The draft method receives only 1 parameter: An object that holds everything we
need to draft our method. Destructuring is a way to *pull things out of the
@@ -63,12 +63,10 @@ Change the function to look like this:
```src/bib.mjs
function draftBib({
- // highlight-start
Path,
Point,
paths,
points,
- // highlight-end
part,
}) {
@@ -76,7 +74,7 @@ function draftBib({
}
```
-That's bunch of new lines, but each of one gives us something we'll use in this
+That's a bunch of new lines, but each of one gives us something we'll use in this
tutorial.
For a complete list of what you can access via destructuring like this, refer
diff --git a/markdown/dev/tutorials/pattern-design/part2/fitting-the-neck-opening/en.md b/markdown/dev/tutorials/pattern-design/part2/fitting-the-neck-opening/en.md
index b606584b8f8..d3e315c466e 100644
--- a/markdown/dev/tutorials/pattern-design/part2/fitting-the-neck-opening/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/fitting-the-neck-opening/en.md
@@ -8,7 +8,7 @@ going to make sure it is. Here's how we'll make sure the neck opening is _just
right_:
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -19,29 +19,43 @@ function draftBib({
part,
}) {
- // Construct the quarter neck opening
- // highlight-start
+ /*
+ * Construct the quarter neck opening
+ */
let tweak = 1
let target = (measurements.head * options.neckRatio) /4
let delta
do {
- // highlight-end
- points.right = new Point(tweak * measurements.head / 10, 0)
- points.bottom = new Point(0, tweak * measurements.head / 12)
+ points.right = new Point(
+ tweak * measurements.head / 10,
+ 0
+ )
+ points.bottom = new Point(
+ 0,
+ tweak * measurements.head / 12
+ )
- points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2)
- points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2)
+ points.rightCp1 = points.right.shift(
+ 90,
+ points.bottom.dy(points.right) / 2
+ )
+ points.bottomCp2 = points.bottom.shift(
+ 0,
+ points.bottom.dx(points.right) / 2
+ )
paths.quarterNeck = new Path()
.move(points.right)
- .curve(points.rightCp1, points.bottomCp2, points.bottom)
+ .curve(
+ points.rightCp1,
+ points.bottomCp2,
+ points.bottom
+ )
- // highlight-start
delta = paths.quarterNeck.length() - target
if (delta > 0) tweak = tweak * 0.99
else tweak = tweak * 1.02
} while (Math.abs(delta) > 1)
- // highlight-end
return part
}
@@ -71,4 +85,4 @@ We keep on doing this until `Math.abs(delta)` is less than 1. Meaning that we
are within 1 mm of our target value.
Now that we're happy with the length of our quarter neck opening, let's
-construct the entire neck opening.
+complete the entire neck opening.
diff --git a/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md b/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
index 325f2c360c1..f8c72140c80 100644
--- a/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/our-first-part/en.md
@@ -86,4 +86,4 @@ This structure of putting the draft method at the top of the file and
the part object at the bottom is a bit of a convention in FreeSewing.
-We'll take a look at our part's *draft method* soon. For now, let's look at adding measurements to our part.
+We'll take a deeper look at our part's draft method soon. For now, let's look at adding measurements to our part.
From c8cc78ce1dc97fffee9ea5eff0dd413ebcd51282 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Tue, 12 Mar 2024 14:57:56 +0100
Subject: [PATCH 028/795] fix(markdown): Fix order of steps in dev pattern
design tutorial. Fixes #6232
---
.../dev/tutorials/pattern-design/part2/drawing-the-straps/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md b/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
index 5a03fa78692..aa6ba757ab4 100644
--- a/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/drawing-the-straps/en.md
@@ -1,6 +1,6 @@
---
title: Drawing the straps
-order: 230
+order: 93
---
All we have to do now is flip a bunch of points on the other side,
From 8c887ced9cdff9375d60a30c6d578b24f090f520 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Tue, 12 Mar 2024 18:52:06 +0100
Subject: [PATCH 029/795] fix(shared): No need to divide config.dflt by 100
again
---
.../shared/components/workbench/menus/design-options/inputs.mjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sites/shared/components/workbench/menus/design-options/inputs.mjs b/sites/shared/components/workbench/menus/design-options/inputs.mjs
index 7a6c1837bdf..c439c92d59e 100644
--- a/sites/shared/components/workbench/menus/design-options/inputs.mjs
+++ b/sites/shared/components/workbench/menus/design-options/inputs.mjs
@@ -12,7 +12,7 @@ import {
const PctOptionInput = (props) => {
const { config, settings, changed } = props
- const currentOrDefault = changed ? props.current : config.dflt / 100
+ const currentOrDefault = changed ? props.current : config.dflt
return (
From 5fc5cf400ffe9a12be155e09d314dacf719aa798 Mon Sep 17 00:00:00 2001
From: Natalia Sayang
Date: Wed, 13 Mar 2024 01:19:02 +0000
Subject: [PATCH 030/795] Minor updates to pattern design tutorial
---
.../part2/completing-the-neck-opening/en.md | 39 ++++++++++++-------
.../part2/creating-the-closure/en.md | 37 ++++++++++++------
.../part2/drawing-the-bib-outline/en.md | 36 ++++++++++++-----
.../part2/shaping-the-straps/en.md | 33 +++++++++++-----
4 files changed, 101 insertions(+), 44 deletions(-)
diff --git a/markdown/dev/tutorials/pattern-design/part2/completing-the-neck-opening/en.md b/markdown/dev/tutorials/pattern-design/part2/completing-the-neck-opening/en.md
index 0d7e8503b81..a2c40beb350 100644
--- a/markdown/dev/tutorials/pattern-design/part2/completing-the-neck-opening/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/completing-the-neck-opening/en.md
@@ -14,7 +14,7 @@ as it is, and simply chose to not show it.
To accomplish this, we'll call the `hide()` method on our path:
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -28,8 +28,8 @@ function draftBib({
/*
* Construct the quarter neck opening
*/
- const target = (measurements.head * options.neckRatio) /4
let tweak = 1
+ let target = (measurements.head * options.neckRatio) /4
let delta
do {
points.right = new Point(
@@ -57,9 +57,7 @@ function draftBib({
points.bottomCp2,
points.bottom
)
- // highlight-start
.hide()
- // highlight-end
delta = paths.quarterNeck.length() - target
if (delta > 0) tweak = tweak * 0.99
@@ -86,7 +84,7 @@ Let's add some more points, and then construct the complete path for the neck
opening.
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -100,18 +98,35 @@ function draftBib({
/*
* Construct the quarter neck opening
*/
- const target = (measurements.head * options.neckRatio) /4
let tweak = 1
+ let target = (measurements.head * options.neckRatio) /4
let delta
do {
- points.right = new Point(tweak * measurements.head / 10, 0)
- points.bottom = new Point(0, tweak * measurements.head / 12)
- points.rightCp1 = points.right.shift( 90, points.bottom.dy(points.right) / 2)
- points.bottomCp2 = points.bottom.shift( 0, points.bottom.dx(points.right) / 2)
+ points.right = new Point(
+ tweak * measurements.head / 10,
+ 0
+ )
+ points.bottom = new Point(
+ 0,
+ tweak * measurements.head / 12
+ )
+ points.rightCp1 = points.right.shift(
+ 90,
+ points.bottom.dy(points.right) / 2
+ )
+ points.bottomCp2 = points.bottom.shift(
+ 0,
+ points.bottom.dx(points.right) / 2
+ )
+
paths.quarterNeck = new Path()
.move(points.right)
- .curve(points.rightCp1, points.bottomCp2, points.bottom)
+ .curve(
+ points.rightCp1,
+ points.bottomCp2,
+ points.bottom
+ )
.hide()
delta = paths.quarterNeck.length() - target
@@ -119,7 +134,6 @@ function draftBib({
else tweak = tweak * 1.02
} while (Math.abs(delta) > 1)
- // highlight-start
/*
* Construct the complete neck opening
*/
@@ -140,7 +154,6 @@ function draftBib({
.curve(points.rightCp2, points.topCp1, points.top)
.close()
.addClass('fabric')
- // highlight-end
return part
}
diff --git a/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md b/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
index feb31709e2d..7715728eadd 100644
--- a/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
@@ -27,7 +27,7 @@ Like our neck opening, we've only drawn half since we can simply copy the
points to the other side.
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -35,27 +35,42 @@ function draftBib({
points,
measurements,
options,
- // highlight-start
macro,
- // highlight-end
part,
}) {
/*
* Construct the quarter neck opening
*/
- const target = (measurements.head * options.neckRatio) /4
let tweak = 1
+ let target = (measurements.head * options.neckRatio) /4
let delta
do {
- points.right = new Point(tweak * measurements.head / 10, 0)
- points.bottom = new Point(0, tweak * measurements.head / 12)
- points.rightCp1 = points.right.shift( 90, points.bottom.dy(points.right) / 2)
- points.bottomCp2 = points.bottom.shift( 0, points.bottom.dx(points.right) / 2)
-
+ points.right = new Point(
+ tweak * measurements.head / 10,
+ 0
+ )
+ points.bottom = new Point(
+ 0,
+ tweak * measurements.head / 12
+ )
+
+ points.rightCp1 = points.right.shift(
+ 90,
+ points.bottom.dy(points.right) / 2
+ )
+ points.bottomCp2 = points.bottom.shift(
+ 0,
+ points.bottom.dx(points.right) / 2
+ )
+
paths.quarterNeck = new Path()
.move(points.right)
- .curve(points.rightCp1, points.bottomCp2, points.bottom)
+ .curve(
+ points.rightCp1,
+ points.bottomCp2,
+ points.bottom
+ )
.hide()
delta = paths.quarterNeck.length() - target
@@ -134,7 +149,6 @@ function draftBib({
.curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop)
.close()
- // highlight-start
// Round the straps
const strap = points.edgeTop.dy(points.top)
@@ -156,7 +170,6 @@ function draftBib({
via: points.tipRightBottom,
hide: false
})
- // highlight-end
return part
}
diff --git a/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md b/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
index 3c9420e2114..b38f1227944 100644
--- a/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
@@ -22,23 +22,41 @@ function draftBib({
let target = (measurements.head * options.neckRatio) /4
let delta
do {
- points.right = new Point(tweak * measurements.head / 10, 0)
- points.bottom = new Point(0, tweak * measurements.head / 12)
-
- points.rightCp1 = points.right.shift(90, points.bottom.dy(points.right)/2)
- points.bottomCp2 = points.bottom.shift(0, points.bottom.dx(points.right)/2)
+ points.right = new Point(
+ tweak * measurements.head / 10,
+ 0
+ )
+ points.bottom = new Point(
+ 0,
+ tweak * measurements.head / 12
+ )
+
+ points.rightCp1 = points.right.shift(
+ 90,
+ points.bottom.dy(points.right) / 2
+ )
+ points.bottomCp2 = points.bottom.shift(
+ 0,
+ points.bottom.dx(points.right) / 2
+ )
paths.quarterNeck = new Path()
.move(points.right)
- .curve(points.rightCp1, points.bottomCp2, points.bottom)
- .hide() // Add this line
+ .curve(
+ points.rightCp1,
+ points.bottomCp2,
+ points.bottom
+ )
+ .hide()
delta = paths.quarterNeck.length() - target
if (delta > 0) tweak = tweak * 0.99
else tweak = tweak * 1.02
} while (Math.abs(delta) > 1)
- // Construct the complete neck opening
+ /*
+ * Construct the complete neck opening
+ */
points.rightCp2 = points.rightCp1.flipY()
points.bottomCp1 = points.bottomCp2.flipX()
points.left = points.right.flipX()
@@ -57,7 +75,6 @@ function draftBib({
.close()
.addClass('fabric')
- // highlight-start
// Drawing the bib outline
const width = measurements.head * options.widthRatio
const length = measurements.head * options.lengthRatio
@@ -78,7 +95,6 @@ function draftBib({
.line(points.topLeft)
.close()
.addClass('fabric')
- // highlight-end
return part
}
diff --git a/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md b/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
index 0467cc28c4b..e86b59b142a 100644
--- a/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
@@ -17,7 +17,7 @@ As always, [the API docs](/reference/api/point/) have all the details.
-```design/src/bib.mjs
+```src/bib.mjs
function draftBib({
Path,
Point,
@@ -31,18 +31,35 @@ function draftBib({
/*
* Construct the quarter neck opening
*/
- const target = (measurements.head * options.neckRatio) /4
let tweak = 1
+ let target = (measurements.head * options.neckRatio) /4
let delta
do {
- points.right = new Point(tweak * measurements.head / 10, 0)
- points.bottom = new Point(0, tweak * measurements.head / 12)
- points.rightCp1 = points.right.shift( 90, points.bottom.dy(points.right) / 2)
- points.bottomCp2 = points.bottom.shift( 0, points.bottom.dx(points.right) / 2)
+ points.right = new Point(
+ tweak * measurements.head / 10,
+ 0
+ )
+ points.bottom = new Point(
+ 0,
+ tweak * measurements.head / 12
+ )
+
+ points.rightCp1 = points.right.shift(
+ 90,
+ points.bottom.dy(points.right) / 2
+ )
+ points.bottomCp2 = points.bottom.shift(
+ 0,
+ points.bottom.dx(points.right) / 2
+ )
paths.quarterNeck = new Path()
.move(points.right)
- .curve(points.rightCp1, points.bottomCp2, points.bottom)
+ .curve(
+ points.rightCp1,
+ points.bottomCp2,
+ points.bottom
+ )
.hide()
delta = paths.quarterNeck.length() - target
@@ -94,7 +111,6 @@ function draftBib({
.close()
.addClass('fabric')
- // highlight-start
/*
* Shape the straps
*/
@@ -121,7 +137,6 @@ function draftBib({
.line(points.edgeRight)
.curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop)
.close()
- // highlight-end
return part
}
From 2748fab861bcb63d0411b427ea0221c77f0a5fbb Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 13 Mar 2024 04:29:01 +0000
Subject: [PATCH 031/795] Bump @prisma/client from 5.10.2 to 5.11.0
Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 5.10.2 to 5.11.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.11.0/packages/client)
---
updated-dependencies:
- dependency-name: "@prisma/client"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
sites/backend/package.json | 2 +-
yarn.lock | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sites/backend/package.json b/sites/backend/package.json
index f08c02126e3..e517f36561d 100644
--- a/sites/backend/package.json
+++ b/sites/backend/package.json
@@ -29,7 +29,7 @@
"peerDependencies": {},
"dependencies": {
"@aws-sdk/client-sesv2": "3.529.1",
- "@prisma/client": "5.10.2",
+ "@prisma/client": "5.11.0",
"bcryptjs": "2.4.3",
"cors": "2.8.5",
"dotenv": "16.4.5",
diff --git a/yarn.lock b/yarn.lock
index a04453c751a..94ed41ee82d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1900,10 +1900,10 @@
resolved "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.24.tgz"
integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==
-"@prisma/client@5.10.2":
- version "5.10.2"
- resolved "https://registry.npmjs.org/@prisma/client/-/client-5.10.2.tgz"
- integrity sha512-ef49hzB2yJZCvM5gFHMxSFL9KYrIP9udpT5rYo0CsHD4P9IKj473MbhU1gjKKftiwWBTIyrt9jukprzZXazyag==
+"@prisma/client@5.11.0":
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.11.0.tgz#d8e55fab85163415b2245fb408b9106f83c8106d"
+ integrity sha512-SWshvS5FDXvgJKM/a0y9nDC1rqd7KG0Q6ZVzd+U7ZXK5soe73DJxJJgbNBt2GNXOa+ysWB4suTpdK5zfFPhwiw==
"@prisma/debug@5.10.2":
version "5.10.2"
From 34c0cf4489a9bcbf297e7e5f4f82dacef82394bf Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 13 Mar 2024 04:29:21 +0000
Subject: [PATCH 032/795] Bump @commitlint/config-conventional from 19.0.3 to
19.1.0
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 19.0.3 to 19.1.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.1.0/@commitlint/config-conventional)
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
yarn.lock | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index a04453c751a..f9c04943560 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -943,9 +943,9 @@
yargs "^17.0.0"
"@commitlint/config-conventional@^19.0.3":
- version "19.0.3"
- resolved "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-19.0.3.tgz"
- integrity sha512-vh0L8XeLaEzTe8VCxSd0gAFvfTK0RFolrzw4o431bIuWJfi/yRCHJlsDwus7wW2eJaFFDR0VFXJyjGyDQhi4vA==
+ version "19.1.0"
+ resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-19.1.0.tgz#6b4b7938aa3bc308214a683247520f602e55961e"
+ integrity sha512-KIKD2xrp6Uuk+dcZVj3++MlzIr/Su6zLE8crEDQCZNvWHNQSeeGbzOlNtsR32TUy6H3JbP7nWgduAHCaiGQ6EA==
dependencies:
"@commitlint/types" "^19.0.3"
conventional-changelog-conventionalcommits "^7.0.2"
From dfe41a70d4aea236037271f8f5ce9ca10fe4436d Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 13 Mar 2024 04:29:46 +0000
Subject: [PATCH 033/795] Bump @commitlint/cli from 19.0.3 to 19.1.0
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 19.0.3 to 19.1.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.1.0/@commitlint/cli)
---
updated-dependencies:
- dependency-name: "@commitlint/cli"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
yarn.lock | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/yarn.lock b/yarn.lock
index a04453c751a..cd30c07cfd0 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -930,13 +930,13 @@
integrity sha512-htzFO1Zc57S8kgdRK9mLcPVTW1BY2ijfH7Dk2CeZmspTWKdKqSo1iwmqrq2WtRjFlo8aRZYgLX0wFrDXF/9DLA==
"@commitlint/cli@^19.0.3":
- version "19.0.3"
- resolved "https://registry.npmjs.org/@commitlint/cli/-/cli-19.0.3.tgz"
- integrity sha512-mGhh/aYPib4Vy4h+AGRloMY+CqkmtdeKPV9poMcZeImF5e3knQ5VYaSeAM0mEzps1dbKsHvABwaDpafLUuM96g==
+ version "19.1.0"
+ resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-19.1.0.tgz#56d7baa098a29e2a909b46e35021f2ab68ec5a51"
+ integrity sha512-SYGm8HGbVzrlSYeB6oo6pG1Ec6bOMJcDsXgNGa4vgZQsPj6nJkcbTWlIRmtmIk0tHi0d5sCljGuQ+g/0NCPv7w==
dependencies:
"@commitlint/format" "^19.0.3"
- "@commitlint/lint" "^19.0.3"
- "@commitlint/load" "^19.0.3"
+ "@commitlint/lint" "^19.1.0"
+ "@commitlint/load" "^19.1.0"
"@commitlint/read" "^19.0.3"
"@commitlint/types" "^19.0.3"
execa "^8.0.1"
@@ -991,24 +991,24 @@
"@commitlint/types" "^19.0.3"
semver "^7.6.0"
-"@commitlint/lint@^19.0.3":
- version "19.0.3"
- resolved "https://registry.npmjs.org/@commitlint/lint/-/lint-19.0.3.tgz"
- integrity sha512-uHPyRqIn57iIplYa5xBr6oNu5aPXKGC4WLeuHfqQHclwIqbJ33g3yA5fIA+/NYnp5ZM2EFiujqHFaVUYj6HlKA==
+"@commitlint/lint@^19.1.0":
+ version "19.1.0"
+ resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-19.1.0.tgz#0f4b26b1452d59a92a28b5fa6de9bdbee18399a1"
+ integrity sha512-ESjaBmL/9cxm+eePyEr6SFlBUIYlYpI80n+Ltm7IA3MAcrmiP05UMhJdAD66sO8jvo8O4xdGn/1Mt2G5VzfZKw==
dependencies:
"@commitlint/is-ignored" "^19.0.3"
"@commitlint/parse" "^19.0.3"
"@commitlint/rules" "^19.0.3"
"@commitlint/types" "^19.0.3"
-"@commitlint/load@^19.0.3":
- version "19.0.3"
- resolved "https://registry.npmjs.org/@commitlint/load/-/load-19.0.3.tgz"
- integrity sha512-18Tk/ZcDFRKIoKfEcl7kC+bYkEQ055iyKmGsYDoYWpKf6FUvBrP9bIWapuy/MB+kYiltmP9ITiUx6UXtqC9IRw==
+"@commitlint/load@^19.1.0":
+ version "19.1.0"
+ resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-19.1.0.tgz#08403b6ea33e50b013dba0ab9631fd67fde67e30"
+ integrity sha512-rWqnvNDpeshX8JfUC/qjpDkQB78qF+4uHcJmIRJMwvlj6zWce08SP/TPKN3GlNKgXhAawwcAPxXL9qOTTdiOBA==
dependencies:
"@commitlint/config-validator" "^19.0.3"
"@commitlint/execute-rule" "^19.0.0"
- "@commitlint/resolve-extends" "^19.0.3"
+ "@commitlint/resolve-extends" "^19.1.0"
"@commitlint/types" "^19.0.3"
chalk "^5.3.0"
cosmiconfig "^8.3.6"
@@ -1041,10 +1041,10 @@
git-raw-commits "^4.0.0"
minimist "^1.2.8"
-"@commitlint/resolve-extends@^19.0.3":
- version "19.0.3"
- resolved "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-19.0.3.tgz"
- integrity sha512-18BKmta8OC8+Ub+Q3QGM9l27VjQaXobloVXOrMvu8CpEwJYv62vC/t7Ka5kJnsW0tU9q1eMqJFZ/nN9T/cOaIA==
+"@commitlint/resolve-extends@^19.1.0":
+ version "19.1.0"
+ resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-19.1.0.tgz#fa5b8f921e9c8d76f53624c35bf25b9676bd73fa"
+ integrity sha512-z2riI+8G3CET5CPgXJPlzftH+RiWYLMYv4C9tSLdLXdr6pBNimSKukYP9MS27ejmscqCTVA4almdLh0ODD2KYg==
dependencies:
"@commitlint/config-validator" "^19.0.3"
"@commitlint/types" "^19.0.3"
From bd004f1959b6396aee6f49910137b98fe2e3ee75 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 13 Mar 2024 04:30:58 +0000
Subject: [PATCH 034/795] Bump prisma from 5.10.2 to 5.11.0
Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) from 5.10.2 to 5.11.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.11.0/packages/cli)
---
updated-dependencies:
- dependency-name: prisma
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
sites/backend/package.json | 2 +-
yarn.lock | 66 +++++++++++++++++++-------------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/sites/backend/package.json b/sites/backend/package.json
index f08c02126e3..8804f9844dd 100644
--- a/sites/backend/package.json
+++ b/sites/backend/package.json
@@ -53,7 +53,7 @@
"mocha": "10.3.0",
"mocha-steps": "1.3.0",
"nodemon": "3.1.0",
- "prisma": "5.10.2"
+ "prisma": "5.11.0"
},
"engines": {
"node": ">= 18.17.0 <22"
diff --git a/yarn.lock b/yarn.lock
index a04453c751a..e4da85e480a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1905,41 +1905,41 @@
resolved "https://registry.npmjs.org/@prisma/client/-/client-5.10.2.tgz"
integrity sha512-ef49hzB2yJZCvM5gFHMxSFL9KYrIP9udpT5rYo0CsHD4P9IKj473MbhU1gjKKftiwWBTIyrt9jukprzZXazyag==
-"@prisma/debug@5.10.2":
- version "5.10.2"
- resolved "https://registry.npmjs.org/@prisma/debug/-/debug-5.10.2.tgz"
- integrity sha512-bkBOmH9dpEBbMKFJj8V+Zp8IZHIBjy3fSyhLhxj4FmKGb/UBSt9doyfA6k1UeUREsMJft7xgPYBbHSOYBr8XCA==
+"@prisma/debug@5.11.0":
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.11.0.tgz#80e3f9d5a8f678c67a8783f7fcdda3cbbb8dd091"
+ integrity sha512-N6yYr3AbQqaiUg+OgjkdPp3KPW1vMTAgtKX6+BiB/qB2i1TjLYCrweKcUjzOoRM5BriA4idrkTej9A9QqTfl3A==
-"@prisma/engines-version@5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9":
- version "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- resolved "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9.tgz"
- integrity sha512-uCy/++3Jx/O3ufM+qv2H1L4tOemTNqcP/gyEVOlZqTpBvYJUe0tWtW0y3o2Ueq04mll4aM5X3f6ugQftOSLdFQ==
+"@prisma/engines-version@5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102":
+ version "5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102"
+ resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102.tgz#a7aa218b1ebf1077798c931632461aae8ce6a8f7"
+ integrity sha512-WXCuyoymvrS4zLz4wQagSsc3/nE6CHy8znyiMv8RKazKymOMd5o9FP5RGwGHAtgoxd+aB/BWqxuP/Ckfu7/3MA==
-"@prisma/engines@5.10.2":
- version "5.10.2"
- resolved "https://registry.npmjs.org/@prisma/engines/-/engines-5.10.2.tgz"
- integrity sha512-HkSJvix6PW8YqEEt3zHfCYYJY69CXsNdhU+wna+4Y7EZ+AwzeupMnUThmvaDA7uqswiHkgm5/SZ6/4CStjaGmw==
+"@prisma/engines@5.11.0":
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.11.0.tgz#96e941c5c81ce68f3a8b4c481007d397564c5d4b"
+ integrity sha512-gbrpQoBTYWXDRqD+iTYMirDlF9MMlQdxskQXbhARhG6A/uFQjB7DZMYocMQLoiZXO/IskfDOZpPoZE8TBQKtEw==
dependencies:
- "@prisma/debug" "5.10.2"
- "@prisma/engines-version" "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- "@prisma/fetch-engine" "5.10.2"
- "@prisma/get-platform" "5.10.2"
+ "@prisma/debug" "5.11.0"
+ "@prisma/engines-version" "5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102"
+ "@prisma/fetch-engine" "5.11.0"
+ "@prisma/get-platform" "5.11.0"
-"@prisma/fetch-engine@5.10.2":
- version "5.10.2"
- resolved "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.10.2.tgz"
- integrity sha512-dSmXcqSt6DpTmMaLQ9K8ZKzVAMH3qwGCmYEZr/uVnzVhxRJ1EbT/w2MMwIdBNq1zT69Rvh0h75WMIi0mrIw7Hg==
+"@prisma/fetch-engine@5.11.0":
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.11.0.tgz#cd7a2fa5b5d89f1da0689e329c56fa69223fba7d"
+ integrity sha512-994viazmHTJ1ymzvWugXod7dZ42T2ROeFuH6zHPcUfp/69+6cl5r9u3NFb6bW8lLdNjwLYEVPeu3hWzxpZeC0w==
dependencies:
- "@prisma/debug" "5.10.2"
- "@prisma/engines-version" "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- "@prisma/get-platform" "5.10.2"
+ "@prisma/debug" "5.11.0"
+ "@prisma/engines-version" "5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b3102"
+ "@prisma/get-platform" "5.11.0"
-"@prisma/get-platform@5.10.2":
- version "5.10.2"
- resolved "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.10.2.tgz"
- integrity sha512-nqXP6vHiY2PIsebBAuDeWiUYg8h8mfjBckHh6Jezuwej0QJNnjDiOq30uesmg+JXxGk99nqyG3B7wpcOODzXvg==
+"@prisma/get-platform@5.11.0":
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.11.0.tgz#19a768127b1712c27f5dec8a0a79a4c9675829eb"
+ integrity sha512-rxtHpMLxNTHxqWuGOLzR2QOyQi79rK1u1XYAVLZxDGTLz/A+uoDnjz9veBFlicrpWjwuieM4N6jcnjj/DDoidw==
dependencies:
- "@prisma/debug" "5.10.2"
+ "@prisma/debug" "5.11.0"
"@resvg/resvg-js-android-arm-eabi@2.6.0":
version "2.6.0"
@@ -11411,12 +11411,12 @@ pretty-quick@^4.0.0:
picomatch "^3.0.1"
tslib "^2.6.2"
-prisma@5.10.2:
- version "5.10.2"
- resolved "https://registry.npmjs.org/prisma/-/prisma-5.10.2.tgz"
- integrity sha512-hqb/JMz9/kymRE25pMWCxkdyhbnIWrq+h7S6WysJpdnCvhstbJSNP/S6mScEcqiB8Qv2F+0R3yG+osRaWqZacQ==
+prisma@5.11.0:
+ version "5.11.0"
+ resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.11.0.tgz#ef3891f79921a2deec6f540eba13a3cc8525f6d2"
+ integrity sha512-KCLiug2cs0Je7kGkQBN9jDWoZ90ogE/kvZTUTgz2h94FEo8pczCkPH7fPNXkD1sGU7Yh65risGGD1HQ5DF3r3g==
dependencies:
- "@prisma/engines" "5.10.2"
+ "@prisma/engines" "5.11.0"
proc-log@^3.0.0:
version "3.0.0"
From 9499da6b9534257d1505914c3102622cf95a68e6 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Wed, 13 Mar 2024 16:07:50 +0100
Subject: [PATCH 035/795] fix(markdown): Link Uma design measurements in
documentation properly. Fixes #6246
---
markdown/org/docs/designs/uma/measurements/de.md | 4 +---
markdown/org/docs/designs/uma/measurements/en.md | 4 +---
markdown/org/docs/designs/uma/measurements/es.md | 4 +---
markdown/org/docs/designs/uma/measurements/fr.md | 4 +---
markdown/org/docs/designs/uma/measurements/nl.md | 4 +---
markdown/org/docs/designs/uma/measurements/uk.md | 4 +---
6 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/markdown/org/docs/designs/uma/measurements/de.md b/markdown/org/docs/designs/uma/measurements/de.md
index faaf474efc5..d3b06ea62fe 100644
--- a/markdown/org/docs/designs/uma/measurements/de.md
+++ b/markdown/org/docs/designs/uma/measurements/de.md
@@ -2,6 +2,4 @@
title: "Uma Unterhosen: Erforderliche Maße"
---
-
-Uma benötigt keine Messungen
-
+
diff --git a/markdown/org/docs/designs/uma/measurements/en.md b/markdown/org/docs/designs/uma/measurements/en.md
index 999fdfafa69..cd8df4348fb 100644
--- a/markdown/org/docs/designs/uma/measurements/en.md
+++ b/markdown/org/docs/designs/uma/measurements/en.md
@@ -2,6 +2,4 @@
title: "Uma undies: Required Measurements"
---
-
-Uma does not require any measurements
-
+
diff --git a/markdown/org/docs/designs/uma/measurements/es.md b/markdown/org/docs/designs/uma/measurements/es.md
index c3a5a70b3e2..e58624d0ba2 100644
--- a/markdown/org/docs/designs/uma/measurements/es.md
+++ b/markdown/org/docs/designs/uma/measurements/es.md
@@ -2,6 +2,4 @@
title: "Ropa interior Uma: Medidas requeridas"
---
-
-Uma no necesita ninguna medida
-
+
diff --git a/markdown/org/docs/designs/uma/measurements/fr.md b/markdown/org/docs/designs/uma/measurements/fr.md
index 0f32a3b987a..b019f708a0a 100644
--- a/markdown/org/docs/designs/uma/measurements/fr.md
+++ b/markdown/org/docs/designs/uma/measurements/fr.md
@@ -2,6 +2,4 @@
title: "Sous-vêtements Uma : Mesures requises"
---
-
-Uma ne nécessite aucune mesure
-
+
diff --git a/markdown/org/docs/designs/uma/measurements/nl.md b/markdown/org/docs/designs/uma/measurements/nl.md
index 71c25af46a8..6bb1da62c5b 100644
--- a/markdown/org/docs/designs/uma/measurements/nl.md
+++ b/markdown/org/docs/designs/uma/measurements/nl.md
@@ -2,6 +2,4 @@
title: "Uma ondergoed: Vereiste afmetingen"
---
-
-Uma heeft geen metingen nodig
-
+
diff --git a/markdown/org/docs/designs/uma/measurements/uk.md b/markdown/org/docs/designs/uma/measurements/uk.md
index 13049083de2..8f87b07121f 100644
--- a/markdown/org/docs/designs/uma/measurements/uk.md
+++ b/markdown/org/docs/designs/uma/measurements/uk.md
@@ -2,6 +2,4 @@
title: "Ума роздягається: Необхідні виміри"
---
-
-Ума не потребує жодних вимірів
-
+
From ba1977ddc54a938864e573ae8509a1f368e156ce Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Wed, 13 Mar 2024 16:30:40 +0100
Subject: [PATCH 036/795] fix(shared): Allow bookmarking measurement sets from
other users. Fixes #6321
---
sites/shared/components/account/sets.mjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sites/shared/components/account/sets.mjs b/sites/shared/components/account/sets.mjs
index c035218c637..1863e1ed639 100644
--- a/sites/shared/components/account/sets.mjs
+++ b/sites/shared/components/account/sets.mjs
@@ -340,7 +340,7 @@ export const Mset = ({ id, publicOnly = false }) => {
) : (
)}
- {account.control > 2 && mset.userId === account.id ? (
+ {account.control > 2 ? (
) : null}
+На [нашій дорожній карті](https://github.com/freesewing/freesewing/discussions/1278) - яка, якщо ви звернули увагу, містить все більше речей під заголовком *вже реалізованих* - у нас була так звана підтримка *пакетів*. Ідея полягала в тому, що ми хотіли б дати можливість створювати дизайн, вільно комбінуючи різні компоненти. Наприклад, ви можете взяти рукава з набору рукавів *, комір з набору комірів *, додати кишені з набору комірів *,* і так далі.
Це одна з тих речей, яка має багато сенсу, але викликає питання: Як все це буде працювати під капотом? У версії 2 FreeSewing реалізація цих ідей була б нетривіальною, тому що, хоча ми підтримуємо розширення викрійок на інші дизайни, цей процес є надто громіздким для такого рівня спеціального поєднання різних дизайнів.
diff --git a/markdown/org/newsletter/2023q1/fr.md b/markdown/org/newsletter/2023q1/fr.md
index a66aaf2fc55..f5b6c68565c 100644
--- a/markdown/org/newsletter/2023q1/fr.md
+++ b/markdown/org/newsletter/2023q1/fr.md
@@ -69,7 +69,7 @@ Le chiffre d'affaires de FreeSewing au cours de l'année 2022 était de `9,325,5
Nous avons constaté un énorme afflux d'utilisateurs, de mécènes et de revenus en 2020 sans doute parce que [notre modèle de masque facial](https://freesewing.org/designs/florence/) a été follement populaire pendant la pénurie d'EPI cette année-là. Ce pic s'est atténué depuis, et a entraîné une tendance à la baisse des revenus d'une année sur l'autre. De plus, l'inflation et la crise du coût de la vie ont été particulièrement tangibles cette année, et j'ai reçu plus d'un message d'excuse de la part de mécènes qui voulaient continuer à nous soutenir mais qui se sont sentis obligés de nous supprimer de leur budget mensuel pour être sûrs de pouvoir subvenir à leurs besoins et/ou à ceux de leur famille.
-Je ne me sens donc pas mal à l'idée que les revenus soient moins élevés cette année. Je pense que l'année a été difficile pour beaucoup de gens, et nous avons toujours cherché à obtenir le soutien de ceux qui pouvaient l'épargner sans difficultés. Oui, c'est agréable de franchir la barrière des 10 000 `. Oui, j'aimerais bien arriver à 12.000` et atteindre `1.000` MRR (monthly recurring revenue) mais je ne vais pas laisser cela m'empêcher d'être fière du travail que nous faisons.
+Je ne me sens donc pas mal à l'idée que les revenus soient moins élevés cette année. Je pense que l'année a été difficile pour beaucoup de gens, et nous avons toujours cherché à obtenir le soutien de ceux qui pouvaient l'épargner sans difficultés. Oui, c'est agréable de franchir la barrière des 10 000 `. Oui, j'aimerais bien arriver à `12.000` et atteindre `1.000` MRR (monthly recurring revenue) mais je ne vais pas laisser cela m'empêcher d'être fière du travail que nous faisons.
Je suis fière non seulement du travail que nous faisons, mais aussi parce que FreeSewing est une force pour le bien dans ce monde. En ajoutant les `9.325,54`de cette année, les contributions de FreeSewing à [Médecins sans frontières/Doctors Without Borders](https://www.msf.org/) s'élèvent à `38.814,94` euros ou environ 41,6k dollars américains. De l'argent qui aide les gens qui sont dans une situation pire que la nôtre.
From c0d8c12bc3d560d3c9518753d62d4f154c43f3e1 Mon Sep 17 00:00:00 2001
From: Jonathan Haas
Date: Tue, 12 Mar 2024 13:58:38 +0100
Subject: [PATCH 056/795] fix(wahid): Add a hint about unneeded back dart if
both hip and waist reduction are zero, add front and back part names to title
macro.
---
designs/wahid/i18n/en.json | 2 ++
designs/wahid/src/back.mjs | 13 +++++++++++++
designs/wahid/src/front.mjs | 1 +
3 files changed, 16 insertions(+)
diff --git a/designs/wahid/i18n/en.json b/designs/wahid/i18n/en.json
index 0e1683b7ac8..f5004a7674e 100644
--- a/designs/wahid/i18n/en.json
+++ b/designs/wahid/i18n/en.json
@@ -18,6 +18,8 @@
"cutFrontLining.d": "The **Front lining** (1b) is not shown, but you can trace it from the Front part (1). Trace the outline on the right of the facing/lining boundary that extends from the tip of the dart to the shoulder seam. \n\nIt is not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part.",
"cutPocketWelt.t": "The pocket welt is not shown",
"cutPocketWelt.d": "The **Pocket welt** (3) is a rectangular piece of fabric {{{ w }}} wide and {{{ l }}} long (this part does not use seam allowance). \n\nIt is not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part.",
+ "noBackDart.t": "The back dart is not necessary",
+ "noBackDart.d": "Your measurements indicate that a back dart is not necessary, so you can skip this part of the instructions. \n\nSome manual adjustments might be necessary if the chest size measurement is much smaller than the waist and hip size.",
"cutPocketInterfacing.t": "The pocket interfacing is not shown",
"cutPocketInterfacing.d": "The **Pocket interfacing** (6) is a rectangular piece of fabric {{{ w }}} wide and {{{ l }}} long (this part does not use seam allowance). \n\nIt is not shown because the **expand** core setting is currently disabled. Enable it to show this pattern part.",
"flbFacingSide": "Facing/Lining boundary : Facing side",
diff --git a/designs/wahid/src/back.mjs b/designs/wahid/src/back.mjs
index 133f1a9d92d..bfce96b1bd9 100644
--- a/designs/wahid/src/back.mjs
+++ b/designs/wahid/src/back.mjs
@@ -113,6 +113,18 @@ function wahidBack({
paths.hemBase.hide()
paths.dart.hide()
+ /*
+ * Warn about useless back dart
+ */
+ const wr12 = store.get('wr12')
+ const hr12 = store.get('hr12')
+ if (wr12 === 0 && hr12 === 0) {
+ store.flag.warn({
+ title: 'wahid:noBackDart.t',
+ desc: 'wahid:noBackDart.d',
+ })
+ }
+
/*
* Annotations
*/
@@ -122,6 +134,7 @@ function wahidBack({
// Title
macro('title', {
at: points.title,
+ title: 'back',
nr: 2,
align: 'center',
})
diff --git a/designs/wahid/src/front.mjs b/designs/wahid/src/front.mjs
index c569f077f0d..460564467d7 100644
--- a/designs/wahid/src/front.mjs
+++ b/designs/wahid/src/front.mjs
@@ -336,6 +336,7 @@ function wahidFront({
// Title
macro('title', {
at: points.flbCpTop,
+ title: 'front',
nr: 1,
align: 'center',
})
From f446e957a83cfad95af84090bac0b6ca8a8af271 Mon Sep 17 00:00:00 2001
From: joostdecock
Date: Sat, 16 Mar 2024 13:16:46 +0100
Subject: [PATCH 057/795] chore: Assign showcase to anonymous. Closes #6354
---
markdown/org/showcase/an-early-bee-bikini-top/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/en.md b/markdown/org/showcase/an-early-bee-bikini-top/en.md
index 5da1d834dd7..df9c9ca6816 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/en.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/en.md
@@ -1,5 +1,5 @@
---
-maker: "unknown"
+author: 8
caption: "An early Bee bikini top"
date: "2021-10-18"
intro: "A FreeSewing maker made this Bee bikini top. She used the default settings and reported a great fit with no gaping/coverage issues, but mentioned that she typically does not need a lot of support."
From 71e68b440fdc95655444bee167ec624cdd762c73 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 15:58:55 +0100
Subject: [PATCH 058/795] Update source file en.md skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/en.md b/markdown/org/showcase/an-early-bee-bikini-top/en.md
index df9c9ca6816..5da1d834dd7 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/en.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/en.md
@@ -1,5 +1,5 @@
---
-author: 8
+maker: "unknown"
caption: "An early Bee bikini top"
date: "2021-10-18"
intro: "A FreeSewing maker made this Bee bikini top. She used the default settings and reported a great fit with no gaping/coverage issues, but mentioned that she typically does not need a lot of support."
From 1c65b575e34020c7d6d60ce5c0ddb7ce14bf2423 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 16:16:57 +0100
Subject: [PATCH 059/795] New translations en.md (French) skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/fr.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/fr.md b/markdown/org/showcase/an-early-bee-bikini-top/fr.md
index f3c407ebdc5..2b7a31a0d8f 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/fr.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/fr.md
@@ -1,5 +1,5 @@
---
-maker: "inconnue"
+author: 8
caption: "Un haut de bikini Bee de la première heure"
date: "18-10-2021"
intro: "Une couturière de FreeSewing a confectionné ce haut de bikini Bee. Elle a utilisé les paramètres par défaut et a indiqué qu'elle s'adaptait très bien, sans problème d'espace ou de couverture, mais elle a mentionné qu'elle n'avait généralement pas besoin de beaucoup de soutien."
From d0906683217d7edbc980185e60e6039711a6209a Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 16:16:59 +0100
Subject: [PATCH 060/795] New translations en.md (Spanish) skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/es.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/es.md b/markdown/org/showcase/an-early-bee-bikini-top/es.md
index eab0218cc00..0f3ed79a430 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/es.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/es.md
@@ -1,5 +1,5 @@
---
-maker: "desconocido"
+author: 8
caption: "Un top de bikini Bee temprano"
date: "2021-10-18"
intro: "Una creadora de Costura Libre hizo este top de bikini Bee. Utilizó los ajustes predeterminados y dijo que le quedaba muy bien, sin problemas de huecos ni de cobertura, pero mencionó que normalmente no necesita mucha sujeción."
From 9ce8d334edfb5b3872091bba4241fb6b5e034dc1 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 16:17:00 +0100
Subject: [PATCH 061/795] New translations en.md (German) skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/de.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/de.md b/markdown/org/showcase/an-early-bee-bikini-top/de.md
index 0aad7032da2..ad670910a62 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/de.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/de.md
@@ -1,5 +1,5 @@
---
-maker: "unbekannt"
+author: 8
caption: "Ein frühes Bikinioberteil von Bee"
date: "10.18.2021"
intro: "Eine FreeSewing-Macherin hat dieses Bienen-Bikinioberteil gemacht. Sie hat die Standardeinstellungen verwendet und berichtet, dass die Passform sehr gut ist und keine Lücken oder Probleme mit der Abdeckung auftreten."
From 5279089e24d70ad0eb8993c84be93d7849aa6601 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 16:30:56 +0100
Subject: [PATCH 062/795] New translations en.md (Dutch) skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/nl.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/nl.md b/markdown/org/showcase/an-early-bee-bikini-top/nl.md
index c9105b9898a..67c18cbe80b 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/nl.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/nl.md
@@ -1,5 +1,5 @@
---
-maker: "onbekend"
+author: 8
caption: "Een vroeg Bee bikinitopje"
date: "2021-10-18"
intro: "Een FreeSewing-maker maakte deze Bee bikinitop. Ze gebruikte de standaardinstellingen en meldde een geweldige pasvorm zonder problemen met gaten of bedekking, maar zei dat ze normaal gesproken niet veel steun nodig heeft."
From 666df3cc723c85908f8226cae1732137aac6b5b8 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 16:36:26 +0100
Subject: [PATCH 063/795] New translations en.md (Ukrainian) skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/uk.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/uk.md b/markdown/org/showcase/an-early-bee-bikini-top/uk.md
index e562be286b7..e8b14b49108 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/uk.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/uk.md
@@ -1,5 +1,5 @@
---
-maker: "невідомо"
+author: 8
caption: "Ранній топ-бікіні Bee"
date: "2021-10-18"
intro: "Цей топ-бікіні \"Бджілка\" пошила майстриня FreeSewing. Вона використовувала налаштування за замовчуванням і повідомила, що вони чудово сидять, без проблем із зазорами/покриттям, але зазначила, що зазвичай їй не потрібна велика підтримка."
From 772a69aa56871665c4cd7969180c478dda0f6d1e Mon Sep 17 00:00:00 2001
From: joostdecock
Date: Sat, 16 Mar 2024 17:20:18 +0100
Subject: [PATCH 064/795] chore: Update authors
---
config/authors.mjs | 84 ++++++++++++++++++++++++++++------------------
1 file changed, 51 insertions(+), 33 deletions(-)
diff --git a/config/authors.mjs b/config/authors.mjs
index 434461e7c23..7b802ee7dc2 100644
--- a/config/authors.mjs
+++ b/config/authors.mjs
@@ -4,40 +4,58 @@
* The name is what we'll use as display name
*/
export const authors = {
+ /*
+ * For these we know their FreeSewing ID and they are ordered by that ID
+ * Which means new users/contributors will typically go at the bottom
+ */
+
+ // The dinosaurs
joostdecock: { id: 1, name: 'Joost De Cock' },
- 'Prof. dr. Sorcha Ní Dhubhghaill': { id: 0, name: 'Prof. dr. Sorcha Ní Dhubhghaill' },
- mocked: { id: 0, name: 'Unknown (mocked in dev)' },
- benjamesben: { id: 0, name: 'Benjamin' },
- nikhil: { id: 0, name: 'nikhil' },
- jackseye: { id: 0, name: 'jackseye' },
- 'Annie Kao': { id: 0, name: 'Annie Kao' },
- Bart: { id: 0, name: 'Bart' },
- 'Enoch Riese': { id: 0, name: 'Enoch Riese' },
- Zee: { id: 0, name: 'Zee' },
- 'James Bradbury': { id: 0, name: 'James Bradbury' },
- jgfichte: { id: 0, name: 'jgfichte' },
- Tríona: { id: 0, name: 'Tríona' },
- starfetch: { id: 0, name: 'starfetch' },
- bobgeorgethe3rd: { id: 0, name: 'starfetch' },
- 'Glenn Matthews': { id: 0, name: 'Glenn Matthews' },
- 'Raphael Sizemore': { id: 0, name: 'Raphael Sizemore' },
- 'Joe Schofield': { id: 0, name: 'Joe Schofield' },
- mergerg: { id: 0, name: 'starfetch' },
- woutervdub: { id: 0, name: 'Wouter van Wageningen' },
- 'anna-puk': { id: 0, name: 'Anna Puk' },
- 'Nick Dower': { id: 0, name: 'Nick Dower' },
- 'Sanne Kalkman': { id: 0, name: 'Sanne Kalkman' },
- 'Darigov Research': { id: 0, name: 'Darigov Research' },
- 'Jeroen Hoek': { id: 0, name: 'Jeroen Hoek' },
- Natalia: { id: 0, name: 'Natalia Sayang' },
- chri5b: { id: 0, name: 'chri5b' },
- tangerineshark: { id: 0, name: 'tangerineshark' },
- 'Ivo Bek': { id: 0, name: 'Ivo Bek' },
- Thrunic: { id: 0, name: 'Thrunic' },
- 'Vili Sinervä': { id: 0, name: 'Vili Sinervä' },
- bijay_d: { id: 0, name: 'bijay_d' },
- 'Paula Vidas': { id: 0, name: 'Paula Vidas' },
- 'Morgan Frost': { id: 0, name: 'Morgan Frost' },
+ mocked: { id: 8, name: 'Unknown (mocked in dev)' },
+ 'Prof. dr. Sorcha Ní Dhubhghaill': { id: 9, name: 'Prof. dr. Sorcha Ní Dhubhghaill' },
+ woutervdub: { id: 132, name: 'Wouter van Wageningen' },
+ tangerineshark: { id: 13050, name: 'tangerineshark' },
+ Natalia: { id: 19867, name: 'Natalia Sayang' },
+
+ // The old guard
+ 'Sanne Kalkman': { id: 20343, name: 'Sanne Kalkman' },
+ bobgeorgethe3rd: { id: 20650, name: 'bobgeorgethe3rd' },
+ Tríona: { id: 22104, name: 'Tríona' },
+ starfetch: { id: 22708, name: 'starfetch' },
+ 'Morgan Frost': { id: 23957, name: 'Morgan Frost' },
+ jackseye: { id: 25383, name: 'jackseye' },
+ 'Nick Dower': { id: 26126, name: 'Nick Dower' },
+ jgfichte: { id: 26295, name: 'jgfichte' },
+ 'anna-puk': { id: 26981, name: 'Anna Puk' },
+ 'Enoch Riese': { id: 28119, name: 'Enoch Riese' },
+ benjamesben: { id: 28838, name: 'Benjamin' },
+ 'Joe Schofield': { id: 28809, name: 'Joe Schofield' },
+ 'Vili Sinervä': { id: 31336, name: 'Vili Sinervä' },
+ Thrunic: { id: 33070, name: 'Thrunic' },
+
+ // The new faces
+ 'Paula Vidas': { id: 64919, name: 'Paula Vidas' },
+ 'Jonathan Haas': { id: 71843, name: 'Jonathan Haas' },
+
+ /*
+ * For the folowwing authors, we don't have their FreeSewing ID
+ * so if they surface, we should try to get it.
+ * Then again, these are based on git contributions, so it's
+ * entirely possible that they don't have an account.
+ * They are all linked to the anonymous user (id 8)
+ */
+ 'Annie Kao': { id: 8, name: 'Annie Kao' },
+ Bart: { id: 8, name: 'Bart' },
+ Zee: { id: 8, name: 'Zee' },
+ 'James Bradbury': { id: 8, name: 'James Bradbury' },
+ 'Glenn Matthews': { id: 8, name: 'Glenn Matthews' },
+ 'Raphael Sizemore': { id: 8, name: 'Raphael Sizemore' },
+ mergerg: { id: 9, name: 'mergerg' },
+ 'Darigov Research': { id: 8, name: 'Darigov Research' },
+ 'Jeroen Hoek': { id: 8, name: 'Jeroen Hoek' },
+ chri5b: { id: 8, name: 'chri5b' },
+ 'Ivo Bek': { id: 8, name: 'Ivo Bek' },
+ bijay_d: { id: 8, name: 'bijay_d' },
}
/*
From fcd90a28a3cfd630769273dee0139750062084b2 Mon Sep 17 00:00:00 2001
From: joostdecock
Date: Sat, 16 Mar 2024 17:20:35 +0100
Subject: [PATCH 065/795] fix(org): Search only on submit in admin page
---
sites/org/pages/admin/index.mjs | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/sites/org/pages/admin/index.mjs b/sites/org/pages/admin/index.mjs
index ced36c6e900..7edf99be543 100644
--- a/sites/org/pages/admin/index.mjs
+++ b/sites/org/pages/admin/index.mjs
@@ -11,6 +11,7 @@ import { AuthWrapper, ns as authNs } from 'shared/components/wrappers/auth/index
import { Loading } from 'shared/components/spinner.mjs'
import { Hits } from 'shared/components/admin.mjs'
import { PageLink } from 'shared/components/link.mjs'
+import { SearchIcon } from 'shared/components/icons.mjs'
// Translation namespaces used on this page
const namespaces = nsMerge(pageNs, authNs)
@@ -24,13 +25,11 @@ const AdminPage = ({ page }) => {
const [loading, setLoading] = useState(false)
const search = async (val) => {
- setQ(val)
- if (val.length < 2) return
/*
* Search backend
*/
setLoading(true)
- const result = await backend.adminSearchUsers(val)
+ const result = await backend.adminSearchUsers(q)
if (result.success) {
setResults(result.data.users)
}
@@ -45,14 +44,19 @@ const AdminPage = ({ page }) => {
{loading ? : }
From 3971f9a710ae4e7adaa2238ddd812f92dcc0a2a3 Mon Sep 17 00:00:00 2001
From: Joost De Cock
Date: Sat, 16 Mar 2024 17:21:47 +0100
Subject: [PATCH 066/795] Update source file en.md skip-build
---
markdown/org/showcase/an-early-bee-bikini-top/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/org/showcase/an-early-bee-bikini-top/en.md b/markdown/org/showcase/an-early-bee-bikini-top/en.md
index 5da1d834dd7..df9c9ca6816 100644
--- a/markdown/org/showcase/an-early-bee-bikini-top/en.md
+++ b/markdown/org/showcase/an-early-bee-bikini-top/en.md
@@ -1,5 +1,5 @@
---
-maker: "unknown"
+author: 8
caption: "An early Bee bikini top"
date: "2021-10-18"
intro: "A FreeSewing maker made this Bee bikini top. She used the default settings and reported a great fit with no gaping/coverage issues, but mentioned that she typically does not need a lot of support."
From 7012f0c08f0631bf0dcb199ddfa06d2d883363af Mon Sep 17 00:00:00 2001
From: Rachel Ostic <65781290+rachelostic@users.noreply.github.com>
Date: Sat, 16 Mar 2024 16:28:19 -0400
Subject: [PATCH 067/795] Add author tag
---
markdown/org/showcase/rostic-wahid/en.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/markdown/org/showcase/rostic-wahid/en.md b/markdown/org/showcase/rostic-wahid/en.md
index b2e1b060c78..3566446d42b 100644
--- a/markdown/org/showcase/rostic-wahid/en.md
+++ b/markdown/org/showcase/rostic-wahid/en.md
@@ -1,5 +1,6 @@
---
maker: "rostic"
+author: 23524
caption: "This lovely Wahid was made from floral cotton"
date: "2022-01-22"
intro: "Rostic made this great Wahid waistcoat! You won't want to miss the detail pictures below."
From a98b869175381703fd694e5a44cceed72b6d5890 Mon Sep 17 00:00:00 2001
From: Natalia Sayang
Date: Sat, 16 Mar 2024 21:06:19 +0000
Subject: [PATCH 068/795] More tutorial updates
---
.../pattern-design/part2/adding-measurements/en.md | 2 +-
.../pattern-design/part2/avoiding-overlap/en.md | 11 ++++++++---
.../pattern-design/part2/creating-the-closure/en.md | 7 +++++--
.../part2/drawing-the-bib-outline/en.md | 8 ++++++--
.../pattern-design/part2/rounding-the-corners/en.md | 2 ++
.../pattern-design/part2/shaping-the-straps/en.md | 5 ++++-
6 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md b/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
index 2d57ecf62e7..0922e62750c 100644
--- a/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/adding-measurements/en.md
@@ -25,7 +25,7 @@ I am using [*the official name* of the measurement](/reference/measurements) her
circumference, that name is `head`.
-The `design/src/bib.mjs` "language" title is out of date. It is used in the tutorial from this point forward to maintain syntax-highlight not yet available for the `src/bib.mjs` title, but should be replaced with `src/bib.mjs`.
+The `design/src/bib.mjs` "language" title on the code snippets is out of date. It is used in the tutorial from this point forward to maintain syntax-highlight not yet available for the `src/bib.mjs` title, but should be replaced with `src/bib.mjs`.
```design/src/bib.mjs
diff --git a/markdown/dev/tutorials/pattern-design/part2/avoiding-overlap/en.md b/markdown/dev/tutorials/pattern-design/part2/avoiding-overlap/en.md
index 703976fb661..684d36ddc77 100644
--- a/markdown/dev/tutorials/pattern-design/part2/avoiding-overlap/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/avoiding-overlap/en.md
@@ -53,7 +53,7 @@ we'll capture these return values from the `round` macros and create
easy-to-remember points from them:
-```src/bib.mjs
+```design/src/bib.mjs
function draftBib({
Path,
Point,
@@ -61,7 +61,9 @@ function draftBib({
points,
measurements,
options,
+// highlight-start
utils,
+// highlight-end
macro,
part,
}) {
@@ -126,7 +128,9 @@ function draftBib({
.close()
.addClass('fabric')
- // Drawing the bib outline
+ /*
+ * Drawing the bib outline
+ */
const width = measurements.head * options.widthRatio
const length = measurements.head * options.lengthRatio
@@ -169,6 +173,7 @@ function draftBib({
points.tipRightTop = new Point(points.tipRight.x, points.edgeTop.y)
points.tipRightBottom = new Point(points.tipRight.x, points.top.y)
+ // highlight-start
/*
* Macros will return the auto-generated IDs
*/
@@ -197,7 +202,7 @@ function draftBib({
points[`${side}${utils.capitalize(id)}`] = points[ids1[side].points[id]].copy()
}
}
-
+ // highlight-end
/*
* Always draw your path at the end
* after you've manipulated your points
diff --git a/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md b/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
index 7715728eadd..5e82b6e65b2 100644
--- a/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/creating-the-closure/en.md
@@ -27,7 +27,7 @@ Like our neck opening, we've only drawn half since we can simply copy the
points to the other side.
-```src/bib.mjs
+```design/src/bib.mjs
function draftBib({
Path,
Point,
@@ -35,7 +35,9 @@ function draftBib({
points,
measurements,
options,
+ // highlight-start
macro,
+ // highlight-end
part,
}) {
@@ -149,6 +151,7 @@ function draftBib({
.curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop)
.close()
+ // highlight-start
// Round the straps
const strap = points.edgeTop.dy(points.top)
@@ -170,7 +173,7 @@ function draftBib({
via: points.tipRightBottom,
hide: false
})
-
+ // highlight-end
return part
}
```
diff --git a/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md b/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
index b38f1227944..175f4cbc829 100644
--- a/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/drawing-the-bib-outline/en.md
@@ -6,7 +6,7 @@ order: 88
With our neck opening in place, let us draw the basic outline of our bib.
-```src/bib.mjs
+```design/src/bib.mjs
function draftBib({
Path,
Point,
@@ -75,7 +75,10 @@ function draftBib({
.close()
.addClass('fabric')
- // Drawing the bib outline
+// highlight-start
+ /*
+ * Drawing the bib outline
+ */
const width = measurements.head * options.widthRatio
const length = measurements.head * options.lengthRatio
@@ -95,6 +98,7 @@ function draftBib({
.line(points.topLeft)
.close()
.addClass('fabric')
+// highlight-end
return part
}
diff --git a/markdown/dev/tutorials/pattern-design/part2/rounding-the-corners/en.md b/markdown/dev/tutorials/pattern-design/part2/rounding-the-corners/en.md
index 26189ce4eef..6b889b73227 100644
--- a/markdown/dev/tutorials/pattern-design/part2/rounding-the-corners/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/rounding-the-corners/en.md
@@ -8,6 +8,8 @@ We already know how to round corners, we'll have the `round` macro take care of
With our corners rounded, we should also update our path.
Fortunately, we merely have to update the start of it.
+We'll rename `paths.rect` to `paths.seam`.
+
```design/src/bib.mjs
function draftBib({
diff --git a/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md b/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
index e86b59b142a..e291b121287 100644
--- a/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
+++ b/markdown/dev/tutorials/pattern-design/part2/shaping-the-straps/en.md
@@ -17,7 +17,7 @@ As always, [the API docs](/reference/api/point/) have all the details.
-```src/bib.mjs
+```design/src/bib.mjs
function draftBib({
Path,
Point,
@@ -111,6 +111,7 @@ function draftBib({
.close()
.addClass('fabric')
+// highlight-start
/*
* Shape the straps
*/
@@ -138,6 +139,8 @@ function draftBib({
.curve(points.edgeRightCp, points.edgeTopRightCp, points.edgeTop)
.close()
+// highlight-end
+
return part
}
```
From 23b87ad20861c47697e7b9e68b156c8c68388860 Mon Sep 17 00:00:00 2001
From: Benjamin Fan
Date: Sat, 16 Mar 2024 21:39:31 -0700
Subject: [PATCH 069/795] fix(markdown): Typo in doc for
utils.beamIntersectsCurve()
---
markdown/dev/reference/api/utils/beamintersectscurve/en.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/markdown/dev/reference/api/utils/beamintersectscurve/en.md b/markdown/dev/reference/api/utils/beamintersectscurve/en.md
index 16d4d102319..a27527e2b16 100644
--- a/markdown/dev/reference/api/utils/beamintersectscurve/en.md
+++ b/markdown/dev/reference/api/utils/beamintersectscurve/en.md
@@ -4,7 +4,7 @@ title: utils.beamIntersectsCurve()
The `utils.beamIntersectsCurve()` function finds the intersection between an endless
line and a curve described by points
-`start`, `cp1`, `cp2, and `end\`.
+`start`, `cp1`, `cp2`, and `end`.
From 1506975447ccb868859a7a49b98881c2dff48191 Mon Sep 17 00:00:00 2001
From: joostdecock
Date: Sun, 17 Mar 2024 11:18:21 +0100
Subject: [PATCH 070/795] feat(shared): Support import/clone of measuremnts set
---
sites/org/pages/account/import.mjs | 59 +++++++++++
sites/shared/components/account/en.yaml | 14 +++
sites/shared/components/account/import.mjs | 109 +++++++++++++++++++++
sites/shared/components/account/links.mjs | 17 +++-
sites/shared/components/account/sets.mjs | 43 ++++++++
sites/shared/components/icons.mjs | 6 ++
sites/shared/components/inputs.mjs | 67 ++++++++++++-
sites/shared/components/mdx/highlight.mjs | 2 +-
sites/shared/components/mdx/meta.mjs | 8 --
sites/shared/components/yaml.mjs | 4 +-
sites/shared/hooks/use-account.mjs | 2 +-
11 files changed, 314 insertions(+), 17 deletions(-)
create mode 100644 sites/org/pages/account/import.mjs
create mode 100644 sites/shared/components/account/import.mjs
diff --git a/sites/org/pages/account/import.mjs b/sites/org/pages/account/import.mjs
new file mode 100644
index 00000000000..50b3d1ce376
--- /dev/null
+++ b/sites/org/pages/account/import.mjs
@@ -0,0 +1,59 @@
+// Dependencies
+import dynamic from 'next/dynamic'
+import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
+import { nsMerge } from 'shared/utils.mjs'
+// Hooks
+import { useTranslation } from 'next-i18next'
+// Components
+import { PageWrapper, ns as pageNs } from 'shared/components/wrappers/page.mjs'
+import { ns as authNs } from 'shared/components/wrappers/auth/index.mjs'
+import { ns as setsNs } from 'shared/components/account/bookmarks.mjs'
+
+// Translation namespaces used on this page
+const ns = nsMerge(setsNs, authNs, pageNs)
+
+/*
+ * Some things should never generated as SSR
+ * So for these, we run a dynamic import and disable SSR rendering
+ */
+const DynamicAuthWrapper = dynamic(
+ () => import('shared/components/wrappers/auth/index.mjs').then((mod) => mod.AuthWrapper),
+ { ssr: false }
+)
+
+const DynamicImporter = dynamic(
+ () => import('shared/components/account/import.mjs').then((mod) => mod.Importer),
+ { ssr: false }
+)
+
+/*
+ * Each page MUST be wrapped in the PageWrapper component.
+ * You also MUST spread props.page into this wrapper component
+ * when path and locale come from static props (as here)
+ * or set them manually.
+ */
+const AccountImporterPage = ({ page }) => {
+ const { t } = useTranslation(ns)
+
+ return (
+
+
+
+
+
+ )
+}
+
+export default AccountImporterPage
+
+export async function getStaticProps({ locale }) {
+ return {
+ props: {
+ ...(await serverSideTranslations(locale, ns)),
+ page: {
+ locale,
+ path: ['account', 'import'],
+ },
+ },
+ }
+}
diff --git a/sites/shared/components/account/en.yaml b/sites/shared/components/account/en.yaml
index aa929831353..ad51802e334 100644
--- a/sites/shared/components/account/en.yaml
+++ b/sites/shared/components/account/en.yaml
@@ -58,6 +58,7 @@ updatePattern: Update pattern
reload: Reload account
export: Export your data
+import: Import data
exportMsg: Click below to export your personal data
exportNote: The EU's General Data Protection Regulation (GDPR) ensures your so-called right to data portability — the right to obtain and reuse your personal data for your own purposes, or across different services.
exportDownload: "Your data was exported and is available for download at the following location:"
@@ -333,3 +334,16 @@ ownPublicPattern: This is the public view on one of your own patterns. For more
ownPrivatePattern: This is the private view on your pattern. The public view will work for you even when the pattern is private. It will only work for others when the pattern is public.
privateView: Private view
publicView: Public view
+
+importHere: This page allows you to import data into your FreeSewing account.
+importSupported: Currently, we support importing the following types of data
+importSets: Import Measurements Sets
+importSet: Import Measurements Set
+cloneSet: Clone Measurements Set
+measieFile: Measurements file
+dragAndDropFileHere: Drag and drop your file here
+importSetTip1: To import a measurement set, you should have a JSON or YAML file that has the following structure
+importSetTip2: Your file can either contain a single measurements set, or an array of multiple measurements sets.
+importing: Importing
+imported: Imported
+importFailed: Import failed
diff --git a/sites/shared/components/account/import.mjs b/sites/shared/components/account/import.mjs
new file mode 100644
index 00000000000..763bb2766b1
--- /dev/null
+++ b/sites/shared/components/account/import.mjs
@@ -0,0 +1,109 @@
+// Dependencies
+import { useState, useContext } from 'react'
+import { useTranslation } from 'next-i18next'
+// Context
+import { LoadingStatusContext } from 'shared/context/loading-status-context.mjs'
+// Hooks
+import { useAccount } from 'shared/hooks/use-account.mjs'
+import { useBackend } from 'shared/hooks/use-backend.mjs'
+// Components
+import { Icons, welcomeSteps, BackToAccountButton } from './shared.mjs'
+import { SaveSettingsButton } from 'shared/components/buttons/save-settings-button.mjs'
+import { ContinueButton } from 'shared/components/buttons/continue-button.mjs'
+import { FileInput } from 'shared/components/inputs.mjs'
+import { DynamicMdx } from 'shared/components/mdx/dynamic.mjs'
+import { TipIcon } from 'shared/components/icons.mjs'
+import { Yaml } from 'shared/components/yaml.mjs'
+import { Json } from 'shared/components/json.mjs'
+import { Popout } from 'shared/components/popout/index.mjs'
+import { linkClasses } from 'shared/components/link.mjs'
+
+export const ns = ['account', 'status']
+
+export const Importer = () => {
+ // Hooks
+ const { account, setAccount } = useAccount()
+ const backend = useBackend()
+ const { t, i18n } = useTranslation(ns)
+ const { setLoadingStatus } = useContext(LoadingStatusContext)
+
+ // State
+ const [setData, setSetData] = useState()
+ const [error, setError] = useState(false)
+
+ // Helper method to upload/save a set
+ const uploadSet = async (upload) => {
+ setLoadingStatus([true, 'processingUpdate'])
+ let data
+ try {
+ const chunks = upload.split(',')
+ if (chunks[0].includes('json')) data = JSON.parse(atob(chunks[1]))
+ else data = yaml.parse(atob(chunks[1]))
+ setSetData(data)
+ if (!Array.isArray(data)) data = [data]
+ /*
+ * Treat each set
+ */
+ for (const set of data) {
+ if (set.measurements) {
+ const name = set.name || 'J. Doe'
+ setLoadingStatus([true, `Importing ${name}`])
+ const result = await backend.createSet({
+ name: set.name || 'J. Doe',
+ units: set.units || 'metric',
+ notes: set.notes || '',
+ measies: set.measurements || {},
+ userId: account.id,
+ })
+ if (result.success) setLoadingStatus([true, `Imported ${name}`, true, true])
+ else setLoadingStatus([true, `Import of ${name} failed`, true, false])
+ }
+ }
+ } catch (err) {
+ setError(err)
+ console.log(err)
+ }
+ }
+
+ return (
+
diff --git a/sites/shared/components/mdx/meta.mjs b/sites/shared/components/mdx/meta.mjs
index 0d32e54a8dd..70b4552bb51 100644
--- a/sites/shared/components/mdx/meta.mjs
+++ b/sites/shared/components/mdx/meta.mjs
@@ -74,14 +74,6 @@ export const MdxMetaData = ({ frontmatter, locale, slug }) => {
frontmatter.maintainers = ['joostdecock']
locale = i18n.language
- /*
- * FIXME
- *
- * The link to the translator status pages on this page links to
- * next.freesewing.org because this content is not available on the current
- * freesewing.org.
- */
-
return (