feat: give the provider plugin a real Workloads support view - #232
Open
kevwilliams wants to merge 1 commit into
Open
feat: give the provider plugin a real Workloads support view#232kevwilliams wants to merge 1 commit into
kevwilliams wants to merge 1 commit into
Conversation
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.
kevwilliams
requested review from
gaghan430,
mattdjenkinson,
scotwells and
yahyafakhroji
August 14, 2026 23:31
yahyafakhroji
approved these changes
Aug 15, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Replaces the data-only
ui/providerplugin 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/internalproxy under the viewing staff member's own session. No new credential is needed.The view uses
datum-uicomponents (Tabs,Table,EmptyContent,CodeEditor) instead of hand-rolled ones. See the newui/CLAUDE.mdfor 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/projectextension kind (companion PR: datum-cloud/staff-portal#TBD).Test plan
cd ui/provider && bun run typecheck && bun run buildbun run preview, register with a local staff-portal viaPORTAL_PLUGINS=<slug>=http://localhost:5199🤖 Generated with Claude Code