mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
e065e2a455
## About the changes Segment changes in predata and data columns were both showing the new segments list Adds formatting of what's changed with segments to feature strategy update events, so when a user changes the strategy from using constraints, to using segments instead, it's communicated in event updates results in: admin updated [sample-toggle](http://localhost/projects/default/features/sample-toggle) in project [default](http://localhost/projects/default) by updating strategy Sample Strategy in development constraints from [userId is one of (1,2,3)] to empty set of constraints; segments from empty set of segments to (1) Closes # #4912 ### Important files - `src/lib/services/feature-toggle-service.ts` - Segment changes in preData and data - `src/lib/addons/feature-event-formatter-md.ts` - Formatting segments ## Discussion points This is an SR least effort PR - we should plan a task where we look at how to render this list of segments in a more comprehensible way (it's just rendering ids now) |
||
---|---|---|
.. | ||
__snapshots__ | ||
addon-schema.ts | ||
addon.test.ts | ||
addon.ts | ||
datadog-definition.ts | ||
datadog.test.ts | ||
datadog.ts | ||
feature-event-formatter-md.test.ts | ||
feature-event-formatter-md.ts | ||
index.ts | ||
installation-definition-schema.ts | ||
slack-app-definition.ts | ||
slack-app.test.ts | ||
slack-app.ts | ||
slack-definition.ts | ||
slack.test.ts | ||
slack.ts | ||
teams-definition.ts | ||
teams.test.ts | ||
teams.ts | ||
webhook-definition.ts | ||
webhook.test.ts | ||
webhook.ts |