Skip to content

Comments

feat: disable health score for archived projects#1684

Merged
emlimlf merged 4 commits intomainfrom
feat/archived-proj-state
Feb 19, 2026
Merged

feat: disable health score for archived projects#1684
emlimlf merged 4 commits intomainfrom
feat/archived-proj-state

Conversation

@emlimlf
Copy link
Collaborator

@emlimlf emlimlf commented Feb 18, 2026

In this PR

  • Disabled the health score for archived projects
  • Changed the empty message if the project is archived

Ticket

IN-972

Signed-off-by: Efren Lim <elim@linuxfoundation.org>
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 updates the Project Overview health score UI to treat fully-archived selections and archived projects consistently by hiding health score tabs and showing an archived-focused empty state message.

Changes:

  • Introduces an isArchived computed flag (based on allArchived or project.status === 'archived') to disable health score content for archived projects.
  • Updates the trust-score empty state title/description to distinguish between an archived project vs archived repositories.

Reviewed changes

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

File Description
frontend/app/components/modules/project/views/overview.vue Hides score tabs when the project (or all selected repos) is archived via new isArchived computed.
frontend/app/components/modules/project/components/overview/trust-score.vue Uses isArchived to suppress health score UI and replaces archived empty state copy with computed title/description.

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

Signed-off-by: Efren Lim <elim@linuxfoundation.org>
@emlimlf emlimlf merged commit 6d042fa into main Feb 19, 2026
9 checks passed
@emlimlf emlimlf deleted the feat/archived-proj-state branch February 19, 2026 09:07
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.

2 participants