Preserve the selected items across multiple uses of the media library

Created on 18 March 2019, over 6 years ago
Updated 13 September 2023, almost 2 years ago

Problem/Motivation

In reviewing #3023797-78: Let users choose what to do after selecting and/or adding items in the media library β†’ , @webchick had this to say:

If you select, say, 3 media, then go back and select, say, 2 media... the media library will only show you the two you just selected, not the 5 you've selected altogether. My spidey sense says that might be confusing for people, and could also cause them to accidentally select the same image twice, since they can't see the already-inserted images when the dialog is up in their face. (In fairness, @SeanB did point out that there could be a use case for inserting the same media item twice, such as filling up a carousel, or promoting a particular ad multiple times... but it feels like it's more often you'd do this by accident, and maybe we move the ability to select an image twice to a contrib module for those who need it).

The ability to reference the same thing multiple times in one field is a built-in part of all entity reference fields, so this bears some further discussion (and possibly implementation, depending).

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

None.

Release notes snippet

TBD

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

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

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Let me add, that I think we don't only need the 1 of 1 selected text, but also need to know what has been selected, for example by giving a preview. And you should be able to deselect in the widget. Otherwise it's hard to find how to remove the selection again.

Production build 0.71.5 2024