1
0
Fork 0
Commit graph

9208 commits

Author SHA1 Message Date
joostdecock
a77a263ca0 [react] feat: Added docs for hooks/useBackend 2025-05-29 17:23:29 +02:00
joostdecock
c60e5bf109 [react] feat: Added docs for context 2025-05-29 15:43:35 +02:00
joostdecock
54fe6275af [react] feat: Added docs for components/Yaml 2025-05-29 14:19:57 +02:00
joostdecock
0a345b3347 [react] feat: Added docs for components/Xray 2025-05-29 14:12:20 +02:00
joostdecock
5e5d3a0270 [react] feat: Added docs for components/Ux 2025-05-29 13:57:52 +02:00
joostdecock
d8705ecc75 [react] feat: Added docs for components/Uuid 2025-05-29 13:52:15 +02:00
joostdecock
b50228e0f9 [react] feat: Added docs for components/Time 2025-05-29 13:45:13 +02:00
joostdecock
88d0c92a6d [react] feat: Added docs for components/Table 2025-05-29 13:19:47 +02:00
joostdecock
f92a182992 [react] feat: Added docs for components/Tab 2025-05-29 12:35:43 +02:00
joostdecock
b6d947646c [react] feat: Added docs for components/Stats 2025-05-29 12:21:39 +02:00
joostdecock
4ba8b50b2c [react] feat: Added docs for components/Spinner 2025-05-29 12:18:29 +02:00
joostdecock
bc8b495d1c [react] feat: Added docs for components/SignUp 2025-05-29 12:13:44 +02:00
joostdecock
82015e992f [react] feat: Added docs for components/SignIn 2025-05-29 12:08:33 +02:00
joostdecock
7093dd3d36 [react] feat: Added docs for components/Role 2025-05-29 11:49:04 +02:00
joostdecock
d6cbe79dd5 [react] feat: Added docs for components/Profile 2025-05-29 11:36:41 +02:00
joostdecock
320bcf8534 fix: Update after breaking changes to Popout component 2025-05-29 11:18:34 +02:00
joostdecock
b8740c2223 [react] feat: Added docs for components/Popout 2025-05-26 08:22:15 +02:00
joostdecock
22a89f12d3 feat(dev): Added react docs for Pattern + refactor
This adds support for not only documenating components, but also
constants and functions that may be exported next to components.
2025-05-25 16:29:57 +02:00
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
7c796a689e fix(studio): Remove submenus from account measurements sets and patterns. (#355)
Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/355
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:04:20 +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