1
0
Fork 0
Commit graph

113300 commits

Author SHA1 Message Date
Benjamin Fan
1896eba914 fix(wahid): Add new waist, hips, and pocket calculations (#352)
This PR changes how the Wahid pattern is generated to improve widths at the waist and hips. It does so by using the actual waist and hips measurements to generate the waist and hips points, as opposed to the old method which used the chest circumference as the base to approximate the waist and hips points. The new method results in a pattern where the chest/waist/hips widths of the garment are exactly the values of chest/waist/hips measurements plus ease.

The changes are controlled by a new Legacy Waist and Hips option. The option is disabled by default, but when it is enabled the Wahid pattern is generated the old way. So, users will be able to generate the same Wahid patterns as before, if desired.

The PR also contains a fix for the front pocket angle.

The waist and hips changes were tested by someone who reported that it fixed their sway back issue:
1367899207
discord://discord.com/channels/698854858052075530/757631205804998759/1367899207553388556

Fixes #302
Fixes #328

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/352
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
Co-committed-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
2025-05-18 09:43:40 +00:00
Benjamin Fan
3390def67c fix(react): Pattern Layout print settings UI fixes (#351)
Fixes #341
Fixes #342

![Screenshot 2025-05-13 at 4.19.07 PM.png](/attachments/495b1a64-b7e6-40ca-b531-287cea0d29a1)
![Screenshot 2025-05-13 at 4.18.47 PM.png](/attachments/ce8f568e-537e-4f19-b0c1-893253966914)

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/351
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
Co-committed-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
2025-05-18 09:40:11 +00:00
Benjamin Fan
dcf7c0412b fix(dev): v4 tutorial setup changes (#278)
Changes to tutorial documentation:
1. Changed instances of `yarn` to `npm`. Remove references to installing `yarn`.
2. Changed instances of `@freesewing/new-design` to `@freesewing/studio`.
3. Changed instances of "lab" to "development environment" and `npm run lab` to `npm run org`.
4. Changed instances of Node v18.17.0 to v20.19.1. ~(I think I might have missed it in one spot. I'll submit a future PR for it.)~

I did not touch the Getting "Started with Vercel" and "Getting Started with Codespaces" tutorials. I need to take a closer look at these to see if they are still relevant or if we might want to remove them.

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/278
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
Co-committed-by: Benjamin Fan <benjamesben@noreply.codeberg.org>
2025-05-18 09:32:33 +00:00
joostdecock
612af4081b [react] feat: Added docs for components/Input 2025-05-11 17:55:53 +02:00
joostdecock
ffa122e524 [react] feat: Added docs for components/Icon 2025-05-11 13:43:27 +02:00
joostdecock
32d08c923c [react] feat: Added docs for components/Highlight 2025-05-10 16:21:24 +02:00
joostdecock
05ea157ef9 [react] fix: Pre-create output folder. Closes #343 2025-05-10 16:00:03 +02:00
joostdecock
1381af2475 [react] feat: Added docs for components/Heading 2025-05-10 15:55:20 +02:00
joostdecock
f8a987e3d5 [react] feat: Added docs for components/Editor 2025-05-10 15:47:00 +02:00
joostdecock
7058843534 [react] feat: Added docs for components/Echart 2025-05-10 15:35:34 +02:00
joostdecock
f6f6419cae [react] feat: Added docs for components/Docusaurus 2025-05-10 15:18:52 +02:00
joostdecock
a5f4dfa6a3 [react] feat: Added docs for components/DiffViewer 2025-05-10 14:48:08 +02:00
joostdecock
e47d03cdb2 [react] chore: Remove unused Design component family 2025-05-10 14:32:37 +02:00
joostdecock
297e4820b0 [react] feat: Added docs for components/CuratedSet 2025-05-10 14:26:39 +02:00
joostdecock
e58177dedb [react] feat: Merged Button and CopyToClipboardButton 2025-05-10 14:19:57 +02:00
joostdecock
749b6b9da7 [react] feat: Added docs for components/CopyToClipboardButton 2025-05-10 14:01:16 +02:00
joostdecock
fc04e415c9 [react] feat: Added docs for components/Control 2025-05-10 13:44:03 +02:00
joostdecock
34ae1dc8dc [react] feat: Added docs for components/Collection 2025-05-10 10:38:06 +02:00
joostdecock
ef6f59de80 [react] feat: Added new useFilter hook 2025-05-10 10:37:51 +02:00
joostdecock
0bbc7ef242 [react] fix: Do not export local components 2025-05-10 10:16:35 +02:00
Joost De Cock
fdd94d9bb1 [simon] fix: Cuff Cutting Instructions' (#338)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/338
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
2025-05-09 16:07:07 +00:00
Joost De Cock
0dc985594d [dev] fix: Change github links to codeberg (#339)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/339
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
2025-05-09 16:06:13 +00:00
joostdecock
8f53b047a6 [react] feat: Added docs for components/Breadcrumbs 2025-05-09 18:00:43 +02:00
joostdecock
5ec2a2a1da [react] feat: Added docs for components/Admin 2025-05-09 17:47:03 +02:00
joostdecock
6d9cbf55c2 [react] feat: Added docs for components/Account 2025-05-09 17:46:51 +02:00
Jared Johnston
33308e846a Change github links to codeberg 2025-05-05 21:45:58 +10:00
Josh Munic
38218b1986
Fix Simon Cuffs cutting instructions
Add "Cut 2 from interfacing" to the cutting instructions on the
Simon shirt cuffs pattern. The cutting instructions in the
documentation say to cut 2 from interfacing.
2025-05-04 18:02:39 -07:00
jpmunic
dd18c39676 Merge pull request 'merge upstream into my fork' (#1) from freesewing/freesewing:develop into develop
Reviewed-on: https://codeberg.org/jpmunic/freesewing/pulls/1
2025-05-05 00:44:55 +00:00
joostdecock
f5a089f884 [dev] fix: Broken links 2025-05-04 18:55:10 +02:00
joostdecock
cb68284d54 [dev] feat: Started working on component reference docs 2025-05-04 18:42:49 +02:00
joostdecock
965e32b9d5 [react] fix: SVG colors in dark mode. Fixes #335 2025-05-04 14:12:52 +02:00
joostdecock
8295409eee Revert "[plugin-theme] fix: Better support for dark mode in SVG styles"
This reverts commit a01f300445.
See #335
2025-05-04 11:15:34 +02:00
joostdecock
e9e551bd46 [react] fix: CopyToClipboardButton style
See #264
2025-05-03 12:47:56 +02:00
joostdecock
07eae0a9cd [react] fix: Path string style in Xray path component
See #264
2025-05-03 12:47:24 +02:00
joostdecock
41203f8b3f [sites] fix: Navbar background on mobile. See #264 2025-05-03 12:39:06 +02:00
joostdecock
a01f300445 [plugin-theme] fix: Better support for dark mode in SVG styles
See #264
2025-05-03 12:34:42 +02:00
joostdecock
eb89fd4cc2 [react] fix: Support dark mode for codemirror editor
See #264
2025-05-03 11:52:28 +02:00
joostdecock
899ca81b64 [sites] fix: Navbar background color in light mode
We used --ifm-background-color here, which is a color in dark mode but
in light mode is transparent. So this switches it to
--ifm-background-surface-color which is always a color.

See #264
2025-05-03 11:43:22 +02:00
joostdecock
5e0b1f79b1 chore: Reconfigure run 2025-05-03 11:31:07 +02:00
Benjamin Fan
899f468d2b fix(scripts,config): Update collection i18n during reconfigure 2025-05-03 09:29:31 +00:00
Benjamin Fan
b6d9526d8b fix(react): Adjust linedrawing size to fit card 2025-05-03 09:28:47 +00:00
Benjamin Fan
09d6445a51 fix(react): Display missing linedrawing placeholder image 2025-05-03 09:28:47 +00:00
Benjamin Fan
ec9306cf1a fix(react): Clarify filtered designs label 2025-05-03 09:27:46 +00:00
Benjamin Fan
f92976e674 fix(collection): Add all array elements to sets 2025-05-03 09:27:46 +00:00
Jonathan Haas
cb5cfffbb0 Fix relative path in hrefNewSet configuration
Fixes #250
2025-05-03 09:27:11 +00:00
Jonathan Haas
83ff6b3b47 [react] fix: Improve the inspect view (#323)
Improve visuals of the Xray path component

- Return null for hidden paths in the Path component. This fixes #266 and restores v3 behavior here. (An optional toggle to show hidden paths might be useful in the future.)
- Reverse animation direction in stroke-dashoffset. This ensures that the path animates in the internal direction, which is less confusing since you can hover over a path to check that it is counter-clockwise.

Also remove a duplicate array key.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/323
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
2025-05-03 09:26:41 +00:00
joostdecock
415a6559d3 [utils] fix: Also replace &amp; in user strings 2025-05-01 15:48:50 +00:00
joostdecock
d267c04286 [react]: fix: Escape user-provided text in SVG. Closes #260 2025-05-01 15:48:50 +00:00
joostdecock
d0cebc8959 [react] fix: Always add bounding box in plugin-tiler. Fixes #273 2025-05-01 15:39:17 +00:00
joostdecock
b6cb59e94c [react] fix: Respect user account units & header fixes
This fixes #310 by ensuring the user units are respected.
It also includes some tweaks for the header menu in the editor

- Better default/non-default styling for icons
- Fix alignment of various menus within the ribbon
2025-05-01 15:38:28 +00:00