Skip to content
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

fix(segments): use API query param for feature-specific filter #3431

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Feb 16, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

FE component to resolve #3428

Uses the API query parameter for filtering feature-specific segments added in #3430.

How did you test this code?

Ran the FE locally and verified that the query parameter was being added correctly to the request. Also verified that toggling the filter made the correct new request to the API.

@matthewelwell matthewelwell requested review from a team and kyle-ssg and removed request for a team February 16, 2024 10:40
Copy link

vercel bot commented Feb 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2024 11:03am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2024 11:03am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 16, 2024 11:03am

Copy link
Contributor

github-actions bot commented Feb 16, 2024

Uffizzi Preview deployment-46691 was deleted.

@matthewelwell
Copy link
Contributor Author

NOTE: this cannot be merged until #3430 is merged and released!

@matthewelwell
Copy link
Contributor Author

NOTE: this cannot be merged until #3430 is merged and released!

I've re-added the manual filter for now so that we can merge these PRs independently.

@matthewelwell matthewelwell added this pull request to the merge queue Feb 16, 2024
Merged via the queue into main with commit 86cc3da Feb 16, 2024
21 checks passed
@matthewelwell matthewelwell deleted the fix(segments)/use-api-query-param-for-feature-specific-filter branch February 16, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: segments list pagination doesn't work correctly with large numbers of feature-specific segments
2 participants