Skip to content

allow target to be empty; update displays#3111

Open
bcb37 wants to merge 4 commits into
devfrom
feature/2513-target-optional-2
Open

allow target to be empty; update displays#3111
bcb37 wants to merge 4 commits into
devfrom
feature/2513-target-optional-2

Conversation

@bcb37
Copy link
Copy Markdown
Collaborator

@bcb37 bcb37 commented May 11, 2026

No description provided.

Co-authored-by: Copilot <copilot@github.com>
@bcb37 bcb37 requested a review from Copilot May 11, 2026 19:16
@bcb37 bcb37 linked an issue May 11, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates decision point handling to allow an empty target and refreshes UI/export labeling to reflect “Decision Point” terminology, including consolidated site/target displays.

Changes:

  • Make the decision point target optional in the upsert modal (remove required validation and adjust validation flow).
  • Update decision point displays across experiment details views to show site plus optional target in a single column/value.
  • Adjust copy/labels (i18n strings and CSV export header) from “Site(s)” to “Decision Point(s)”.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/frontend/projects/upgrade/src/assets/i18n/en.json Updates English labels from “Site(s)” to “Decision Point(s)”.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-payloads-section-card/experiment-payloads-table/experiment-payloads-table.component.ts Consolidates decision point display into a single site (target) string.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-payloads-section-card/experiment-payloads-table/experiment-payloads-table.component.html Renders the consolidated decision point display in one cell.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-payloads-section-card/experiment-payloads-table/experiment-payloads-table.component.scss Removes styling for the previous two-line stacked display.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-over-time/enrollment-over-time.component.ts Switches partition filter option metadata from twoCharacterId to target and adds a display helper.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-over-time/enrollment-over-time.component.html Uses the new partition display helper in the filter dropdown.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-condition-table/enrollment-point-partition-table/enrollment-point-partition-table.component.ts Removes the separate “target” column from enrollment partition tables.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-condition-table/enrollment-condition-table.component.ts Consolidates partition display into one field (site (target)).
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-condition-table/enrollment-condition-expandable-row/enrollment-condition-expandable-row.component.ts Removes the separate “target” column header wiring.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-enrollment-data-section-card/enrollment-condition-table/enrollment-condition-expandable-row/enrollment-condition-expandable-row.component.scss Adjusts column sizing rules after removing a column.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-decision-points-section-card/experiment-decision-points-table/experiment-decision-points-table.component.ts Collapses site/target into a single “Decision Point” column and adds a display helper.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-decision-points-section-card/experiment-decision-points-table/experiment-decision-points-table.component.html Renders consolidated decision point text in a single column.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/pages/experiment-details-page/experiment-details-page-content/experiment-decision-points-section-card/experiment-decision-points-table/experiment-decision-points-table.component.scss Updates column widths for the new single-column layout.
packages/frontend/projects/upgrade/src/app/features/dashboard/experiments/modals/upsert-decision-point-modal/upsert-decision-point-modal.component.ts Removes required validation for target and relaxes empty-target handling.
packages/frontend/projects/upgrade/src/app/core/experiments/store/experiments.model.ts Updates ExperimentPartitionFilterOptions to carry target instead of twoCharacterId.
packages/backend/src/api/services/AnalyticsService.ts Renames the exported CSV “Site” header to “Site (Decision Point)”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 16 changed files in this pull request and generated 3 comments.

Comment thread packages/backend/src/api/services/AnalyticsService.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@bcb37 bcb37 requested review from danoswaltCL and zackcl May 11, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make target optional

2 participants