Flagsmith / Flagsmith/flagsmith

Streamline segment mutations in the frontend

Open
#7,819 2 comments 0 reactions 0 assignees View on GitHub
api front-end
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Move the normal segment edit flow to full-replace semantics. Drop the `delete: true` convention both from frontend and backend.

### Acceptance criteria

- Removing a rule or condition in the editor omits it from the request body; no entry carries `delete: true`.
- `SegmentRule` and `SegmentCondition` types no longer carry `id`.
- Editing a segment work against the id-free API.
- API does not expect `delete: true` anymore.
- The change request segment diff renders unchanged.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.