1
0
Fork 0
Commit graph

109 commits

Author SHA1 Message Date
joostdecock
d0baf7cece [react] feat: Added docs for components/Patrons 2025-05-25 14:02:45 +02:00
joostdecock
fa5bad3d07 [react] feat: Added docs for components/Number 2025-05-25 13:51:36 +02:00
joostdecock
062eb497e9 [react] feat: Added docs for components/Null 2025-05-25 13:39:56 +02:00
joostdecock
4c582bf26f [react] feat: Added docs for components/Newsletter 2025-05-25 13:37:24 +02:00
joostdecock
0ecb1c8fd2 [react] chore: Removed components/New 2025-05-24 18:43:57 +02:00
joostdecock
280ee0e1d3 [react] feat: Added docs for components/Modal 2025-05-24 18:40:30 +02:00
joostdecock
7317ff5dd8 [react] feat: Added docs for components/Mini 2025-05-24 18:03:59 +02:00
joostdecock
3364be6052 [react] feat: Added docs for components/Logo 2025-05-24 17:52:31 +02:00
joostdecock
b011c626b0 [react] feat: Added docs for components/Link 2025-05-24 15:28:43 +02:00
joostdecock
254e271196 [react] feat: Added docs for components/LineDrawing 2025-05-24 14:57:15 +02:00
joostdecock
439315de02 [react] feat: Added docs for components/Layout 2025-05-24 13:11:06 +02:00
joostdecock
30e5d37c96 [react] feat: Added docs for components/KeyVal 2025-05-24 12:44:05 +02:00
joostdecock
1b1cacdea3 [react] feat: Added docs for components/Json 2025-05-24 12:22:21 +02:00
joostdecock
b914b6299f Merge branch 'develop' into cdocs 2025-05-24 12:07:19 +02:00
Jonathan Haas
c66c9e0a93 feat(react): Replace the flag number with a colored badge 2025-05-24 08:54:42 +02:00
Benjamin Fan
743314062d fix(react): Handle no-settings scenario 2025-05-24 08:53:00 +02:00
Jonathan Haas
96ae664829 feat(react): Change the expand icon to have the arrows point inwards if expand is disabled 2025-05-24 08:52:18 +02:00
Jonathan Haas
9c3155823c fix (react): make the Sample menu less strict about translations
It can be helpful to be able to use the sample function on incomplete designs without proper translation, so don't crash if an option is missing its translation
2025-05-24 08:51:08 +02:00
Benjamin Fan
bfc2296cec fix(react,utils): Change imperial step to 1/16 in. 2025-05-24 08:49:07 +02:00
Benjamin Fan
c60f73befd fix(react): Add URL formats to Bookmarked Set picker 2025-05-24 08:45:52 +02:00
Jonathan Haas
9469a9493c fix(react): Ignore pointer events on tooltip text of Xray point component 2025-05-24 08:43:52 +02:00
Benjamin Fan
96dd83fc10 fix(react): Fix Collection background image URL 2025-05-24 08:42:10 +02:00
Andrew James
cb100346d8 remove duplicated css classes 2025-05-19 12:56:56 +00:00
Benjamin Fan
db8189a55a fix(react): Allow imperial formatted values to be displayed (#371)
![Screenshot 2025-05-17 at 3.58.26 PM.png](/attachments/6c83d019-9ec9-4081-8e3c-88ec1ac9c36d) ![Screenshot 2025-05-17 at 3.50.22 PM.png](/attachments/eb5293ac-1cd4-4583-b68f-2314899e3346)

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/371
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-19 08:05:23 +02:00
Benjamin Fan
a7eb3e0072 fix(react): Allow bookmark title to be edited (#366)
Currently it isn't possible to edit the title of a bookmark (for example, when bookmarking a Measurements Set) for 2 reasons:
1. The modal closes as soon as you click in the title text edit box.
2. The created bookmark uses the original title, ignoring edits made to it.

This PR fixes both issues.

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/366
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-19 08:02:56 +02:00
Benjamin Fan
3799e039ae fix(react): PDF cover page improvements (#360)
Exported PDF cover page improvements:
1. Translates flags, instead of just printing the bare keys
2. Omit layout info, when the parts are moved around in pattern layout

Fixes #274
Fixes #350

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/360
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 13:33:30 +00:00
Benjamin Fan
a3fe0cd477 fix(react): Add link to design docs to Pattern Editor's Documentation view (#359)
This PR adds a link to the design documentation to the Pattern Editor's Documentation View. It also fixes a few typos and changes a URL from freesewing.org to freesewing.eu.

Fixes #267

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/359
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 13:31:02 +00:00
Benjamin Fan
5dc1cd98fb fix(react): Display doNotTranslate list option values (#358)
When testing with the repository studio, it fixes the issue with Breanna (the only design that uses `doNotTranslate` list options), and I didn't see any regressions with other designs like Hi.

Fixes #347

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/358
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 10:58:16 +00:00
Benjamin Fan
bdf8a40792 fix(react): Units icon uses default style if no settings (#356)
Fixes a side effect of the "there are no longer default settings" change.

Fixes #344

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/356
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 10:26:03 +00:00
Benjamin Fan
64223a141a fix(react): Pattern clone fix and improvment (#353)
This PR:
1. Fixes an issue where the pattern clone operation fails, resulting in a hang/freeze.
2. Appends " (clone)" text to the cloned pattern's name.

The hang/freeze problem was reported on Discord:
1372209603
discord://discord.com/channels/698854858052075530/944926520282054666/1372209603080753212

Because a successful pattern clone operation immediately loads the new, cloned pattern in the browser, the loading status "success" message is not seen by the user. Instead the user sees the new pattern, but because the new pattern looks exactly like the old pattern, it is not immediately clear to the user that the operation succeeded.

This PR adds " (clone)" to the cloned pattern's name, making it easier to see that the clone operation succeeded and than the user is actually looking at the new, cloned pattern. It also helps differentiate the new, cloned pattern from the original pattern.

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/353
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 10:01:31 +00:00
Benjamin Fan
74ba6c2329 fix(react): Untranslated strings also need a trailing space (#349)
The bug appears in part title cutlist instructions. The bug behavior exists only in the React component. It does not exist with the core SVG renderer.

Before:
![Screenshot 2025-05-12 at 10.59.49 AM.png](/attachments/cb43d749-bad3-4d54-95ba-ae1ed4675bd2)

After:
![Screenshot 2025-05-12 at 10.59.15 AM.png](/attachments/979ca23a-1db4-49e6-8b31-4e2cd84ecbdf)

Edit: (Added, in case the keyword needs to be in the PR description/first comment, not just in a subsequent comment):
Fixes #331

Co-authored-by: Benjamin Fan <ben-git@swinglonga.com>
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/349
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:44:18 +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
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
e47d03cdb2 [react] chore: Remove unused Design component family 2025-05-10 14:32:37 +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
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