-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNTOR-2182/deprecate feature flags #4438
Conversation
On an internationalization note: first+middle+last is a concept bound to create issues somewhere, just asking for a name might be easier. Middle name is a foreign concept even in most Western countries. |
Thanks, I actually only had this for demo purposes and didn't mean to have it in this PR (@flozia is working on the actual implementation of this). I would prefer we didn't have separate name fields too, it's something that the provider requires in this case unfortunately. |
@rhelmer How would you feel about us removing the feature flag UI and infra altogether? Instead, to test locally, you could modify the |
…-feature-rollout
OK sorry I missed this comment, yes I think we could do this. Ideally I'd like to have a |
@Vinnl I went ahead and changed the remit of this PR, it's now about deprecating feature flags. I think we need to do it in stages though since we have features shipped right now and also in review that are behind flags, let's land the cleanup and simplification of the UI (plus the delete button), and I can mark the code as deprecated. We already have a tech debt ticket to remove feature flags, so we can finalize it and remove all flags from the DB. After that's all done, we can remove the feature flag code. We might want to leave the |
Changing the purpose of this PR slightly, going to wait for #4443 to land and will rebase on top of that. This will simplify the feature flag UI and mark feature flags as deprecated, and some small related cleanup. |
src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/page.tsx
Show resolved
Hide resolved
…-feature-rollout
…llout' into MNTOR-2182/add-nimbus-feature-rollout
…llout' into MNTOR-2182/add-nimbus-feature-rollout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice to have the deletion now too, makes it a bit cleaner. I'd maybe check with QA that they're not using the allowlist still though, just in case we're blocking their work for existing feature-flagged features.
...roper_react)/(redesign)/(authenticated)/admin/feature-flags/components/DeleteFeatureFlag.tsx
Outdated
Show resolved
Hide resolved
src/app/(proper_react)/(redesign)/(authenticated)/admin/feature-flags/page.tsx
Outdated
Show resolved
Hide resolved
I don't think we need the allow list for any features that are in-flight or planned, we needed it for Plus but in general I think we can just enable everything on stage. I'll add it back if I'm wrong, I just removed from UI but left the API and DB parts alone :) |
…e-flags/components/DeleteFeatureFlag.tsx Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
…e-flags/page.tsx Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
…-feature-rollout
References:
Jira: MNTOR-2182
Description
How to test
The feature flag UI now allows removing flags, which doesn't actually delete them but sets the
deleted_at
column in the database. Flags can be re-added.Checklist (Definition of Done)