1
0
Fork 0
Commit graph

134 commits

Author SHA1 Message Date
joostdecock
f9d68bd2e1 [org] fix: Don't hammer backend when consent is lacking 2025-04-23 20:30:57 +02: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
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
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
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
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
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
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
joostdecock
bd44ca1cd2 [org] fix: Add links to design options and instructions
Also closes #206
2025-04-07 05:46:36 +00:00
joostdecock
96bce2ef7c [react] fix: Do not apply null layout. Closes #219 2025-04-07 05:46:36 +00:00
joostdecock
48cdfef5f6 [react] fix: Use replaceState in hash. See #216 2025-04-07 05:46:36 +00:00
Jonathan Haas
dbf49fd8ff [react] fix: copy-paste error introduced in #205, causing the InspectView to crash (#221)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/221
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-07 05:22:55 +00:00
Jonathan Haas
c34bf694e1 [react] fix: pattern export issues (#218)
Fix the export functionality in the pattern editor:

* Fix the export button in the header bar
* Fix the copy to clipboard buttons displaying no text and having a weird styling.

Before:
![before](/attachments/b2c542a8-06ee-46fa-9058-36b738e285cc)
After:
![after](/attachments/754993a9-04ee-44e9-ae78-7529a1298a54)

Fixes #215

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/218
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-06 14:47:22 +00:00
SeaZeeZee
797f1f70b4 [react] feat: add jane linedrawings (#211)
Adds linedrawings to Jane's design page.

Co-authored-by: SeaZeeZee <86711383+SeaZeeZee@users.noreply.github.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/211
Reviewed-by: Joost De Cock <joostdecock@noreply.codeberg.org>
Co-authored-by: SeaZeeZee <seazeezee@noreply.codeberg.org>
Co-committed-by: SeaZeeZee <seazeezee@noreply.codeberg.org>
2025-04-06 14:45:49 +00:00
Jonathan Haas
a110d222c9 [react] fix: seam allowance slider (#210)
Fixes #208

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/210
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-06 14:44:22 +00:00
Jonathan Haas
b4a5393290 [react] feat: Improved error handling when pattern drafting fails (#205)
If drafting a part fails, the logs store contains an array [message, stacktrace] instead of a simple string. Handle this in the LogView.

Also display an error message in the DraftView when there were errors during drafting.

![image](/attachments/62cdebe3-7825-4382-88fd-395337cda58b)

after clicking the button:

![image](/attachments/f909887b-b9bd-467e-9e13-f850c38d76b3)

(could also display the stack traces, but they're quite unhelpful and you can find them in the browser console anyway, the code for that is commented out)

Closes #163

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/205
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-06 14:42:42 +00:00
joostdecock
b6ab7517c1 [org] fix: Set view to measurements when they are missing
Closes #209
2025-04-04 14:20:57 +02:00
Jonathan Haas
3cba9e4020 [org] fix: fix/new-measurement-set (#201)
Fixes #197

Not tested in detail since that needs an account without measurement sets, which I don't have.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/201
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
Co-committed-by: Jonathan Haas <haasjona@gmail.com>
2025-04-03 16:08:13 +00:00
joostdecock
7f39f319c6 [org] fix: Missing new measurements set link 2025-04-03 17:58:15 +02:00
Joost De Cock
880f738973 [org] feat: Add curated measurments sets to site (#198)
Also includes fixes for darkmode.

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/198
2025-04-03 14:41:18 +00:00
Jonathan Haas
77e75fa940
[org] fix: Fix various links 2025-04-03 15:28:13 +02:00
joostdecock
c5720c1163 [org] fix: Fix 'update pattern' link 2025-04-02 17:31:23 +02:00
joostdecock
b5d5c4f15d [org] fix: Newsletter unsubscribe handling 2025-04-02 17:05:54 +02:00
Joost De Cock
51dc1d9732
[breaking]: FreeSewing v4 (#7297)
Refer to the CHANGELOG for all info.

---------

Co-authored-by: Wouter van Wageningen <wouter.vdub@yahoo.com>
Co-authored-by: Josh Munic <jpmunic@gmail.com>
Co-authored-by: Jonathan Haas <haasjona@gmail.com>
2025-04-01 16:15:20 +02:00