8000 Feature flag UI is capped at showing/searching up to 300 flags · Issue #25214 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Feature flag UI is capped at showing/searching up to 300 flags #25214

New issue

Have a question about this project? Sign up for a free GitHub account to open an is 8000 sue 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

Closed
cemerick opened this issue Sep 25, 2024 · 2 comments
Closed

Feature flag UI is capped at showing/searching up to 300 flags #25214

cemerick opened this issue Sep 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working right feature/feature-flags Feature Tag: Feature flags team/feature-flags

Comments

@cemerick
Copy link
cemerick commented Sep 25, 2024

Bug description

The feature flag UI loads a maximum of 300 flags. Managing more flags than this through the API works just fine, but not having the convenient dashboard UI is pretty inconvenient.

This limit is hardcoded here:

loadFeatureFlags: async () => {
const response = await api.get(`api/projects/${values.currentTeamId}/feature_flags/?limit=300`)
return response.results as FeatureFlagType[]
},

How to reproduce

  1. Create more than 300 feature flags.
  2. Attempt to scroll/page through all of them (you can't), or...
  3. Attempt to search for a feature flag that happens to fall on the other side of the 300 LIMIT (nothing will be found)

Additional context

I originally raised this limit in a community question.

Debug info

No response

@cemerick cemerick added the bug Something isn't working right label Sep 25, 2024
@annikaschmid annikaschmid added the feature/feature-flags Feature Tag: Feature flags label Oct 22, 2024
@annikaschmid
Copy link

Discussed internally, we'll probably come up with a better solution for this soon. Slack thread for internal context: https://posthog.slack.com/archives/C07Q2U4BH4L/p1729588008710889

@cemerick thanks for raising this issue 🙏

@havenbarnes
Copy link
Contributor

Fixed with #26041, thanks for raising @cemerick

@github-project-automation github-project-automation bot moved this from In Progress to Done in Feature Flags Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right feature/feature-flags Feature Tag: Feature flags team/feature-flags
Projects
Archived in project
Development

No branches or pull requests

4 participants
0