1
0
Fork 0
freesewing/packages/react/components
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
..
Account fix(react): Pattern clone fix and improvment (#353) 2025-05-18 10:01:31 +00:00
Admin [react] feat: Admin button to disable MFA 2025-04-27 16:45:19 +02:00
Breadcrumbs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Button [dev] feat: Started working on component reference docs 2025-05-04 18:42:49 +02:00
Collection fix(react): Adjust linedrawing size to fit card 2025-05-03 09:28:47 +00:00
Control feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
CopyToClipboardButton [react] fix: CopyToClipboardButton style 2025-05-03 12:47:56 +02:00
CuratedSet feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Design feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
DiffViewer [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Docusaurus feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Echart [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Editor fix(react): Pattern Layout print settings UI fixes (#351) 2025-05-18 09:40:11 +00:00
Heading feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Highlight [react] fix: Path string style in Xray path component 2025-05-03 12:47:24 +02:00
Icon feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Input [org] fix: Menus in Editor 2025-04-19 17:52:48 +02:00
Json [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
KeyVal feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Layout feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
LineDrawing feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Link feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Logo [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Markdown [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Mini feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Modal feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
New feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Newsletter feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Null [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Number [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Patrons feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Pattern fix(react): Untranslated strings also need a trailing space (#349) 2025-05-18 09:44:18 +00:00
Popout feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Profile feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Role [org] fix: Don't hammer backend when consent is lacking 2025-04-23 20:30:57 +02:00
SignIn chore: Remove OIDC signup/signin 2025-04-27 17:10:42 +02:00
SignUp chore: Remove OIDC signup/signin 2025-04-27 17:10:42 +02:00
Spinner feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Stats feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Tab [dev] feat: Started working on component reference docs 2025-05-04 18:42:49 +02:00
Table [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Time [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Uuid [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Ux feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Xray [react] fix: Path string style in Xray path component 2025-05-03 12:47:24 +02:00
Yaml [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00