posthog icon indicating copy to clipboard operation
posthog copied to clipboard

API Paginated feature flag list

Open EDsCODE opened this issue 2 years ago • 1 comments

Is your feature request related to a problem?

Please describe.

Describe the solution you'd like

  • paginate the list of feature flags on the backend

Describe alternatives you've considered

  • keep the frontend pagination

Additional context

  • not a high volume of feature flags at the moment but future proofing would require api based pagination

Thank you for your feature request – we love each and every one!

EDsCODE avatar Sep 13 '22 14:09 EDsCODE

Paginated API list views are such a common pattern throughout the app, that we could benefit from having a shared abstraction between e.g. feature flags, insights, annotations, etc. This could take the shape of a paginatedLoader() kea logic builder, which would automatically keep track of the pagination counts, next URLs, etc.

mariusandra avatar Sep 15 '22 09:09 mariusandra