Flagsmith / Flagsmith/flagsmith

Always show "protected" tag as a choice when editing tags

Open
#4,031 12 comments 0 reactions 0 assignees View on GitHub
api
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

### Is your feature request related to a problem? Please describe.

When editing a feature, users can add a "protected" tag to prevent it from being deleted:

![image](https://github.com/Flagsmith/flagsmith/assets/829698/9c6d3d12-7ec4-4e70-a223-37a50c38f4c9)

However this tag needs to be manually added by users, which is error prone and reduces the visibility of this feature.

![image](https://github.com/Flagsmith/flagsmith/assets/829698/3efae0ba-c4b4-43cf-9d6e-b774396e9588)

It should be presented as a choice without requiring user intervention.

### Describe the solution you'd like.

The "protected" tag should always be available as an option in the tag dropdown.

I would also suggest moving the tooltip that describes how to prevent deletion next to the "protected" tag in the same dropdown, to make it clear that this is a built-in tag with special meaning.

While we're editing this screen, I would also remove the "(optional)" qualifier from the Tags and Description fields. None of the other fields in this screen are mandatory and they are not marked as optional, so it just adds noise:

![image](https://github.com/Flagsmith/flagsmith/assets/829698/e200d29f-5801-47c4-88ba-a7f425d4ad33)

### Describe alternatives you've considered

N/A

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.