Files
cozystack/packages/system/dashboard/images/console
Myasnikov Daniil 7f55ff5d85 fix(dashboard): link a tenant row to its detail page
The tenant list rendered the name as plain text and put the row's only
link on an Edit button, so nothing in the list reached the detail page
that every other kind gets, tabs and a Delete action included. The only
way there was to open the edit form and cancel out of it.

The name cell becomes a link wherever Edit is offered, to the same CR.
The detail page reads the namespace from the tenant context, so a plain
click aligns the context to the row's parent first, the way Edit
already does. React runs that handler for a ctrl-, cmd- or shift-click
too, which the browser turns into a new tab or window, so it runs only
for the click that navigates its own tab; otherwise opening a tenant
beside the current one would move the tab left behind as well.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-10-30 16:38:53 +05:00
..

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).