1
0
Fork 0
freesewing/packages/react/components/Account
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:
https://discord.com/channels/698854858052075530/944926520282054666/1372209603080753212
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
..
Apikeys.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Avatar.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Bio.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Bookmarks.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Compare.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Consent.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Control.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Email.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Export.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Github.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Id.mjs [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Import.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
index.mjs [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Instagram.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Links.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Mfa.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Newsletter.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Password.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Pattern.mjs fix(react): Pattern clone fix and improvment (#353) 2025-05-18 10:01:31 +00:00
Patterns.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Platform.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Reload.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Remove.mjs [react] fix: Handle response when removing account 2025-04-27 16:49:29 +02:00
Restrict.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Role.mjs [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Set.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Sets.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
shared.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Status.mjs [breaking]: FreeSewing v4 (#7297) 2025-04-01 16:15:20 +02:00
Units.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00
Username.mjs feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263) 2025-04-18 08:07:13 +00:00