Skip to content

FLPATH-4773: Reflect change introduced by environment agent to UI - #4464

Open
asmasarw wants to merge 5 commits into
redhat-developer:mainfrom
asmasarw:feature/agents-tab
Open

FLPATH-4773: Reflect change introduced by environment agent to UI#4464
asmasarw wants to merge 5 commits into
redhat-developer:mainfrom
asmasarw:feature/agents-tab

Conversation

@asmasarw

@asmasarw asmasarw commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Replace Providers tab with Agents tab

Removes all Providers-related code and introduces a new Agents tab as the default landing tab in the DCM plugin.

dcm-common

  • Deleted ProvidersApi, ProvidersClient, ProvidersClient.test.ts, and types/providers.ts
  • Added AgentsApi, AgentsClient, AgentsClient.test.ts, and types/agents.ts with types derived from the Agent API OpenAPI spec (v1alpha1): Agent, AgentList, AgentRegistrationRequest, AgentCost, AgentHealthStatus, HeartbeatRequest

dcm (frontend plugin)

  • Replaced providersApiRef / providersRouteRef with agentsApiRef / agentsRouteRef
  • Deleted the pages/providers/ directory (all provider UI components)
  • Added pages/agents/ with:
    • AgentsTabContent — paginated table with health-status filtering and agent registration dialog
    • AgentFormFields — registration form backed by service types fetched live from the Catalog API
    • AgentHealthStatus — status badge component
    • CopyButton — reusable clipboard copy component
    • agentFormTypes — form state, Yup validation, and mapping helpers
  • Updated all translation files (ref.ts, de, es, fr, it, ja) to replace providers.* keys with agents.* keys
  • Updated API report files for both packages
  • Added a changeset (minor bump for both packages)

@rhdh-gh-app

rhdh-gh-app Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

This PR includes changes that affect public-facing API. Please ensure you are adding/updating documentation for new features or behavior.

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-dcm-common workspaces/dcm/plugins/dcm-common minor v1.0.0
@red-hat-developer-hub/backstage-plugin-dcm workspaces/dcm/plugins/dcm minor v1.0.0

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 65.69767% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.61%. Comparing base (c7f1b5d) to head (4e3c549).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4464      +/-   ##
==========================================
- Coverage   58.62%   58.61%   -0.01%     
==========================================
  Files        2547     2547              
  Lines      101638   101630       -8     
  Branches    28588    28569      -19     
==========================================
- Hits        59585    59572      -13     
- Misses      40252    40257       +5     
  Partials     1801     1801              
Flag Coverage Δ *Carryforward flag
adoption-insights 84.55% <ø> (ø) Carriedforward from 555330b
ai-integrations 67.70% <ø> (ø) Carriedforward from 555330b
app-defaults 48.37% <ø> (ø) Carriedforward from 555330b
augment 46.67% <ø> (ø) Carriedforward from 555330b
boost 79.84% <ø> (ø) Carriedforward from 555330b
bulk-import 72.79% <ø> (ø) Carriedforward from 555330b
cost-management 13.55% <ø> (ø) Carriedforward from 555330b
dcm 71.76% <65.69%> (-0.34%) ⬇️
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 555330b
e2e-extensions 62.13% <ø> (ø) Carriedforward from 555330b
e2e-global-header 49.45% <ø> (ø) Carriedforward from 555330b
e2e-homepage 61.11% <ø> (ø) Carriedforward from 555330b
e2e-intelligent-assistant 46.68% <ø> (ø) Carriedforward from 555330b
e2e-orchestrator 49.52% <ø> (ø) Carriedforward from 555330b
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 555330b
e2e-scorecard 50.21% <ø> (ø) Carriedforward from 555330b
e2e-theme 16.36% <ø> (ø) Carriedforward from 555330b
extensions 56.59% <ø> (ø) Carriedforward from 555330b
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 555330b
global-header 66.50% <ø> (ø) Carriedforward from 555330b
homepage 48.39% <ø> (ø) Carriedforward from 555330b
install-dynamic-plugins 58.57% <ø> (ø) Carriedforward from 555330b
intelligent-assistant 75.35% <ø> (ø) Carriedforward from 555330b
konflux 91.98% <ø> (ø) Carriedforward from 555330b
lightspeed 69.02% <ø> (ø) Carriedforward from 555330b
mcp-integrations 84.14% <ø> (ø) Carriedforward from 555330b
orchestrator 70.87% <ø> (ø) Carriedforward from 555330b
quickstart 63.74% <ø> (ø) Carriedforward from 555330b
sandbox 79.56% <ø> (ø) Carriedforward from 555330b
scorecard 87.40% <ø> (ø) Carriedforward from 555330b
theme 88.91% <ø> (ø) Carriedforward from 555330b
translations 5.12% <ø> (ø) Carriedforward from 555330b
x2a 12.40% <ø> (ø) Carriedforward from 555330b

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c7f1b5d...4e3c549. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@asmasarw asmasarw changed the title Implement Agents and remove Providers FLPATH-4773: Reflect change introduced by environment agent to UI Aug 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant