* feat(dashboard): name the Webapp in /api/status on a hosted agent's dashboard webapp_url is set only for a signed-in caller of a Hermes Cloud agent's standalone dashboard whose config has the Webapp on; never on a loopback bind and never from the Webapp itself. * feat(web): 'your dashboard is moving' modal on Hermes Cloud dashboards A blocking modal (no backdrop or Escape dismissal) shown when /api/status carries webapp_url. 'Open in web app' goes to the agent's Webapp; 'Later' hides it for the browser session. * refactor(web): status wire types and the shell's notices get their own modules Keeps api.ts and App under their code-health caps; the status helper drops its catch-all. * docs(web): drop the design reference from the modal's comment * fix(web): modal type matches the design's sizes and tracking The actions inherited the DS button's 0.2em tracking, bold mono and 15px size; body and row titles rendered at the dashboard's 15px base. * fix(web): modal actions use the stock button; headline is set in Oswald Reverts the label overrides on the two actions. The headline loads Oswald Light from Google Fonts when the modal opens, as the theme fonts do. * fix(dashboard): name the Webapp only while the gateway is serving it webapp_url now needs the gateway to report the Webapp listener serving on the configured port, so the modal never sends anyone to a Webapp that is down, starting or not yet restarted onto its config. The gateway is asked only for a signed-in caller of a gated dashboard, never for the anonymous health probes. * feat(dashboard): sign-in pages use Oswald and Mona Sans from Google Fonts The login, sign-in-unavailable and token-gated pages drop their Collapse and Rules @font-face rules. Their fonts are absolute URLs now, so the proxy prefix no longer rewrites any. * refactor(web): the modal headline uses the dashboard's Oswald * feat(dashboard): /api/status reports the Webapp's state on every Hermes Cloud dashboard webapp_state is ready, starting, down or not_available; webapp_url is still sent only while the gateway serves the Webapp. Cloud is the Portal's HERMES_HOSTING stamp, or the hosted /opt/data layout with the Webapp configured: the Docker image shares that layout, so an agent with the Webapp off counts as Cloud only when stamped. * feat(web): the moving modal shows on every Hermes Cloud dashboard, with the web app's state The machine row reads Ready, Starting, Offline or Not available yet. The way into the web app and its settings row are offered only while it is ready; otherwise Later is the only action. * fix(web): the dashboard retires on December 6, 2026
24 lines
845 B
HTML
24 lines
845 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1.0, viewport-fit=cover, interactive-widget=resizes-content"
|
|
/>
|
|
<title>Hermes Agent - Dashboard</title>
|
|
<!-- Oswald (headings) and Mona Sans (body). Unreachable, the system sans shows. -->
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css2?family=Mona+Sans:wght@200..900&family=Oswald:wght@200..700&display=swap"
|
|
/>
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|