Skip to content

feat(fleet): live mode wiring the FM UI to the manager (read-only)#44

Draft
Bugs5382 wants to merge 4 commits into
mainfrom
feat/fleet-live-mode
Draft

feat(fleet): live mode wiring the FM UI to the manager (read-only)#44
Bugs5382 wants to merge 4 commits into
mainfrom
feat/fleet-live-mode

Conversation

@Bugs5382

@Bugs5382 Bugs5382 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What and why

Adds a VITE_FLEET_MODE (mock | live | live-auth) data-source seam so the Fleet Manager UI can display live data from the manager backend. All surfaces (nodes, certs, profiles, adapters, audit, enrollment) read live via a Connect client in live mode; mock stays the default and is byte-for-byte unchanged. Also adds a CSP connect-src allowance for the local manager origin and guards the topology view against a cold-load crash before the live fetch resolves. Writes stay mock (read-only this phase).

Closes #43.

Notes

Third of three PRs; merge order api -> manager -> web. DRAFT / blocked: depends on api#42 + the manager PR. The generated TS client is currently vendored at src/gen/fleet/ as a dev bridge; CI/merge readiness waits on the api TS package being published (the "publish api" follow-up).

How verified

106 tests green (mock default unchanged); build/eslint/prettier/license clean. Cold-loaded every surface in a real browser (live mode) against two real local CryptOS nodes: certs show the real node-issued leaf + sub-CA, topology shows both nodes, catalog surfaces show seeded data, zero CSP/fetch errors; mock mode still renders fixtures.

@Bugs5382 Bugs5382 self-assigned this Jul 9, 2026
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(fleet): live mode wiring the UI to the manager

1 participant