feat(status): dedicated System Status page in the user menu (PMS-237) #117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mapps-237-system-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Promotes build/version info from the cramped bottom-left sidebar footer to a dedicated System Status page reachable from the user menu (next to Profile / Account Settings / Apps), and grows it into a real diagnostics surface with live API and dependency health (PMS-237).
Why
The only place to see which build was running was a tiny line in the sidebar corner, with no server-side info at all. Support and operators needed a single page that answers "what client build is this, what server is it talking to, and is everything up?".
Change
Client-only: mokosh-server already exposes
GET /api/v1/versionandGET /api/v1/readypublicly, so no server work./system-statusroute (underAuthGuard, any authenticated user) with four cards: Client build (version/commit/date frombuild.rs), API server (reachability + server build from/version), Dependencies (database + Infisical badges from/ready), and Connection (resolved API base, OIDC issuer, hub URL). A Refresh button re-runs the probes.pub fn api_base()and a tolerantpub async fn probe(path) -> Result<(u16, String), String>tohooks::fetch::api.probereturns the HTTP status and raw body together so the readiness endpoint's503-with-JSON breakdown is still read instead of collapsing to an error.Route::SystemStatus+ handler inlib.rs, thepages::system_statusmodule, and a "System Status"Linkin theUserMenudropdown.VersionFooterstays as the at-a-glance line.Verification
cargo check --target wasm32-unknown-unknown,cargo fmt,cargo clippyclean (only the pre-existing rust-1.95-onlymanual_checked_opslint, not in CI 1.94).cargo test --lib: 58 passed.🤖 Generated with Claude Code