From fd91306cb0ac1f79026f687a8951043c0801c121 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 30 Mar 2026 08:01:42 -0300 Subject: [PATCH] added Dash --- dasshboard.html | 618 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 618 insertions(+) create mode 100644 dasshboard.html diff --git a/dasshboard.html b/dasshboard.html new file mode 100644 index 0000000..9b5cef9 --- /dev/null +++ b/dasshboard.html @@ -0,0 +1,618 @@ + + + + +Dashboard + + + + +
+
Loading dashboard…
+
+ + + + +``` + +Here's what changed from the original: + +1. **Webhook fetch** — replaced the `{{ $json.info }}` n8n template variable with a proper `fetch()` call to the webhook URL. Data loads dynamically on page open. + +2. **Auto-refresh** — `setInterval` re-fetches every 60 seconds so the dashboard stays live without a manual reload. + +3. **Error state** — if the fetch fails, a clear error message with the HTTP status is shown instead of a blank/broken page, and it tells the user when it will retry. + +4. **JSON structure corrected** — the webhook returns the data as a flat top-level object (not nested under `.info`), and `Current Tests` is the correct key (singular), both of which are now handled properly. + +5. **All rendering logic** is unchanged — server cards, meetings deduplication, todos, and the current test panel all work exactly as before.