Interactive static demo · Systems42 Dashboard
Systems42 Dashboard
Decision record DR-009 draft Format: MADR

Pages are rendered on the server from HTML templates

created 2026-11-22 · updated 2026-11-22 · decision-record

Sources SRC-039 Solution strategy of the dashboard SRC-046 Grilling session on modularizing the solution strategy SRC-049 Grilling session on the Mac-native app

No open issues point at this page.

Context and Problem Statement

The dashboard renders Markdown wiki pages, lists, matrices and diagrams for every current browser, including phones and tablets (Usable on phone and tablet, Works in every current browser), and must also export cleanly to static HTML for the public demo (A demo to try without installing). Both a Python implementation and a Go implementation serve the same views (The Python dashboard is the reference for the other implementations).

How should the dashboard assemble and deliver its web pages to the browser?

Decision Drivers

Considered Options

  1. Server-rendered HTML templates with minimal JavaScript. The server renders complete HTML pages from templates, uses Mermaid for static diagrams and ships small vendored JavaScript only where interactivity is needed (search popup, session heartbeat and interactive graph layout per Interactive diagrams are projected on the server and laid out in the browser).
  2. Client-side single-page application (SPA). The server exposes a JSON API and a JavaScript framework (such as React, Vue or Svelte) renders all views in the browser.

Decision Outcome

Chosen option: 1, server-rendered HTML templates with minimal JavaScript, because it avoids a JavaScript build pipeline, renders cleanly on phones and screen readers with text links beside every diagram, simplifies automated route-parity checks between Python dashboard and Go dashboard, and allows Public website builder to export the live demo by saving HTTP responses directly.

Consequences

Confirmation

Route-parity tests (tests/test_parity.py) compare rendered HTML responses of Python dashboard and Go dashboard, and make site exports all demo routes to static HTML without executing client-side JavaScript.

Out of scope

The Mac-native app draws its pages itself and serves no HTML (A Mac-native dashboard app). This decision covers the Python and the Go dashboard.

More Information

Recorded as an architectural decision rather than a fixed solution-strategy pillar because upcoming implementations may choose a different UI rendering approach (Grilling session on modularizing the solution strategy). Pairs with Interactive diagrams are projected on the server and laid out in the browser for interactive networks.

View

Untick an area or a section to hide it from the home page, the area pages and the nav. Hidden pages stay reachable by URL and in search. The view lasts until the dashboard stops.