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): excessive toasts when generating on canvas #7294

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

psychedelicious
Copy link
Collaborator

Summary

This is needed after a change to image uploading introduced by dnd migration.

  • Add withToast flag to uploadImage util
  • Skip the toast if this is not set
  • Use the flag to disable toasts when canvas does internal image-uploading stuff that should be invisible to user

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 7, 2024
@psychedelicious psychedelicious enabled auto-merge (rebase) November 7, 2024 23:27
- Add `withToast` flag to `uploadImage` util
- Skip the toast if this is not set
- Use the flag to disable toasts when canvas does internal image-uploading stuff that should be invisible to user
@psychedelicious psychedelicious force-pushed the psyche/fix/ui/excessive-toasts branch from 40fbe14 to e7fd710 Compare November 7, 2024 23:28
@psychedelicious psychedelicious merged commit 75acece into main Nov 7, 2024
14 checks passed
@psychedelicious psychedelicious deleted the psyche/fix/ui/excessive-toasts branch November 7, 2024 23:30
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.

2 participants