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

Story 59: User sees warning when deleting image if it's used on storefront #1310

Closed
tkacheva opened this issue Apr 30, 2020 · 1 comment · Fixed by #1401
Closed

Story 59: User sees warning when deleting image if it's used on storefront #1310

tkacheva opened this issue Apr 30, 2020 · 1 comment · Fixed by #1401

Comments

@tkacheva
Copy link

tkacheva commented Apr 30, 2020

Story

As a Merchant I want to see a warning that image I delete is used on storefront so that I don't accidentally corrupt storefront content

Business Value

no broken content due to accidentally removed asset

Preconditions

  • Admin User is logged into Admin Panel
  • Admin User views images in Media Gallery

Acceptance Criteria

  • User selects image and start deleting it.
  • USer sees a warning message, if image is used somewhere on storefront. Warning message communicates how many times the asset is used in catalog, content and marketing areas. User has option to view and manage the asset usage before deleting it. I
  • User confirms deleting the asset, asset and all its renditions removed from media storage and DB records

image

@sivaschenko sivaschenko added this to the 2.1.0 - Part 1 milestone May 5, 2020
@sivaschenko
Copy link
Member

sivaschenko commented May 25, 2020

Single task: check if image is used on attempt to delete an image and show the usage in the warning

  • New request to the server before deletion confirmation
  • Controller and model
  • Support multiple image deletion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants