Unleash/unleash

Archived toggles are always displayed as active

Nezz opened this issue · 0 comments

Nezz commented

Describe the bug

When a feature toggle is archived, it is always displayed as active:
Screenshot 2023-07-21 at 17 24 23

Steps to reproduce the bug

  1. Create a feature toggle that is disabled in all environments:
Screenshot 2023-07-21 at 17 24 15 2. Archive it

Expected behavior

The project archive has a "State" column which has the value "Active" for all the feature toggles we have archived over the years. This is highly confusing because the feature toggles are actually inactive once archived.

Possible solutions:

  1. Drop the state column
  2. Hardcode the state column to "Inactive"

I was told that "What you're seeing in the UI is the state the toggle will get if revived". This however is confusing to our employees. If it is really meant to show that then it should be phrased that way and updated to support environments.

Logs, error output, etc.

No response

Screenshots

No response

Additional context

No response

Unleash version

5.2.8

Subscription type

Enterprise

Hosting type

Hosted by Unleash

SDK information (language and version)

No response