feat: redesign Deployments tab with Overview + Configuration sub-tabs
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m20s
CI / docker (push) Successful in 1m4s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 37s

Overview sub-tab:
- Deployments table with env badge, version, status, URL, deployed time
- Actions (Start/Stop) scoped to selected environment; other envs show
  "switch env to manage" hint with muted rows
- Versions list with per-env deploy target picker

Configuration sub-tab:
- Read-only by default with Edit mode gate (Cancel/Save banner)
- Agent observability: engine level, payload capture with size unit
  selector, log levels, metrics toggle, sampling, replay and route
  control (default enabled)
- Container resources: memory/CPU limits, exposed ports as deletable
  pills with inline add input
- Environment variables: key-value editor with add/remove
- Reuses existing ApplicationConfig API for agent config push via SSE

Tab renamed from "Apps" to "Deployments" in the tab bar.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-08 17:36:09 +02:00
parent 01ac47eeb4
commit c4fe992179
3 changed files with 578 additions and 353 deletions

View File

@@ -23,7 +23,7 @@ export function ContentTabs({ active, onChange, scope }: ContentTabsProps) {
const canControl = useCanControl();
const tabs = useMemo(() => {
if (!canControl) return BASE_TABS;
return [...BASE_TABS, { label: 'Apps', value: 'apps' }];
return [...BASE_TABS, { label: 'Deployments', value: 'apps' }];
}, [canControl]);
return (