Preview link accidentally closes the media library

Created on 29 July 2020, almost 4 years ago
Updated 5 June 2024, 21 days ago

Problem/Motivation

Image is removed from form when using Preview button with Media Library.

Steps to reproduce

  1. Add a mew media item by clicking "Add media"
  2. Upload a new image and see the thumbnail with the Preview link under it
  3. Click Preview link to see previews modal
  4. Close modal - the result is that the image that was once there is now gone.

Screencast:

https://gyazo.com/7327c096ef470e31c6348cac9ad463b5

Proposed resolution

Image should be preserved. Or give the ability to suppress the Preview button in configuration.

Remaining tasks

n/a

User interface changes

If underlying issue cannot be fixed, give us an option to hide the Preview link in configuration.

API changes

n/a

Data model changes

n/a

Release notes snippet

n/a

🐛 Bug report
Status

Fixed

Version

2.0

Component

Media Integration

Created by

🇺🇸United States capellic Austin, Texas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024