You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: ArgoCD instances list and detail pages - #364
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
New Features
Added an Argo CD Instances page with search, status and label filtering, sorting, pagination, and configurable columns.
Added instance details and YAML views, including status, version, SSO, notifications, RBAC, and managed-component health.
Added actions to edit labels and annotations, edit YAML, and delete instances.
Added a default Argo CD configuration template and navigation entry.
Documentation
Added a guide to browsing and managing Argo CD instances.
Localization
Added Argo CD-related labels and messages across supported languages.
The GitOps Console adds ArgoCD instance list and details pages, status filtering, resource actions, and YAML editing. The change also adds console registrations, a default YAML template, locale strings, and user documentation.
Changes: ArgoCD Instance Management
Layer / File(s)
Summary
ArgoCD resource contract and YAML template src/gitops/models/ArgoCDModel.ts, src/gitops/templates/argocd-yaml.ts, src/gitops/templates/index.ts
The model adds optional ArgoCD spec and status fields and exports a model reference. A default ArgoCD YAML template is added and exported.
The list watches ArgoCD instances and renders sortable, paginated results with status filters, configurable columns, age values, and per-instance actions. Tests cover status-filter helpers and column configuration.
Instance details and resource actions src/gitops/components/argocd/ArgoCDDetailsPage.tsx, src/gitops/components/argocd/ArgoCDNavPage.tsx, src/gitops/components/argocd/ArgoCDDetailsTab.tsx, src/gitops/components/argocd/ArgoCDDetailsTab.test.tsx, src/gitops/components/argocd/hooks/useArgoCDActionsProvider.tsx
The details route loads an ArgoCD resource and provides Details and YAML tabs. The details view shows configuration and managed-component statuses. Resource actions support label, annotation, and YAML edits, and deletion.
Console registration, documentation, and locales console-extensions.json, plugin-metadata.ts, docs/argocd-instances.md, docs/_sidebar.md, locales/*/plugin__gitops-plugin.json
Console extensions register the ArgoCD navigation entry, pages, and YAML template. Plugin metadata exposes the list and details modules. Documentation describes the pages, and locale catalogs add related strings and reorganize existing entries.
sequenceDiagram
participant ArgoCDDetailsPage
participant ArgoCDNavPage
participant ResourceWatch
participant DetailsTab
ArgoCDDetailsPage->>ArgoCDNavPage: Pass name, namespace, and kind
ArgoCDNavPage->>ResourceWatch: Watch the specified ArgoCD resource
ResourceWatch->>ArgoCDNavPage: Return resource and loading state
ArgoCDNavPage->>DetailsTab: Render details tab with resource
Loading
Merge Risk: Minimal · up to b5c3e
This change adds ArgoCD instance list and details pages with status filtering, actions, and documentation. No concrete merge-blocking risk was identified in the supplied review context.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title 'feat: ArgoCD instances list and detail pages' matches the main change. The changeset adds ArgoCDList, ArgoCDListTab, ArgoCDDetailsPage, ArgoCDDetailsTab, ArgoCDNavPage, status filters, docs…
Description check
The description links the prototype and lists deferred items (App count, Applications tab, CPU/Memory/Cluster connectivity). It also notes that dateUtils.tsx was copied from PR #349 and includes scree…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title 'feat: ArgoCD instances list and detail pages' matches the main change. The changeset adds ArgoCDList, ArgoCDListTab, ArgoCDDetailsPage, ArgoCDDetailsTab, ArgoCDNavPage, status filters, docs, and locale strings for the ArgoCD list and details pages.
Full details: Description check
Explanation
The description links the prototype and lists deferred items (App count, Applications tab, CPU/Memory/Cluster connectivity). It also notes that dateUtils.tsx was copied from PR #349 and includes screenshots. These details relate directly to the changeset.
Warning
Some tools did not complete. Review the errors below.
ESLint
ESLint analysis is incomplete because its dependency install exceeded the time available for this review.
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: afcb8a3c-5726-4ed8-9611-0bfee23e4893
Commits
Reviewing files that changed from the base of the PR and between f4b3405 and b5c3e95.
Files skipped from review as they are similar to previous changes: 1
docs/argocd-instances.md
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
❌ Patch coverage is 19.66667% with 241 lines in your changes missing coverage. Please review.
✅ Project coverage is 16.00%. Comparing base (3bd1dab) to head (b5c3e95). ⚠️ Report is 123 commits behind head on main.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
locales/es/plugin__gitops-plugin.json-141-142: 1
141-142: Major · Functional Correctness · Heavy lift
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Translate the new instance-page messages.
The Spanish, French, Japanese, Korean and Chinese catalogs use English for many new messages. These include actions, empty states and error recovery instructions. Users who cannot read English may not be able to navigate or recover from errors on these pages. Translate the new messages in all five catalogs.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 1b82ee15-35b1-4fda-b610-4f0cba5c2db8
Commits
Reviewing files that changed from the base of the PR and between 827e20e and f4b3405.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See prototypes: https://openshift-platform-prototype.vercel.app/gitops/argocd
App counton the list page,Applicationson the details page will be added later together withApplicationsandApplicationSetstabs.CPU, Memory, Cluster connectivityon the details page will be added separatelly.Statuson the list page shows based onargocd.status.phasesrc/gitops/components/shared/dateUtils.tsxcopied from feat: align ImageUpdater pages with prototypes #349