Files
ServerKit/frontend/src/components/servers/serverTabs.jsx
T
Juan DenisandClaude Opus 4.8 c4f3b4fdac feat: Phase 4 polish & fleet — onboarding completion, fleet proxy, shared-resource depth, docs
- Server onboarding completion (C8): a pure pre-flight compatibility check
  (arch/distro/kernel/cpu/memory) gating validate; real-but-guarded
  distro-aware install_prerequisites/install_docker/pair_agent steps that
  no-op safely on dev/Windows and never raise; audit + best-effort
  notifications on each transition; and a live auto-scrolling log trail +
  elapsed timer in the onboarding wizard.

- Fleet-wide proxy dashboard (C6): ProxyStackService.fleet_overview aggregates
  every server's proxy posture (configured stack vs host Nginx default) behind
  GET /api/v1/servers/proxy/overview, surfaced as a new Fleet Proxy page in the
  Servers tab group with summary tiles + click-through to each server's proxy.

- Polymorphic shared resources depth (C9): hierarchical variable resolution
  (workspace < project < environment < direct attachment < resource) with
  source provenance and {{group.KEY}} interpolation, an audit trail on every
  tag/group/variable/attachment mutation, GET /api/v1/shared/resolved/
  hierarchical, and the reusable Tags/Environment-Variables panels embedded on
  the application and server detail pages.

- Docs & coverage: docs/ENHANCEMENTS.md (brand-neutral guide to all ten
  capabilities + verified endpoints), README/CHANGELOG updates, and a
  cross-cutting integration test asserting the new endpoints are wired.

Full backend suite: 924 passed, 14 skipped; frontend builds clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 20:04:04 -04:00

18 lines
1.1 KiB
React

import { Server, Users, Activity, Cloud, FileCog, Network } from 'lucide-react';
// Shared sub-nav for the Servers page group (Servers / Agent Fleet / Fleet
// Monitor / Cloud Servers / Remote Access / Config Templates). Rendered in each
// page's <PageTopbar tabs={SERVER_TABS}> — the demo's top-bar layout replaces
// the old sidebar sub-menu (see docs/REDESIGN_MAP.md §6 decision 3). Remote
// Access lives here as a fleet-wide overview; per-server tunnel management is
// also available on each server's detail page under the "Remote Access" tab.
export const SERVER_TABS = [
{ to: '/servers', label: 'Servers', end: true, icon: <Server size={15} /> },
{ to: '/fleet', label: 'Agent Fleet', icon: <Users size={15} /> },
{ to: '/fleet-monitor', label: 'Fleet Monitor', icon: <Activity size={15} /> },
{ to: '/fleet-proxy', label: 'Fleet Proxy', icon: <Network size={15} /> },
{ to: '/cloud', label: 'Cloud Servers', icon: <Cloud size={15} /> },
{ to: '/remote-access', label: 'Remote Access', icon: <Network size={15} /> },
{ to: '/server-templates', label: 'Config Templates', icon: <FileCog size={15} /> },
];