redhat-developer / redhat-developer/rhdh-plugins
Ingestion Health Admin UI and Disconnected-Cluster View (issue 26 of 29)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 48
- Forks
- 120
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 337
Description
Labels: ready-to-code
Depends on: Issue 3 (#4041 — defines ai-catalog.admin permission), Issue 5 (#4043 — health API, error classification)
RHIDP Stories: RHIDP-15336, RHIDP-15339
Feature: RHDHPLAN-1513 — Epic RHIDP-15331
Implement IngestionHealthPanel.tsx with per-connector health cards (PatternFly Card/Label), status badges (healthy/degraded/failing/disabled), timestamps, error summaries with diagnostic guidance, "Force Sync" buttons, disabled connector visual treatment (grey badge, no error indicators), disconnected-cluster differentiation, and health data polling via useSWR with 30s refresh. Includes Force Sync backend routes, connector provider integration, and RBAC gating for the health API endpoint (deferred from Issue 5).
Tasks
From openspec/changes/ingestion-health-dashboard/tasks.md group 4 (RHIDP-15336, RHIDP-15339):
- 4.1 Create
IngestionHealthPanel.tsxcomponent - 4.2 Implement health card rendering with PatternFly components
- 4.3 Add status badge rendering (success/warning/danger/outline variants)
- 4.4 Add timestamp rendering with
react-time-ago - 4.5 Add sync metrics display
- 4.6 Add error summary section with diagnostic guidance
- 4.7 Add "Force Sync" button with disabled state during run
- 4.8 Implement disabled connector visual treatment (RHIDP-15339)
- 4.9 Add loading state
- 4.10 Add error state
- 4.11 Add empty state
- 4.12 Implement health data polling via
useSWRwith 30s refresh - 4.13 Add responsive grid layout (PatternFly
Gallery)
From openspec/changes/ingestion-health-dashboard/tasks.md group 6 (RHIDP-15335, RHIDP-15336):
- 6.1 Implement
POST /api/boost/ingestion-health/:connectorId/force-syncroute - 6.2 Add connector run state registry
- 6.3 Implement concurrent Force Sync prevention (409 if already running)
- 6.4 Implement Force Sync trigger
- 6.5 Add Force Sync timeout wrapper
- 6.6 Implement status polling route
- 6.7 Add Force Sync UI polling
- 6.8 Add Force Sync error handling in UI
- 6.9 Add Force Sync integration tests
From openspec/changes/ingestion-health-dashboard/tasks.md group 7:
- 7.1–7.6 Connector provider integration (health tracking hooks in GitHub/GitLab/Jira providers, sync metrics, error capture)
From openspec/changes/ingestion-health-dashboard/tasks.md group 8:
- 8.1–8.4 Navigation integration (sidebar item, route, active state highlighting, pattern consistency)
Specifications
openspec/changes/ingestion-health-dashboard/specs/admin-health-ui/spec.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with openspec/changes/ingestion-health-dashboard/specs/admin-health-ui/spec.md and tasks.md, then inspect the existing plugin entry points for the IngestionHealthPanel.tsx component, API routes, providers, and navigation. Break the work into the listed UI, Force Sync, provider, RBAC, and navigation groups; it is done when the health dashboard, routes, integrations, polling, and integration tests satisfy those tasks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, gitlab, react, typescript
- Domain
- api, authorization, backend, frontend, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100