Skip to content

feat(ConfigUI): add Clone Configuration button#5

Merged
diranged merged 1 commit into
mainfrom
feat/duplicate-config
Apr 8, 2026
Merged

feat(ConfigUI): add Clone Configuration button#5
diranged merged 1 commit into
mainfrom
feat/duplicate-config

Conversation

@diranged

@diranged diranged commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a "Duplicate…" context menu item to the sidebar configuration rows (between Start/Stop and Delete)
  • Shows a name prompt sheet pre-filled with <name>-copy, validated for uniqueness and filesystem safety
  • Cloned config is created in disabled state with prepared_image_name cleared to avoid image collisions

Closes #4

Test plan

  • Right-click a configuration in the sidebar — verify "Duplicate…" appears
  • Click "Duplicate…" — verify the sheet appears with <name>-copy pre-filled
  • Try invalid names (empty, special chars, existing name) — verify inline errors
  • Confirm with a valid name — verify the new config appears in the sidebar, is selected, and is disabled
  • Open the cloned config — verify all fields match the source except name and prepared_image_name

🤖 Generated with Claude Code

… menu

Closes #4 — users can now right-click a configuration in the sidebar and
select "Duplicate…" to clone it under a new name, avoiding the full wizard
flow when most fields are shared between configs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@diranged diranged merged commit 04e3850 into main Apr 8, 2026
4 checks passed
@diranged diranged deleted the feat/duplicate-config branch April 8, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ConfigUI): Add Clone Configuration button

1 participant