Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: filter out milestone strategies in features_view (#8883)
https://linear.app/unleash/issue/2-3033/filter-out-release-plan-milestone-strategies-from-admin-feature Filters out milestone strategies from our `features_view`. This felt like the most elegant way to address this, since it seems we only rely on this view to fetch the feature strategies in the admin UI. ### No more milestone strategies showing up on our UI when we have a running milestone ![image](https://github.com/user-attachments/assets/02bac5a5-7ddb-4bde-b487-8b6bca0923b5) ### However they're still part of the client features response ```json { "name": "r-plan", "type": "release", "enabled": false, "project": "default", "stale": false, "strategies": [ { "name": "flexibleRollout", "constraints": [ { "values": [ "Portugal" ], "inverted": false, "operator": "IN", "contextName": "country", "caseInsensitive": false }, { "values": [ "Portugal", "Norway" ], "inverted": false, "operator": "IN", "contextName": "country", "caseInsensitive": false } ], "parameters": { "groupId": "newOverview", "rollout": "100", "stickiness": "default" }, "variants": [ { "name": "A", "weight": 500, "stickiness": "default", "weightType": "variable" }, { "name": "B", "weight": 500, "stickiness": "default", "weightType": "variable" } ] }, { "name": "flexibleRollout", "constraints": [], "parameters": { "groupId": "much_feature", "rollout": "25", "stickiness": "default" }, "variants": [] }, { "name": "flexibleRollout", "constraints": [], "parameters": { "groupId": "r-plan", "rollout": "100", "stickiness": "default" }, "variants": [] } ], "variants": [], "description": null, "impressionData": false }, ```
- Loading branch information