Skip to content

Conversation

@gusfcarvalho
Copy link
Contributor

No description provided.

Signed-off-by: Gustavo Carvalho <gustavo.carvalho@container-solutions.com>
Copilot AI review requested due to automatic review settings January 17, 2026 00:49
Copy link
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

This PR fixes an issue where dashboard evidence entries with duplicate titles were showing multiple times in the dropdown selector. The fix introduces deduplication logic to show each unique title only once, while still allowing users to filter across all evidence entries with the same title using label conditions.

Changes:

  • Added deduplication logic for evidence titles in the dropdown selector
  • Refactored label filtering to work across all evidence entries sharing the selected title
  • Improved type safety in TooltipIcon component by changing from any to Component

Reviewed changes

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

File Description
src/views/control-implementations/partials/ControlStatementImplementation.vue Implements deduplication of evidence titles in dropdown and updates label filtering logic to work with all entries sharing the selected title
src/components/TooltipIcon.vue Improves type safety by replacing any type with Component type and removes unused props variable assignment

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

@gusfcarvalho gusfcarvalho enabled auto-merge (squash) January 17, 2026 00:52
@gusfcarvalho gusfcarvalho merged commit 00f311c into main Jan 17, 2026
9 checks passed
@gusfcarvalho gusfcarvalho deleted the gc-fix-dashboard-uniqueness branch January 17, 2026 01:02
@github-actions
Copy link

🧹 ESLint Report

Status Count
❌ Errors 0
⚠️ Warnings 0

Linting completed automatically by CI.

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.

1 participant