w3c / w3c-website

W3C Website feedback and bug reports
https://www.w3.org/
236 stars 76 forks source link

Taxonomies: impossible to "add a category" to a Blog post when one category is in use #445

Open koalie opened 11 months ago

koalie commented 11 months ago

Describe the issue In the "taxonomies" tab of a blog entry, only one category can be selected, but the interface shows a "add a category" button, and the flow to do so is the same as though it were possible to add a second (or more) category/ies. Then it fails silently: the added category/ies is/are not displayed, no error message is displayed either.

If we have opted to use just one category per blog post, then the button should not be visible or be greyed out. If multiple categories can be selected per entry, then it's a bug.

To reproduce In a blog post "taxonomies" tab, the button "+ add a category" appears whether or not a category has been selected. Clicking it conjures a pop-in window which shows a list of possible categories. If a category has already been selected, this category is greyed out. Multiple categories can be selected (by pushing the command key on mac OS), then click the red "select" button. The pop-in disappears. If no category was previously applied, and if several are selected from the pop-in, only the last one the user selected is applied. If a category was previously applied, nothing changes.

vivienlacourba commented 11 months ago

If we have opted to use just one category per blog post, then the button should not be visible or be greyed out. If multiple categories can be selected per entry, then it's a bug.

As far as I remember the limit of one category only is a design decision, so I agree with @koalie that the button should not be present/active.