https://www.growthbook.io/ logo
b

blue-ghost-765

05/24/2022, 5:22 PM
Hey guys, is there a way to
archive
features. So you have a record of every feature. This would obviously be a logical delete, and the full delete is to get rid of any unnecessary junk.
f

fresh-football-47124

05/24/2022, 5:23 PM
Hi Donnovan, that's a good idea
f

future-teacher-7046

05/24/2022, 5:24 PM
If you toggle the feature off, it won't be returned in API responses so it kind of acts like an Archive.
f

fresh-football-47124

05/24/2022, 5:24 PM
you can use the.. ya
b

blue-ghost-765

05/25/2022, 5:16 PM
Thanks guys. It seems like using the toggle is using something for unintended purposes. I could see scenarios where you may want to toggle off the flag due to issues in an environment, but it's not "archived" it's off for emergency purposes. Archived features would maintain all the history of the feature but remove it from api response and main interface. Other systems I have used offer "archive" (logical delete) functionality, then once you archive, you have the choice to "delete" (physical delete).
When a flag is no longer being served to users, and it is not a prerequisite of other flags, it may be time to archive it. Archiving a flag retires it without deleting it. You can restore an archived flag if you need it, or find it to reference its configuration later.
Flags are good candidates for archival when they are serving only one variation in the environment you choose and have not been requested in the last seven days.
You can delete an archived flag after you determine that it will no longer be needed in your project.
f

fresh-football-47124

05/25/2022, 5:19 PM
what is that from?
b

blue-ghost-765

05/25/2022, 5:19 PM
I hesitate to share competitor links when I want to support a new project 😛
f

fresh-football-47124

05/25/2022, 5:20 PM
heh
no worries
b

blue-ghost-765

05/25/2022, 5:20 PM
But ya, it's LaunchDarkly
f

fresh-football-47124

05/25/2022, 5:20 PM
but yes, I agree with the concept there
b

blue-ghost-765

05/25/2022, 5:21 PM
Not a show stopper, but definitely a nice to have. Possibly this should have ended up in #feedback but I wasn't sure if it was possible to right now or if it was in the backlog.
f

fresh-football-47124

05/25/2022, 5:21 PM
I'll add it to our backlog
🙌 1
25 Views