Skip to content

Commit draft segment change requests #5771

Description

@emyller

User story:

As a dashboard user, while reviewing a change request, I can approve and publish (commit) the changes proposed in segments.

We need to replace the existing logic for publishing segment changes so that it will:

  • Make a copy of the live segment for historical purposes with a new Segment.clone method, and get rid of SegmentCloneService and existing Segment.*clone methods entirely. The new function must create a revision of the segment, as well as its nested rules and conditions.
  • Overwrite attributes of segments, then replace all nested rules and conditions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiIssue related to the REST API

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions