Skip to content

feat(gallery): move uploaded images to Media - #10227

Open
renningg wants to merge 1 commit into
invoke-ai:mainfrom
renningg:feat/gallery-move-uploads-to-media
Open

renningg wants to merge 1 commit into
invoke-ai:mainfrom
renningg:feat/gallery-move-uploads-to-media

Conversation

@renningg

@renningg renningg commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

When you reimport an image, it lands in Uploads. Right-click an uploaded image and choose Move to Media to list it under Media on the same board. The action updates the existing image record, so its file, metadata, and references stay in place.

Related Issues / Discussions

Related to #6837

QA Instructions

  1. In Gallery, upload a PNG to a board and open Uploads. Right-click the image and choose Move to Media.
  2. Open Media on the same board and verify the image is there. An existing Canvas layer made from the image still uses the same image.

Verified in Chromium with the mock backend. The image moved between the listings with the same ID, board, and pixels, and the Canvas raster layer stayed in place. Keyboard focus returned to the Gallery while the update was held. The focused browser suites passed 291 tests and the Gallery transport suite passed 67 tests. The 93 architecture tests and 80 fixture tests also passed.

pnpm check:release passed formatting, lint, and types. At the unit stage, 13,230 tests passed and two macOS shortcut assertions failed (shortcut hints and command palette entries). Both failures reproduced on clean upstream 02e3ee0e5b. The later release stages did not run.

The Move to Media action in the Gallery Uploads menu

Review

The action applies to one uploaded image at a time. The existing server permission check controls who can move it.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Meaningful regression coverage added / updated where needed; obsolete tests/code removed
  • Persisted-state and API changes include required migrations / compatibility validation
  • Relevant performance/efficiency opportunities considered; material claims have evidence
  • Material review findings resolved and relevant checks rerun
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Reclassify the existing image from the Uploads context menu so its board and Canvas references are preserved.
@github-actions github-actions Bot added frontend PRs that change frontend files docs PRs that change docs labels Nov 10, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs PRs that change docs frontend PRs that change frontend files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant