Skip to content

Implement ExperimentDecisionPointsTableComponent #2592

@zackcl

Description

@zackcl

Description:
Create a table component to display experiment decision points in the experiment details page Design tab.

Requirements:

  • Display decision points from experiment.partitions array
  • Columns:
    • Site: Display decisionPoint.site
    • Target: Display decisionPoint.target
    • Exclude If Reached: Display decisionPoint.excludeIfReached as a checkbox (read-only for now)
    • Actions: Edit and Delete icon buttons
  • Data Source: Get decision points from experiment.partitions where experiment is the selected experiment from the experiments service
  • Actions:
    • Edit button: Log action for future implementation of edit decision point modal
    • Delete button: Log action for future implementation of delete confirmation modal
  • Empty State: Show "No decision points defined. Experiments require at least one decision point." when no data
  • Loading State: Show loading spinner when experiment data is being fetched

Acceptance Criteria:

  • Table displays all decision points from experiment.partitions
  • All required columns are displayed with correct data
  • Edit/Delete actions are clickable and log appropriate messages
  • Empty state message is shown when no decision points exist
  • Loading state is handled properly
  • Component follows existing patterns and uses OnPush change detection

Screenshot:
Image

Figma link:
https://www.figma.com/design/SN58AVPDU5DMO5WP2COt5Y/UpGrade-UI-Latest-28--Refinement-?t=zQdZ1BRm5SLNqqhV-1

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done for Release

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions