1
0
Fork 0
Commit graph

113292 commits

Author SHA1 Message Date
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
joostdecock
836e1b6c8e [studio] fix: Various studio fixes 2025-04-26 13:39:51 +00:00
Benjamin Fan
ab01a3795d fix(plugin-gore): Correct id 2025-04-25 16:23:41 -07:00
joostdecock
5d71d6f87a [plugins] fix: Provide name in export. Fixes #280 2025-04-24 08:47:55 +02:00
joostdecock
f9d68bd2e1 [org] fix: Don't hammer backend when consent is lacking 2025-04-23 20:30:57 +02:00
joostdecock
aaed36a46a [org] fix: Update prebuild script to config changes 2025-04-23 16:46:23 +00:00
joostdecock
631f75a2db chore: Allow hiding of designs 2025-04-23 16:46:23 +00:00
joostdecock
f20ea77c64 chore: Run reconfigure in kickstart 2025-04-23 16:46:23 +00:00
joostdecock
b5192f127b [bonny] chore: Hide design from website 2025-04-23 16:46:23 +00:00
joostdecock
02f841c570 feat: Added studio to monorepo 2025-04-23 16:46:23 +00:00
joostdecock
c17b58f141 [react] fix: Apply correct CSS class. Fixes #245 (#271)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/271

TODO: fix rotate button
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
2025-04-21 12:15:32 +00:00
joostdecock
c6664cff19 [react] fix: Background in menus 2025-04-19 19:05:56 +02:00
joostdecock
d50be3718e [org] fix: dark/light mode issues 2025-04-19 19:05:38 +02:00
joostdecock
e433a7d1ce [org] fix: Menus in Editor 2025-04-19 17:52:48 +02:00
joostdecock
5b7829673c [react] fix: Color on Collection/DesignCard 2025-04-19 13:50:08 +02:00
joostdecock
2ba225fb28 [org] chore: Extended typography page 2025-04-19 13:30:03 +02:00
joostdecock
ea58334dd9 [org] fix: Prose fixes in CSS 2025-04-19 13:29:50 +02:00
joostdecock
02da928f04 feat: Added package documentation (wip) 2025-04-18 19:19:20 +02:00
joostdecock
f734707163 [dev] fix: Replace fake underscore 2025-04-18 15:22:33 +02:00
joostdecock
b04700a0ef [dev]: Chore migration to tailwindcss 4 / daisyui 5 2025-04-18 15:20:55 +02:00
Jonathan Haas
c9300e6739 [core] fix: stack anchoring (#261)
Fixes #54

Also adds the fabric class to lumina parts for proper line width and rainbow coloring.

The last commit is probably not right. It works, but I'm not sure if these are the right functions to change.

![image](/attachments/7a017a76-c7ba-4078-a1a1-e6c900f7d5ee)

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/261
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-04-18 13:00:40 +00:00
joostdecock
44e04a4cef feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263)
Also fixes #251

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/263
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
2025-04-18 08:07:13 +00:00
Jonathan Haas
a2863e5158 [org] fix: include strings from pluginI18n package in Legend MDX component (#262)
Fixes #125

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/262
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
2025-04-18 06:36:44 +00:00
Jonathan Haas
5ba6d4d0b0 [react] fix: deselecting included parts (#259)
Running `updateHandler(part, undefined)` will set the setting to null instead of removing/resetting it, which causes problems.

Fixes #239

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/259
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-04-18 06:24:34 +00:00
Jonathan Haas
0364e9c463 [react] fix: Pattern reset button (#258)
Fixes #252

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/258
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-04-18 06:23:42 +00:00
Jonathan Haas
7bb1f8cf3d [core] chore: Minor improvements for the bezier reduce function (#257)
- Give up early if the curve is empty (or otherwise malformed, i.e. if it contains NaN points), instead of iterating endlessly
- Limit the iterations to 20 as the comment says
- Don't go above 1 for the t values

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/257
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-04-18 06:23:03 +00:00
Jonathan Haas
647205661b [react] fix: the inspect view popup when clicking on a path or point, fix missing translations in the xray path and point components (#256)
This fixes some react wiring in the inspect view.

The drillProps argument contains the info function which displays the popup. Also `strings` should be passed for translation, instead of the t function.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/256
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-04-18 06:22:16 +00:00
Jonathan Haas
bc1d873b19 [org] fix: Restore public view of measurement sets (#247)
Also by default view imperial measurement sets as imperial and metric ones as metric (this is questionable, and should probably be discussed, alternatively we could default displayAsMetric to the account setting?)

Fixes #230

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/247
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-04-18 06:20:50 +00:00
Jonathan Haas
915e52b7d4 [react] fix: Fix weird slider behaviour when entering default value (#246)
Fixes #212

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/246
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-04-13 09:00:08 +00:00
Jonathan Haas
a9f5ba5392 Fix string translations in multiple views and SVG export and theming in SVG draft view (#244)
Fixes #227
Fixes #78

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/244
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-04-13 08:59:27 +00:00
Jonathan Haas
04a0b4b099 [plugin-path-utils] feat: Add path-utils plug-in (#236)
This plug-in helps with creating seam allowance and hem paths.

Rebased v4 version for #99, see the linked issue for screenshots/details.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/236
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-04-13 08:58:45 +00:00
Jonathan Haas
36da79afb6 [react] fix: Various fixes for the measurement view and editor (#233)
Various fixes for the measurement view and editor:

- Translate measurements in the measurement set view and align the measurements table properly
- Display a question mark next to the measurements that links to the corresponding docs page

This fixes a part of #226

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/233
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-04-13 08:57:54 +00:00
joostdecock
c5b0daf390 fix: Various website and repo fixes (#243)
- Fixes things in Oath flow, yet needs testing before we close #235
- Updates security notice, closes #240
- Fixes broken links to user profiles, closes #238

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/243
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
2025-04-12 10:42:35 +00:00
Jonathan Haas
7f5258d42d Fix some minor issues (dead links, typos) in the contribution guide. (#237)
Fixes #191

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/237
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-04-12 08:01:44 +00:00
Jonathan Haas
658555efb6 [react] fix: Improve handling default values of the pattern settings. (#234)
Fixes #229

unsure if expand is intended to be enabled or disabled by default, I opted for saving paper by default, but this can be easily changed.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/234
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-04-12 08:01:16 +00:00
Jonathan Haas
aa9267b3c9 [tests] feat: when sampling options, also test different settings for sa, paperless and complete (#225)
This ensures that we catch crashes that only occur with certain options set and/or only with sa and/or complete enabled.

Closes #189
Closes #85

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/225
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-04-12 07:51:23 +00:00
Jonathan Haas
5672638bf9 [core] feat: Hotfix the reduce function in the bezier library (#224)
Fixes #117

Co-authored-by: joostdecock <joost@joost.at>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/224
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-04-12 07:48:39 +00:00