#1922 Unable to add tags from issue interface
Closed: Fixed 5 years ago Opened 7 years ago by jflory7.

Summary

It is currently not possible to add new tags to an issue directly from the issue UI.

Analysis

The issue I was experimenting against was fedora-reddit-theme#1, for which there are currently no tags defined for the entire project. I had tried directly entering the tag into the issue, but then experienced the same behavior as described in #1793.

I tried using commas, just typing it and going to update the issue, and using the enter key, but each time it resulted in the same behavior (except for the enter key, which is already covered in #1793 ).

Expected behavior

  1. Repo owner clicks "Edit metadata"
  2. Clicks on "Tag" field, types tag of choice, presses enter or clicks "Update"
  3. Refresh page
  4. New tags should appear with the issue

Actual behavior

  1. Repo owner clicks "Edit metadata"
  2. Clicks on "Tag" field, types tag of choice
    • If presses enter: See #1793
    • If clicks "Update": Metadata edit fields close
  3. Refresh page
  4. No tag appears with the issue, but "modified" time does update

So we used to support adding new tags directly from the issue page but we drop this when implementing the colored tags feature as now adding a new tags means picking a color for it as well.

We could see about bringing it back though, no ETA for it.

I am more annoyed by the change in "modified" time when that happens.

@pingou Maybe a possible solution to this is picking a random color and letting a user later go to change the color on their own if they wish? Given the context about colors, I'm really not heartbroken about this, but maybe a helpful dialogue for a repo owner that doesn't have any tags defined is prompting them to create tags for the first time from repo settings.

So we used to support adding new tags directly from the issue page but we drop this when implementing the colored tags feature as now adding a new tags means picking a color for it as well.
We could see about bringing it back though, no ETA for it.

I'm not in favor of bringing this back. Only a project admin should be able to create tags for a project, not just anyone who can update a ticket. I just feel that tag creation belongs in the project settings page, and it has no place when updating issues. That's just my opinion though :)

Maybe we could just not show the tag field if the project hasn't set any

I'm not in favor of bringing this back. Only a project admin should be able to create tags for a project, not just anyone who can update a ticket. I just feel that tag creation belongs in the project settings page, and it has no place when updating issues. That's just my opinion though :)

Has there been any abuse of this feature? IMHO it makes it a lot easier for projects to self-organize if there is not a single point that has to do be available just for managing tags.

Given the recent 5.0 release, I cannot replicate this bug and I am happy to close it as fixed. I also could not reproduce related ticket #1793.

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata