Skip to content

Add Copy into case and Drop copies buttons to the gallery's Source section - #23

Merged
abrignoni merged 1 commit into
mainfrom
feat/gallery-stage-button
Sep 3, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/gallery-stage-button

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds the stage and unstage controls to the gallery. The sidebar's Source section now lists each extraction zip with its mode and status.

  • "Copy into case" starts the stage job; the live bottom bar follows it
  • "Drop copies" confirms, then unstages; refused unless the zip still holds every registered file
  • Both disabled while the zip is missing or changed

Checked in the browser on a reference-mode case: the panel flips to "copied into the case" after the job and back after the drop, with the copies appearing and leaving on disk. An endpoint test covers the job, the refusal while the zip is away, and the unstage.

🤖 Generated with Claude Code

…ction

The sidebar lists each extraction zip with its mode and status. "Copy into case"
starts the stage job and the live bottom bar follows it; "Drop copies" asks for
confirmation, then calls unstage, which the server refuses unless the zip still
holds every registered file. Both are disabled while the zip is missing or changed.
Covered by an endpoint test that stages through the job and unstages, including the
refusal while the zip is away.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@abrignoni
abrignoni merged commit 158fa03 into main Sep 3, 2026
8 checks passed
@abrignoni
abrignoni deleted the feat/gallery-stage-button branch September 3, 2026 19:46
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.

1 participant