1
0
Fork 0
Commit graph

109436 commits

Author SHA1 Message Date
Joost De Cock
6adda5b285
Merge pull request #6080 from freesewing/setname
feat: Add name to curated sets, using flexbox
2024-02-17 16:58:26 +01:00
joostdecock
96085d7f04 Revert "Revert "feat(shared): Add name to curated sets""
This reverts commit 43c069719c.
2024-02-17 16:54:37 +01:00
joostdecock
5c8e77ebe1 Revert "Revert "fix(shared): Add key prop to iterator""
This reverts commit 147433e168.
2024-02-17 16:53:38 +01:00
Joost De Cock
96ef465b33
Merge pull request #6079 from freesewing/joost
feat: Changes to handle per-set bust plugin conditionality
2024-02-17 16:51:54 +01:00
joostdecock
43c069719c Revert "feat(shared): Add name to curated sets"
This reverts commit 5dc84c0eb8.

Need to keep this out of the PR
2024-02-17 16:50:47 +01:00
joostdecock
147433e168 Revert "fix(shared): Add key prop to iterator"
This reverts commit 9cdf064b46.

Need to keep this out of the PR
2024-02-17 16:50:22 +01:00
joostdecock
9cdf064b46 fix(shared): Add key prop to iterator 2024-02-17 16:48:18 +01:00
joostdecock
5dc84c0eb8 feat(shared): Add name to curated sets
This replaces #6077 and closes #5898 but does so with proper CSS.
2024-02-17 16:44:46 +01:00
Joost De Cock
c20ed9743d
Merge pull request #6076 from BenJamesBen/include-setname-in-titles-and-pdf
fix(shared, plugins): Provide measurement set name to patterns
2024-02-17 16:31:33 +01:00
Joost De Cock
b7d19fd988
Merge pull request #6075 from BenJamesBen/optional-measurements-missing
fix(shared): Add optional measurements to pattern Edit Measurements by Hand
2024-02-17 16:28:19 +01:00
joostdecock
c3ea6bc5c2 chore(plugin-bust): Removed unused variable 2024-02-17 16:24:39 +01:00
joostdecock
3b7615f03a feat(markdown): Added notes to lifecycle hooks docs 2024-02-17 16:14:14 +01:00
joostdecock
786a5d06cb chore(brian): Always load plugin-bust
The plugin changed how it handles conditionality, so we are always
loading it.
2024-02-17 16:06:32 +01:00
joostdecock
4264c81070 feat[plugin-bust]: Move conditionality to preSetDraft lifecycle hook
This plugin is used to draft designs for high bust rather than full
chest circumference. To facilitate that, we provide(d) a named export
called `withCondition` that checks whether the plugin is wanted, and if
so loads it.

Problem with that is that the conditional loading of a plugin applied
to the entire pattern. And since we support drafting patterns for
multiple sets (and use this to sample) this means that all of these sets
would either get the plugin effect or not, based on the first set.

So, to fix that, we have changed the lifecycle hook used by this plugin
to `preSetDraft` (from `preDraft`) and changed the `withCondition`
method to always return true.

This means that the plugin will always be loaded, and we have moved the
check that used to be in `withCondition` to the lifecycle hook.

In other words, this plugin will now always be loaded and will check for
each set whether it needs to do something.

This allows the conditionality to apply to each set in the pattern,
rather than to the entire pattern.

Note that conditionally loading plugins pattern-wide is still a valid
use-case. It just so happens that for this plugin, it was the wrong
approach.
2024-02-17 15:57:40 +01:00
Benjamin Fan
b9f9226587 fix(shared): Remove unused variable 2024-02-16 18:09:29 -08:00
Benjamin Fan
0d4eef107d fix(shared): Add optional measurements to pattern Edit Measurements by Hand 2024-02-16 11:10:32 -08:00
Joost De Cock
8364ea65ed
Merge pull request #6070 from freesewing/dependabot/npm_and_yarn/swagger-ui-dist-5.11.6
chore(deps): Bump swagger-ui-dist from 5.11.4 to 5.11.6
2024-02-16 19:04:48 +01:00
Joost De Cock
ce97d8317e
Merge pull request #6071 from freesewing/dependabot/npm_and_yarn/aws-sdk/client-sesv2-3.515.0
chore(deps): Bump @aws-sdk/client-sesv2 from 3.514.0 to 3.515.0
2024-02-16 19:04:39 +01:00
Joost De Cock
4011f581af
Merge pull request #6073 from freesewing/joost
fix(markdown): Revert crowding bad commits
2024-02-16 18:29:07 +01:00
joostdecock
56fe9faa45 Revert "New translations en.md (French)"
This reverts commit a35bac0aa9.
2024-02-16 18:19:13 +01:00
joostdecock
bd1b5f52d8 Revert "New translations en.md (Ukrainian)"
This reverts commit 957e9f7132.
2024-02-16 18:18:52 +01:00
Joost De Cock
16bb4d601f
Merge pull request #6072 from freesewing/lucy-docs
fix(markdown): Roll back crowding accidental removals
2024-02-16 18:08:11 +01:00
Joost De Cock
e07558ce73 fix(markdown): Roll back crowding accidental removals
These files seem to have been caught in the crossfire of fixing crowing
issues with uppercased files. This reverts those changes.
2024-02-16 17:40:07 +01:00
dependabot[bot]
1139a9f055
chore(deps): Bump @aws-sdk/client-sesv2 from 3.514.0 to 3.515.0
Bumps [@aws-sdk/client-sesv2](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sesv2) from 3.514.0 to 3.515.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sesv2/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.515.0/clients/client-sesv2)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sesv2"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 05:05:19 +00:00
dependabot[bot]
4bca5800f0
chore(deps): Bump swagger-ui-dist from 5.11.4 to 5.11.6
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 5.11.4 to 5.11.6.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.11.4...v5.11.6)

---
updated-dependencies:
- dependency-name: swagger-ui-dist
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-16 05:00:52 +00:00
Joost De Cock
996eba0852
Merge pull request #6064 from freesewing/i18n
New Crowdin Translations [skip build]
2024-02-15 19:21:24 +01:00
Joost De Cock
25d0f18829
Merge pull request #6065 from freesewing/dependabot/npm_and_yarn/swagger-ui-dist-5.11.4
chore(deps): Bump swagger-ui-dist from 5.11.3 to 5.11.4
2024-02-15 19:21:08 +01:00
Joost De Cock
1e55119267
Merge pull request #6066 from freesewing/dependabot/npm_and_yarn/prisma-5.9.1
chore(deps-dev): Bump prisma from 5.9.0 to 5.9.1
2024-02-15 19:21:01 +01:00
Joost De Cock
62ffd2bcdb
Merge pull request #6067 from freesewing/dependabot/npm_and_yarn/aws-sdk/client-sesv2-3.514.0
chore(deps): Bump @aws-sdk/client-sesv2 from 3.511.0 to 3.514.0
2024-02-15 19:20:55 +01:00
dependabot[bot]
d7894a1491
chore(deps): Bump @aws-sdk/client-sesv2 from 3.511.0 to 3.514.0
Bumps [@aws-sdk/client-sesv2](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-sesv2) from 3.511.0 to 3.514.0.
- [Release notes](https://github.com/aws/aws-sdk-js-v3/releases)
- [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-sesv2/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.514.0/clients/client-sesv2)

---
updated-dependencies:
- dependency-name: "@aws-sdk/client-sesv2"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 05:04:50 +00:00
dependabot[bot]
da60d82506
chore(deps-dev): Bump prisma from 5.9.0 to 5.9.1
Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) from 5.9.0 to 5.9.1.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.9.1/packages/cli)

---
updated-dependencies:
- dependency-name: prisma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 05:00:38 +00:00
dependabot[bot]
76314398e9
chore(deps): Bump swagger-ui-dist from 5.11.3 to 5.11.4
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.11.3...v5.11.4)

---
updated-dependencies:
- dependency-name: swagger-ui-dist
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-15 04:57:30 +00:00
Joost De Cock
fb052a0308 New translations en.md (Dutch)
skip-build
2024-02-14 21:50:46 +01:00
Joost De Cock
afeb1480b9 New translations en.yaml (Dutch)
skip-build
2024-02-14 21:48:58 +01:00
Benjamin Fan
a8e51a278b fix(shared, plugins): Provide measurement set name to patterns 2024-02-14 12:35:45 -08:00
Joost De Cock
a8f0c4557e
Merge pull request #6048 from freesewing/i18n
New Crowdin Translations [skip build]
2024-02-14 18:50:44 +01:00
Joost De Cock
03dfb5f3c8
Merge pull request #6056 from freesewing/dependabot/npm_and_yarn/daisyui-4.7.2
chore(deps): Bump daisyui from 4.7.0 to 4.7.2
2024-02-14 18:50:37 +01:00
Joost De Cock
1f03c5cac4
Merge pull request #6062 from freesewing/dependabot/npm_and_yarn/commitlint/config-conventional-18.6.2
chore(deps-dev): Bump @commitlint/config-conventional from 18.6.0 to 18.6.2
2024-02-14 18:50:29 +01:00
Joost De Cock
327a592ef9
Merge pull request #6047 from BenJamesBen/pdf-missing-symbols-workaround
fix(plugin-annotations): Use non-special characters in scaleboxes to work around #5874
2024-02-14 18:49:03 +01:00
Joost De Cock
822f6ccf33 New translations en.yaml (French)
skip-build
2024-02-14 18:35:21 +01:00
dependabot[bot]
42180b090c
chore(deps): Bump daisyui from 4.7.0 to 4.7.2
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 4.7.0 to 4.7.2.
- [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.0...v4.7.2)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 16:50:41 +00:00
Joost De Cock
3a1efa045f
Merge pull request #6032 from BenJamesBen/chai-import-tests
fix(models, backend): In tests, use chai namespace import instead of default
2024-02-14 17:49:55 +01:00
Joost De Cock
ecb6a2b43e
Merge pull request #6049 from BenJamesBen/hugo-front-dimensions
fix(hugo): Add missing dimension id attributes
2024-02-14 17:48:20 +01:00
Joost De Cock
9b5849e23b
Merge pull request #6050 from BenJamesBen/missing-measies-translation
fix(shared): Add translations to missing measurements string
2024-02-14 17:47:47 +01:00
dependabot[bot]
025ae16b98
chore(deps-dev): Bump @commitlint/config-conventional
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 18.6.0 to 18.6.2.
- [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/v18.6.2/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-14 16:47:37 +00:00
Joost De Cock
6556250457
Merge pull request #6059 from freesewing/dependabot/npm_and_yarn/husky-9.0.11
chore(deps-dev): Bump husky from 9.0.10 to 9.0.11
2024-02-14 17:47:08 +01:00
Joost De Cock
ff7823b626
Merge pull request #6052 from freesewing/dependabot/npm_and_yarn/mdx-js/mdx-3.0.1
chore(deps): Bump @mdx-js/mdx from 3.0.0 to 3.0.1
2024-02-14 17:46:47 +01:00
Joost De Cock
de89459054
Merge pull request #6053 from freesewing/dependabot/npm_and_yarn/dotenv-16.4.4
chore(deps): Bump dotenv from 16.4.2 to 16.4.4
2024-02-14 17:46:39 +01:00
Joost De Cock
39c9bea092
Merge pull request #6054 from freesewing/dependabot/npm_and_yarn/react-zoom-pan-pinch-3.4.2
chore(deps): Bump react-zoom-pan-pinch from 3.4.1 to 3.4.2
2024-02-14 17:46:28 +01:00
Joost De Cock
b340d2a4cf
Merge pull request #6055 from freesewing/dependabot/npm_and_yarn/html-react-parser-5.1.5
chore(deps): Bump html-react-parser from 5.1.4 to 5.1.5
2024-02-14 17:46:21 +01:00