Server admin UI: Initial setup#99
Merged
Merged
Conversation
Implements 6 pages (Dashboard, Services, Nodes, Sessions, Pool, Config) backed by the HTTP API from PRs 1–3. Shared Layout component eliminates the copy-pasted sidebar from each draft HTML page. Stack name persists in localStorage and is editable from the sidebar footer. Topology and Events nav items are rendered as disabled stubs pending their backend PRs.
GyulyVGC
approved these changes
May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Admin UI — Initial Scaffold
Summary
Replaces the Vite/React boilerplate with a working admin UI shell wired to the live nullnet API. This PR is purely foundational — it establishes routing, layout, data fetching, and page structure so future UI work has a consistent base to build on.
No new backend endpoints are introduced; the UI consumes existing API routes (
/api/services,/api/nodes,/api/sessions,/api/pool).What's included
react-router-domwith six routes: Dashboard, Services, Nodes, Sessions, Pool, ConfiguseApihook — generic polling hook for JSON and text endpoints with configurable refresh intervalStackContext— shared React context for the active stack name, consumed across all pagestypes.tscoveringServiceJson,NodeJson,SessionJson,PoolJson,ReplicaJsonWhat's not included (intentional)