1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00
unleash.unleash/frontend/src/component/strategies
Gastón Fournier 4dd4d43cce
chore: remove deprecated strategies and allow deprecate default (#3575)
## About the changes
Improvements around strategies to steer users toward using [strategy
constraints](https://docs.getunleash.io/reference/strategy-constraints)
instead of [custom
strategies](https://docs.getunleash.io/reference/custom-activation-strategies)


Related to #1265 

Important changes:
1.[ Ability to deprecate default
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-3b49e566565b01580ff7a15f662d2cb824547fdfb3935d0a0baa7fae326d28d6L232-L235)
2. [Remove strategies that were deprecated in v4 only if they're not
used](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R7-R10)
3. [Fresh Unleash installations will not include deprecated strategies
from
v4](https://github.com/Unleash/unleash/pull/3575/files#diff-46265b0d51725a5acbf251589b98a8970e45d3a1c6f3d7ea77bdcc3714e672d8L31-L78)
4. [Deprecate userWithId
strategy](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R13)
(note: if in use it will continue to work, it'll be not listed when
selecting strategies for a feature toggle).
5. [Switch the order of strategies to make gradual rollout first and
change the comment to suggest using gradual rollout instead of other
existing
strategies](https://github.com/Unleash/unleash/pull/3575/files#diff-a04de7adf327c48d54b030bed70d9b1d62ff14df3efc668eb6897a210124ebe0R16-R18)
2023-04-21 11:42:36 +02:00
..
CreateStrategy refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
EditStrategy refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
hooks refactor: clean up strategy parameter types (#944) 2022-05-04 15:16:34 +02:00
StrategiesList chore: remove deprecated strategies and allow deprecate default (#3575) 2023-04-21 11:42:36 +02:00
StrategyForm feat: dark theme v1 (#3298) 2023-03-22 16:37:40 +02:00
StrategyView fix: remove toggles using this strategy (#3022) 2023-01-31 09:02:24 +02:00
TogglesLinkList refactor: improve tooltip styles after MUI update (#966) 2022-05-09 15:17:20 +02:00
strategies.module.scss Feat/material UI (#250) 2021-03-30 15:14:02 +02:00