stuttter / wp-media-categories

Categories for media & attachments
GNU General Public License v2.0
25 stars 7 forks source link

Feature Request: Add checkboxes for category selection #4

Open nepa opened 4 years ago

nepa commented 4 years ago

The plug-in uses different user controls to define categories of an image in the media library.

1. Media library in list view

Open media library of WordPress and select list view option.

List view in media library

Now click any image in the library and it will open in detail. For category assignment, the plug-in now displays a couple of checkboxes to select the desired categories. This works fine and this is what I would expect.

Category picker in list view

2. Media library in tile view

However, I don't use the list view. I rather select the tile view in media library.

Tile view in media library

Now it I click an image, it opens in a dialog that does not have checkboxes for category selection. There simply is a text field that I have to enter the desired category. Furthermore, there is an additional input field 'Image link' that I don't even know, what it is used for. Text fields for category selection are very bad in terms of usability.

Category input field in list view

So my question is: Why does the plug-in not use checkboxes here for category selection as well? This would improve usability and is less error-prone than text fields. The same applies to the 'Add media' dialog in posts. There, we also have text fields instead of checkboxes.

This is a no-go for me. I really like the idea of the plug-in, but I cannot use it in my WordPress installations, when there are text fields to define media categories.

JJJ commented 4 years ago

Why does the plug-in not use checkboxes here for category selection as well?

This is largely due to a lack of an existing UI inside of WordPress to easily leverage.

I'd love for something better to exist there, maybe with inspiration from Quick Edit (or some other place).

nepa commented 4 years ago

Meanwhile, I figured out that the 'Image Link' property was created by a different plug-in. I just never noticed it, until installing the wp-media-categories extension.

Still I wonder, though, why there is no proper UI in one place, when the same component exists in another place. Can you not simply reuse the checkbox user control from the list view (second screenshot)?

JJJ commented 4 years ago

Can you not simply reuse the checkbox user control from the list view (second screenshot)?

Unfortunately not easily, because that is part of a different API (meta-boxes.)