Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): image uploading handling #7315

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

Rework uploadImage and uploadImages helpers and the RTK listener, ensuring gallery view isn't changed unexpectedly and preventing extraneous toasts.

Fix staging area save to gallery button to essentially make a copy of the image, instead of changing its intermediate status.

Related Issues / Discussions

Multiple threads on discord

QA Instructions

Test functionality that uploads an image:

  • Generating on canvas, which uploads images for each layer type
  • Clicking save to gallery on the canvas toolbar
  • Clicking save to gallery on the staging area toolbar
  • Uploading an image using a button (e.g. upscale initial image, node image field, control layer, ref image)

Merge Plan

Probably bout time for a release.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog

@github-actions github-actions bot added the frontend PRs that change frontend files label Nov 14, 2024
Rework uploadImage and uploadImages helpers and the RTK listener, ensuring gallery view isn't changed unexpectedly and preventing extraneous toasts.

Fix staging area save to gallery button to essentially make a copy of the image, instead of changing its intermediate status.
@hipsterusername hipsterusername enabled auto-merge (rebase) November 14, 2024 21:37
@hipsterusername hipsterusername merged commit 4d08d00 into main Nov 14, 2024
14 checks passed
@hipsterusername hipsterusername deleted the psyche/fix/ui/image-upload-logic branch November 14, 2024 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants