1
0
Fork 0
Commit graph

113178 commits

Author SHA1 Message Date
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
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
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
joostdecock
02e5ed25da [studio] fix: Include signup/signin pages 2025-05-01 17:09:08 +02:00
Benjamin Fan
0e89b410c2 fix(shin): Fix rise option in Front part 2025-05-01 14:45:43 +00:00
Jonathan Haas
c535f626a7 [react] fix: Change the maximum value of the pattern parts margin to a more sensible value of about 3cm instead of 2.5mm 2025-05-01 14:45:32 +00:00
joostdecock
fe8e1853a7 [react]: fix: Pass down state for toAbs() 2025-05-01 14:45:09 +00:00
joostdecock
87834e5ab2 [studio] fix: Corrections to add documentation (#317)
Replaces #289 by @BenJamesBen which was blocked due to a  merge conflict.

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/317
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
2025-05-01 14:42:44 +00:00
anna_puk
48b11c2016 [dev] fix: two typos in /sites/dev/docs/training/git/readme.mdx (#300)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/300
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: anna_puk <anna_puk@noreply.codeberg.org>
Co-committed-by: anna_puk <anna_puk@noreply.codeberg.org>
2025-05-01 14:21:30 +00:00
Jonathan Haas
995b3b0acc [react] fix: Work around an issue where the account in local storage would have set a wrong control value in localStorage
And use the correct integer for new visitors
2025-05-01 14:20:29 +00:00
Jonathan Haas
3fd70c2447 [editor] fix: Initialize ux state with user control level
Fixes #310
2025-05-01 14:20:29 +00:00
Jonathan Haas
cd2b005be7
[studio] fix: Fix the pattern templates
- "inherited: true" is wrong as it doesn't hide the "from" path
- the brian template had incorrect part inheritance, back was inheriting the front part instead of the base brian back part
- bent had a similar issue as brian
2025-05-01 11:24:54 +02:00
joostdecock
5cfa9df287 [react] fix: Button state for boolean core options. Fixes #229 2025-04-28 07:16:39 +02:00
joostdecock
663528fa36 [react] chore: Guard against undefined settings 2025-04-28 07:06:35 +02:00
joostdecock
5e5edd9d29 [react] fix: Guard against undefined state. Fixes #298 2025-04-28 06:48:14 +02:00
Joost De Cock
773f818295 Merge pull request 'chore: Remove OIDC signup/signin' (#297) from j250427 into develop
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/297
2025-04-27 15:11:38 +00:00
joostdecock
6d9e79fe59 chore: Remove OIDC signup/signin 2025-04-27 17:10:42 +02:00
joostdecock
4324bd5988 [react] fix: Handle response when removing account 2025-04-27 16:49:29 +02:00
joostdecock
c44c77bd2a [react] feat: Admin button to disable MFA 2025-04-27 16:45:19 +02:00
joostdecock
a97bb4e803 chore: Do not initialize editor with default settings 2025-04-27 15:20:11 +02:00
joostdecock
f3c2996ec6 [plugin-gore] fix: Name in about.json 2025-04-27 14:50:49 +02:00
joostdecock
062c1a101e fix: Allow dashes in plugin names 2025-04-27 14:50:28 +02:00
Jonathan Haas
32be41209e [org] fix: Remove superflous sidebar entry (#295)
sidebar_class_name: 'tw:hidden' doesn't seem to work when the page is an index.mdx inside some folder. Make it a top-level document instead

Fixes #275

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/295
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
2025-04-27 12:08:47 +00:00
Jonathan Haas
f42e94923b Fix SampleMeasurementButton 2025-04-26 13:52:30 +00:00
Jonathan Haas
6f233441b3 Fix a special case in the reduce function when pass1 created very short segments
Fixes #286

Also add testcase.
2025-04-26 13:42:24 +00:00