Files
cozystack/packages/system/dashboard/images/console/README.md
T
Myasnikov DaniilandClaude Opus 4.8 44b234f3e2 build(dashboard): vendor cozystack-ui console in-tree
Move the console SPA source into the monorepo at
packages/system/dashboard/images/console so the UI versions and ships in
lockstep with the platform, removing the cross-repo digest-bump PRs and the
version drift between the two repositories.

Snapshot of cozystack/cozystack-ui main at 8ef45a4; full history remains in
that repository (to be archived). The Makefile now builds the console image
from this in-tree context instead of cloning the external repo at build time:
dropped clone-console/clean-console and the CONSOLE_REPO/CONSOLE_BRANCH
variables; the built digest is still pinned into values.yaml by
update-values-console. .helmignore already excludes images/*/* so the source
never enters the Helm chart.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-06-23 12:19:26 +05:00

945 B

cozystack-ui

Cozystack Marketplace and Console UI — a pure SPA that talks directly to the Kubernetes API. No BFF, no controller-generated configuration: all UI entities are discovered dynamically from ApplicationDefinitions in the cluster.

Structure

  • apps/console — React + Vite SPA
  • packages/k8s-client — fetch-based Kubernetes client with watch
  • packages/ui — shared UI components (Tailwind + Base UI)
  • packages/types — shared TypeScript types

Requirements

  • Node.js ≥ 20
  • pnpm ≥ 9
  • kubectl proxy for local development (proxies /api and /apis)

Development

pnpm install
# in one terminal:
kubectl proxy --port 8001
# in another terminal:
pnpm dev

The app becomes available at http://localhost:3001/.

Build

pnpm build

The console is built into apps/console/dist/.

Test

pnpm test

Runs the workspace test suites (vitest + jsdom for the console).