wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
73 stars 27 forks source link

Optimizing keeps loading in edit image view even after webP/next -gen image was created till refresh the page #818

Open Mai-Saad opened 9 months ago

Mai-Saad commented 9 months ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug When click generate webP (or next-gen on avif) for image from the image edit view, optimize loading is kept displayed till we refresh the page

To Reproduce Steps to reproduce the behavior:

  1. on trunk, webP off
  2. upload image
  3. in media library click edit link for image
  4. click generate webp image
  5. optimizing keeps loading

Expected behavior once webp/next-gen is created the generate link change to delete without manual refresh the page

Screenshots If applicable, add screenshots to help explain your problem. Screenshot from 2024-02-26 16-01-48

Additional context Add any other context about the problem here.

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming