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: Filter versioned features #3756

Merged
merged 8 commits into from
Apr 26, 2024
Merged

Conversation

zachaysan
Copy link
Contributor

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

Fixes #3243

Replace the existing mechanism of filtering feature states with a new one that preselects fewer models and runs a slimmed down filter step to select features based on their most recent version.

How did you test this code?

Added a versioned section to an existing test and ensured that the most recent version is selected.

Copy link

vercel bot commented Apr 11, 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 Apr 25, 2024 1:18pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2024 1:18pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 25, 2024 1:18pm

Copy link
Contributor

github-actions bot commented Apr 11, 2024

Uffizzi Preview deployment-49977 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (507080e) to head (4f5e246).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3756   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files        1126     1126           
  Lines       35786    35793    +7     
=======================================
+ Hits        34342    34350    +8     
+ Misses       1444     1443    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kyle-ssg
Copy link
Member

@zachaysan feel free to turn on the feature_enabled_state_filter flag when this is in 🚀

@kyle-ssg kyle-ssg linked an issue Apr 18, 2024 that may be closed by this pull request
@kyle-ssg kyle-ssg removed a link to an issue Apr 18, 2024
@matthewelwell matthewelwell removed their request for review April 23, 2024 13:11
@zachaysan zachaysan added this pull request to the merge queue Apr 26, 2024
Merged via the queue into main with commit 686e1ab Apr 26, 2024
22 checks passed
@zachaysan zachaysan deleted the fix/filter_versioned_features branch April 26, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter flags in dashboard based on flag state
4 participants