1
0
Fork 0
Commit graph

71 commits

Author SHA1 Message Date
joostdecock
28e7ad0739 chore: Linedrawing issues 2024-10-12 16:41:28 +02:00
joostdecock
a3f5746c6d chore: Linter issues 2024-10-12 16:05:50 +02:00
joostdecock
40137c8f00 chore: Ported Albert 2024-10-06 12:03:08 +02:00
joostdecock
a4b184325a wip: Work on design docs 2024-10-06 11:49:14 +02:00
Joost De Cock
fad84d86a7
Merge pull request #7129 from freesewing/devdocu
chore: Port FreeSewing.dev to docusaurus
2024-09-28 15:25:47 +02:00
Joost De Cock
f85bea933a chore: Remove test code 2024-09-28 15:03:42 +02:00
Joost De Cock
aacea9ddfe chore: Linter warnings 2024-09-28 14:55:33 +02:00
Joost De Cock
ab3204f9f1 chore: Port FreeSewing.dev to docusaurus
The replaces the NextJS site powering FreeSewing.dev with a Docusaurus
setup. It's part of my efforts to simplify FreeSewing's setup so we can
focus on our core value proposition.
2024-09-28 13:13:48 +02:00
dependabot[bot]
6f0b421c5e
chore(deps): bump axios in /packages/react-components
Bumps [axios](https://github.com/axios/axios) from 1.6.8 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.8...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-15 13:30:10 +00:00
Joost De Cock
adefbe7d18
feat: New pattern editor (#7080)
This is not exactly finished or ready for prime-time, but I do feel that leaving it in a feature branch longer will only cause the spread between the `develop` branch and this to grow.

Given that I've taken care to not break the current site, I plan to merge this and then keep polishing things.

Some views are not implemented yet, and overall there's a need to polish to limit the amount of re-renders and improve performance.
2024-09-15 15:29:30 +02:00
joostdecock
9718d9580b chore: Update dependencies and contributors 2024-06-12 15:25:33 +02:00
joostdecock
21f386f56e prerelease: v3.3.0-rc.1 2024-05-11 17:30:26 +02:00
joostdecock
6ca891ae6f chore: Update dependencies and contributors 2024-04-27 15:29:01 +02:00
joostdecock
f8d9aeb035 chore: Changelog/all-contributors update
Updated the changelog after recent features/fixes by @haasjona and
@woutervdub

Re-ran reconfigure to update README's with the updated contributor list.
2024-04-06 18:00:10 +02:00
Joost De Cock
5bb261c946 chore: Reconfigure after adding new contributor 2024-03-25 19:49:59 +01:00
joostdecock
b2b2e0cf73 chore: dependencies update 2024-03-23 11:36:28 +01:00
joostdecock
18f009db1a chore: Dependency updates 2024-03-16 12:16:16 +01:00
joostdecock
8f13ace1f3 chore: Update dependencies and changelog 2024-03-03 10:10:43 +01:00
joostdecock
59adf43911 chore: Set engines in package.json 2024-02-11 17:31:52 +01:00
joostdecock
38bb3bc6f0 release: v3.2.0
- Added:
  - core:
    - Added the `Path.combine()` method
    - The `Path.join()` method is now variadic
    - The `Path.length()` now takes an parameter to include move operations in the length calculation
  - lumina:
    - Initial release
  - lumira:
    - Initial release
  - plugin-annotations:
    - The `title` macro now takes a `notes` and `classes.notes` as its config, allowing you to add notes
    - The `classes.cutlist` config is removed from the title plugin, cutlist info is now included as notes
  - plugin-i18n:
    - This plugin now supports translation of nested arrays of strings, giving you more flexibility to concatenate translated parts of strings
  - react-components:
    - This Pattern component now supports translation of nested arrays of strings, giving you more flexibility to concatenate translated parts of strings
  - sandy:
    - Added a new *panels* option
  - tristan:
    - Inital release
- Deprecated:
  - core:
    - Calling `Path.join` with a second parameter to indicate that the resulting paths most be closed is now deprecated and will be removed in FreeSewing v4.
- Fixed:
  - brian:
    - Take biceps ease into account when calculating armhole depth
  - carlton:
    - Fixed a stray seam allowance path on the collar
  - charlie:
    - The back pocket welt (4) and front pocket facing (8) incorrectly indicated to cut 2 instead of 4 in the cutlist. Fixes #5791
  - hugo:
    - Fix issue that crashed the design when complete is off. Fixes #6006
    - Base pocket opening on pocket height, rather than width of the garment. Fixes #6004
- Removed:
  - plugin-annotations:
    - The `classes.cutlist` config is removed from the title plugin, cutlist info is now included as notes

Shout-out to @woutervdub and @benjamesben for their many contributotions
to this v3.2 release 🙏
2024-02-11 13:43:07 +01:00
joostdecock
617fb6fa17 chore: Preparing 3.2 release 2024-02-11 13:30:18 +01:00
joostdecock
add96a0ee2 chore: Updated README templates 2024-02-04 10:52:16 +01:00
joostdecock
c06a18e06e feat: Support notes in title macro
This started out as a fix for #5753 after I felt the approach in #5760
was not the best way to handle this.

The problem lies in the way the cutlist data is added to the pattern by
the title plugin. The whole cutlist thing was added by a less
experienced contributor, and they were a little too focussed on what
they were trying to accomplish, rather than keeping an eye on the big
picture.

In this case, a bunch of points get added to the part to anchor all of
the text for the cutlist. This causes problems when inheriting parts
because points are added per material, and now we don't know what
materials were used and how to remove these points.

I appreciate @woutervdub effort to resolve this in #5760 but as I
mentioned above, I don't love the approach.
Rather than finding a clever way to remove these points, I am of the
opinion that they should never have been added in the first place.

Specifically, all we are doing is adding one or more lines of text. The
idea that you need multiple points for this is an incorrect assumption,
and therein lies the root of this problem.

So, this refactor adds support to the title macro for 'notes'. These
notes will be added below the title. The cutlist info is now just
prepended to the notes. So it stops being something 'special' (which it
never should have been) and instead just behaves like other text that is
placed on the part by the title macro.

The only flanking measure required to make this happen was to add
support for nested arrays in handling text.
This way, you can pass a nested array to concatenate strings in such a
way that each part will still be individually translated.

And as all text in FreeSewing, to force a linebreak, you just use "\n"
as The Dark Lord intended.
2024-01-06 17:54:11 +01:00
joostdecock
ba370f74d2 release: v3.1.0
- Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Added IDs to dimension macros that missed them, causing them to not be shown
 - Keep seam allowance out of the binding length calculation

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - Corrected part mixup in translation of flag message

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Fixed wrong use of options in a value method. Fixes

 - Remove names from old plugins from list option

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes
 - The skirt and curved waistband are now constructed with the ringsector macro

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Replaced all instances of 'seperate' with 'separate' in option names

 - Initial release

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Changed defaults to have more rise in the back
 - Increase default rise
 - Decrease default vertical stretch
 - Decreased default back waist dip
 - Increased default front waist dip
 - Allowed lower values on back exposure, causing back to flare out
 - Fix issue with back part when bulge is on and expand is off

 - Pocket opening was not drawn on the facing and pocket pieces. Fixes
 - Improve placement of the front welt. Fixes

 - Rephrased flag message when expand is off to avoid confusion about included seam allowance. Fixes

 - Initial release

 - Added support for notes in flags

 - Removing macros did not always remove the cutlist data in the store. Fixes

 - First release of the plugin providing the default packing implementation

 - First release of the plugin facilitating drafting a ring sector

 - Allow plugins to provide their own packing implementation
 - Added named export `cbqc` which exports the constant to approximate a circle with Cubic Bézier curves
 - Core will now set `activeMacro` in the store, keeping track of the running macro - Added the `generateMacroIds`, `getMacroIds`, and `removeMacroNodes` store methods

 - Fix order in mergeOptions method so user settings take precendence over defaults
 - Fix upward snap for snapped percentage option when snap is a simple number
 - The conditional loading of plugins had a bug causing them to never be loaded
 - Make Path.split() more robust when handling edge-case. Fixes
 - Prevent utils.circlesIntersect() from running sqrt on a negative number. Fixes

 - Removed unwanted debug output
2023-12-26 20:30:42 +01:00
joostdecock
14bca334f6 release: v3.1.0-rc-0 2023-12-24 14:06:17 +01:00
Joost De Cock
c62d19766b chore: Updated dependencies - Fixed axios issue 2023-12-24 10:18:14 +01:00
dependabot[bot]
9f6ea8f911
build(deps): bump html-react-parser from 4.2.9 to 5.0.7
Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 4.2.9 to 5.0.7.
- [Release notes](https://github.com/remarkablemark/html-react-parser/releases)
- [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/remarkablemark/html-react-parser/compare/v4.2.9...v5.0.7)

---
updated-dependencies:
- dependency-name: html-react-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 05:05:07 +00:00
joostdecock
d2030405dc chore: Reconfigure packages 2023-12-03 17:34:44 +01:00
joostdecock
306fba47d7 chore: Reconfigure packages 2023-11-03 19:41:41 +01:00
joostdecock
2fa394c8ab chore: Reconfigure packages 2023-10-28 21:49:40 +02:00
joostdecock
73fbc4e8bd chore: Reconfigure packages 2023-10-25 17:16:03 +02:00
Joost De Cock
9d06e89636 chore: Reconfigure packages 2023-10-18 17:56:39 +02:00
Joost De Cock
28e4eeae91 chore: Reconfigure packages 2023-10-18 16:05:10 +02:00
Joost De Cock
f2a787528d chore: Updated/cleaned up dependencies 2023-10-13 17:19:40 +02:00
joostdecock
eb32bc5fe0 release: v3.0.0 🎉 2023-09-30 17:48:57 +02:00
joostdecock
4d9c614c89 Merge branch 'joost' into develop 2023-09-30 17:41:35 +02:00
joostdecock
57f5d84e9c chore: Reconfigure packages 2023-09-30 17:40:53 +02:00
joostdecock
4ed30ae5ff chore: Reconfigure packages 2023-09-30 15:08:44 +02:00
joostdecock
ebe5b17b0b chore: Reconfigure packages 2023-09-30 14:59:01 +02:00
joostdecock
e0386a441b wip(sde): Handle package dependencies 2023-09-29 18:20:28 +02:00
joostdecock
9929aed51a release: v3.0.0-alpha.13 2023-09-29 09:59:38 +02:00
joostdecock
703e0e807d release: v3.0.0-alpha.11 2023-09-29 09:51:24 +02:00
joostdecock
237d525557 chore: Reconfigure 2023-09-27 16:19:13 +02:00
Joost De Cock
b7b543fda0 fix(react-components): Accept data-render-always attributes on points 2023-09-13 11:58:00 +02:00
joostdecock
61a674f517 feat(react-components): Do not render snippets by default when complete is false 2023-09-06 08:57:57 +02:00
github-actions
3f8edf41d9 [dependabot skip] chore(deps): bumped dependabot/npm_and_yarn/bugsnag/js-7.21.0 changes in config/dependencies.yaml 2023-08-21 04:47:28 +00:00
Enoch Riese
7ff2bded15 use node conditional exports instead of reconfiguring exports for different use cases 2023-07-27 18:52:58 -06:00
joostdecock
009e1c1cc9 fix(shared): Get rid of build:sitedeps
Recently I refactored the prebuild code. One thing I did not touch (yet)
was the various site dependencies. They were then ported to NX over the
previous system with build priorities we had in place. And while that
was a welcome improvement, it did not really address the bigger picture:
we don't actually need to build any of these dependencies to build the
site.

All we need to do is help NodeJS so it can resolve everything from the
source. So this commit does that by adding a top-level run script
`yarn buildsiteconfigure` which calls `yarn reconfigure` but with the
BUILDSITE variable set.

When that variable is set, the reconfigure script will skip all optional
steps and generate a slightly different package.json file that tells
NodeJS to looks the package from source, rather than to look for the
build files.

After running this script, the prebuild step for the various sites will
run without problems, even on a fresh repo where nothing has ever been
build.

So I've updated the prebuild script in the sites to run this. For local
development, please use `uyarn predev` so that you don't muck with all
the package.json files.
If you do so (by accident or not) a `yarn reconfigure` run will put
everything back in its place.
2023-07-26 20:01:04 +02:00
Enoch Riese
9c88b44501 better naming convention for build scripts. bring back build:all 2023-07-23 11:19:30 -06:00
Enoch Riese
d613c842d6 use lerna to handle build order and speed up buildsitedeps 2023-07-22 18:32:19 -06:00