Skip to content

Make decision points navigate to filtered experiments#3228

Open
zackcl wants to merge 5 commits into
devfrom
feature/3226-clickable-decision-point-filter
Open

Make decision points navigate to filtered experiments#3228
zackcl wants to merge 5 commits into
devfrom
feature/3226-clickable-decision-point-filter

Conversation

@zackcl

@zackcl zackcl commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Resolves #3226

Changes:

  • Make decision point text clickable in the experiment details Decision Points table.
  • Set the Experiments list filter to Decision Point using the clicked site (target) value.
  • Navigate back to the Experiments root page after applying the filter.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR implements Issue #3226 by making decision point values in the Experiment Details “Decision Points” table clickable and using that click to navigate back to the Experiments list with the Decision Point filter pre-populated.

Changes:

  • Adds a clickable decision point control in the decision points table and emits a decisionPointClick event.
  • Handles the emitted click in the section card to set the Experiments list search key/string and navigate to the Experiments root page.
  • Adds unit tests to validate the click emission and the filter/navigation behavior.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
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 Adds a new output/event for decision point clicks and a handler to emit the clicked decision point.
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 Replaces static decision point text with a clickable button that triggers the new click handler.
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 Styles the decision point button to appear as a link.
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.spec.ts Adds a unit test verifying the click emits the expected decision point and format helper output.
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-section-card.component.ts On click, sets the search key/string to Decision Point and navigates back to /home.
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-section-card.component.html Wires the table’s new (decisionPointClick) output to the section card handler.
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-section-card.component.spec.ts Adds a unit test verifying filter setters and navigation are invoked on click.

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 14 out of 14 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 14 out of 14 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 14 out of 14 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 17 out of 17 changed files in this pull request and generated 1 comment.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 17 out of 17 changed files in this pull request and generated no new comments.

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 decision points on experiment details clickable to filter experiments list

2 participants