Skip to content

feat: give the provider plugin a real Workloads support view - #232

Open
kevwilliams wants to merge 1 commit into
mainfrom
feat/provider-workload-detail-view
Open

feat: give the provider plugin a real Workloads support view#232
kevwilliams wants to merge 1 commit into
mainfrom
feat/provider-workload-detail-view

Conversation

@kevwilliams

@kevwilliams kevwilliams commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces the data-only ui/provider plugin with a real staff support view.

It adds a Workloads list per project and a per-workload detail page. The detail page shows health, config, placements, instances, and conditions. It answers "why isn't this workload starting."

Data comes through staff-portal's /api/internal proxy under the viewing staff member's own session. No new credential is needed.

The view uses datum-ui components (Tabs, Table, EmptyContent, CodeEditor) instead of hand-rolled ones. See the new ui/CLAUDE.md for why: this plugin has no Tailwind build of its own, so arbitrary-value classes silently do nothing.

Depends on staff-portal's new portal.page/project extension kind (companion PR: datum-cloud/staff-portal#TBD).

Test plan

  1. cd ui/provider && bun run typecheck && bun run build
  2. bun run preview, register with a local staff-portal via PORTAL_PLUGINS=<slug>=http://localhost:5199
  3. Confirm the Workloads list renders for a project, click-through to detail works, and all tabs render (Events/Logs/Metrics show "Coming Soon")

🤖 Generated with Claude Code

Replaces the data-only ui/provider plugin with an actual staff support
view: a Workloads list for a project and a per-workload detail page,
covering the health/config/placements/instances/conditions surface a
support engineer needs to answer "why isn't this workload starting."

Built against staff-portal's new portal.page/project extension kind,
fetching through staff-portal's own /api/internal proxy under the
viewing staff member's session (no new credential). Uses datum-ui
components throughout (Tabs, Table, EmptyContent, CodeEditor) rather than
hand-rolled ones, documented in the new ui/CLAUDE.md alongside the
"no Tailwind build of its own" constraint this plugin runs under.
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