Skip to content

refactor(ui): Remove the unused dashboards API client#86

Closed
nfebe wants to merge 1 commit into
mainfrom
chore/remove-dead-dashboards-client
Closed

refactor(ui): Remove the unused dashboards API client#86
nfebe wants to merge 1 commit into
mainfrom
chore/remove-dead-dashboards-client

Conversation

@nfebe

@nfebe nfebe commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Follow-up from the observability work. The dashboard endpoints were shipped by flatrun/agent#174 as backend storage with no UI builder, a deliberate choice. The #148 review flagged that the frontend still carried a typed client and panel types for those endpoints that nothing imported, so their presence implied a dashboard UI existed (tracked as an item under Albacore #158).

Removing them leaves the backend API untouched; a real client can be added alongside the UI if a dashboard builder is ever built.

The dashboard endpoints ship as backend storage with no UI builder, a deliberate
choice, but the frontend still carried a typed client and panel types for them
that nothing imported. Their presence implied a dashboard UI existed. Removing
them leaves the backend API untouched; a real client can be added alongside the
UI if one is ever built.
@sourceant

sourceant Bot commented Jul 17, 2026

Copy link
Copy Markdown

Code Review Summary

This PR removes unused dashboard-related API clients and TypeScript interfaces from the frontend. This is a maintenance refactor intended to align the frontend code with the current project scope, where dashboarding is a backend-only feature.

🚀 Key Improvements

  • Successfully removed the unused dashboardsApi object.
  • Deleted the redundant Dashboard and DashboardPanel interfaces.
  • Ensured the servingApi remains intact and functional.

@sourceant sourceant Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review complete. No specific code suggestions were generated. See the overview comment for a summary.

@nfebe

nfebe commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

Closing: the dashboards client this removes is unfinished scaffolding from the observability UI work (#82), not dead code. Building the dashboard view that consumes those endpoints instead of deleting the groundwork.

@nfebe nfebe closed this Jul 18, 2026
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