-
Notifications
You must be signed in to change notification settings - Fork 334
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
Archiving Flags #317
Comments
Since this endpoint is paginated(with page size of 10 and no way for client to change that, although we can enable that) I think we have to implement pagination for this endpoint. |
@kyle-ssg how is the main list of features called from the front end dashboard? Is it doing paging in any way? |
@dabeeeenster @gagantrivedi I remembered this morning (and verified) that we hacked this for production only. Check out app.settings.production, it has this line: REST_FRAMEWORK["PAGE_SIZE"] = 999 |
OK yes lets fix that 🤣 |
Needs Front End @kyle-ssg |
Note: for tech debt I'll be adding page_size=999 as a get param to /projects/:id/features in order to remove the need for the global page_size param. (Done in #357) |
Frontend tested on staging and pushed live under the flag archive_flags #356 |
Archived flags should be hidden by default. Archiving flags on staging works but they are still showing in the default list. |
And if you select archived does it show an additional 2 flags? |
Nothing in JS console |
Ok, that only happens in the case where no tags are selected , fixed here #367 |
@dabeeeenster safe to close? |
Overview
We have had feedback that admin users often want to tidy up/clear up old flags, but are worried about removing the flag from SDK API requests (due to aspects like old Mobile app versions needing old/stale flags).
Proposal
Add an Archive button to the flag modal. Archiving a flag removes it from the default flag list for a project. If an environment has any archived flags, indicate the number here:
e.g.
🚀 Features 9 Archived Flags
The "9 Archived Flags" button would act as a toggle. Clicking on "9 Archived Flags" would toggle showing/hiding the archived flags in the list.
The text was updated successfully, but these errors were encountered: