The admin UI is planned for V1 and not built yet.
ui/, scaffolded with
pnpm create @galaxy-io/galaxy-app. It uses Vite with the DLS Linaria
preset, TanStack Router file routes, ConnectRPC queries through
@connectrpc/connect-query, and Biome with the DLS rules. Components and
tokens come from @galaxy-io/dls. Built with -tags embedui, the server
embeds ui/build with go:embed and serves it at / beside the API, the
same arrangement as Alchemy, so go build ./... needs no Node.
just dev runs the server and the UI at localhost:5175 together, and
just build builds the UI and then a server that embeds it. A server built
without the tag serves a placeholder page at /. The server tells the UI
where the other Galaxy products are served through the
Galaxy product variables.
Signing in
The UI signs in through the same caller authenticator as the API. Standalone that is an OIDC login using the authorization code flow with PKCE, with the client inLATCHKEY_UI_OIDC_CLIENT_ID.
Without it the standalone UI says sign-in is not configured and loads nothing,
so it never guesses a tenant. The server writes the issuer and client into the page, and an expired token
starts a new sign-in. In Galaxy Cloud the UI is reached through the edge and
uses the caller assertion the edge signs. The UI has no account menu of its
own. Standalone, Sign out is in the command palette. In Galaxy Cloud the cloud
shell owns the account, sign-out and theme. See
Security for how the UI handles its
token.
Locally, just infra starts an issuer with a sign-in page and just serve
trusts it and makes admin the first Admin of the acme tenant. just ui
then runs the UI against that server. Sign in as admin.