How gkrumbach07/openshell-dashboard works
OpenShell Dashboard is a React administration UI backed by a Go BFF that relays authenticated REST requests to the OpenShell gateway over its Go SDK. Users authenticate, enter workspace-scoped flows, and manage sandboxes, policies, templates, providers, and related operational details. The graph follows the documented routes and sampled wiring; many handlers, services, and page implementations were not excerpted, so their internal relationships are left out. The README also describes gateway compatibility management, an ancillary repository capability, rather than a runtime dashboard workflow.
Main entry points: app.go Go REST BFF · client.ts API transport · AppRoutes.tsx Auth and routes · sweep.py Gateway compat sweep
Components 22
Dashboard UI
- Auth and routes
frontend/src/app/AppRoutes.tsx - Workspace pages
frontend/src/pages/WorkspaceDetailPage.tsx - Sandbox pages
frontend/src/pages/SandboxDetailPage.tsx - Provider pages
frontend/src/pages/ProviderDetailPage.tsx - Gateway overview
frontend/src/pages/GatewayOverviewPage.tsx - API transport
frontend/src/api/client.ts - Sandbox API
frontend/src/api/sandboxes.ts - Auth API
frontend/src/api/auth.ts - Query keys
frontend/src/api/queryKeys.ts
BFF and gateway
- Go REST BFF
backend/pkg/server/app.go - Token relay
backend/pkg/auth/proxy.go - Gateway SDK clients
backend/cmd/server/gateway_setup.go
Admin domains
- Workspace operations
backend/pkg/services/workspace.go - Sandbox operations
backend/pkg/services/sandbox.go - Policy and drafts
backend/pkg/services/policy.go - Template operations
backend/pkg/services/template.go - Provider operations
backend/pkg/services/provider.go
Compatibility operations
- Gateway compat sweep
deploy/ci/sweep/sweep.py - Gateway and SDK pins
deploy/ci/sweep/pins.py - Compatibility reports
deploy/ci/sweep/report.py
Other components
- Dashboard user
- OpenShell gateway
Connections 24
- Dashboard user → Auth and routes: uses
README.md - Auth and routes → Workspace pages: routes to
- Auth and routes → Sandbox pages: routes to
- Auth and routes → Provider pages: routes to
- Auth and routes → Gateway overview: routes to
- Workspace pages → API transport: requests via
- Sandbox pages → Sandbox API: requests via
- Provider pages → API transport: requests via
- Gateway overview → API transport: requests via
- Sandbox API → API transport: calls
frontend/src/api/sandboxes.ts - Auth API → API transport: calls
frontend/src/api/auth.ts - Sandbox API → Query keys: uses keys
frontend/src/api/sandboxes.ts - API transport → Go REST BFF: HTTP requests
frontend/src/api/client.ts - Go REST BFF → Token relay: authenticates routes
backend/pkg/server/app.go - Go REST BFF → Workspace operations: dispatches
backend/pkg/server/app.go - Go REST BFF → Sandbox operations: dispatches
backend/pkg/server/app.go - Go REST BFF → Policy and drafts: dispatches
backend/pkg/server/app.go - Go REST BFF → Template operations: dispatches
backend/pkg/server/app.go - Go REST BFF → Provider operations: dispatches
backend/pkg/server/app.go - Go REST BFF → Gateway SDK clients: uses gateway client
- Gateway SDK clients → OpenShell gateway: gRPC calls
README.md - Gateway compat sweep → Gateway and SDK pins: validates and updates
deploy/ci/sweep/sweep.py - Gateway compat sweep → Compatibility reports: renders
deploy/ci/sweep/sweep.py - Gateway compat sweep → OpenShell gateway: tests gateway compatibility
README.md