Problems were spread over four pages (the dashboard alert queue, the topology "to look at" bar, the cutsheet chips and the rack mismatches), and the pages mixed what's broken, what to tidy up and reference records. This PR puts them in one place and trims the rest. There are three commits, one per part.
1. Needs attention, and what GANDALF stands for
Dashboard: a new list at the top, split into two groups. Each line links to where it's fixed.
Broken now:
active alerts, as one line naming the devices
an outlet that is off but feeds a device
frozen outlet readings
cables not where the cutsheet says
Tidy up:
UniFi port names pointing at the wrong device or at an empty port
live links not on the cutsheet
labels to print
powered outlets with no device assigned
rack items that overlap or sit outside the rack
Backend: the list is built in the new attention.py (pure functions) and served by GET /api/attention. The dashboard refreshes it with everything else.
On prod data right now:
Broken now: RPDU outlet watts are frozen.
Tidy up:
4 named ports with nothing plugged in ("Office Run Spare PC", "Micro 2 Eth1", "Guest Bedroom", "WAP")
34 live links not on the cutsheet
2 labels to print
The name: the header subtitle now reads Global Advanced Network Detection And Link Facilitator. The help dialog, the footer and the page description say it too.
2. Cutsheet tabs
The 9-section, 4,100px page becomes five tabs: Cables, To do (undocumented links, port names, labels), Patch panels, Inventory and History. Counts sit on the tabs instead of a row of chips.
The text-only rack list is gone, since /rack draws it. Inventory links there.
Patch panels list only ports with a cable or label, with a "Show all 24 ports" toggle.
Links to a section, cable or item (#cable-7, #cs-portnames-section, the rack page's "Edit positions") open the tab that holds it.
?problems=1 ticks "Problems only".
Printing still prints every tab, or just the labels.
3. Calmer dashboard, navigation and intros
Dashboard:
The four stat cards are gone; the list says it better.
Host cards fold NICs marked unused into a "+N unused" line, and Suppress becomes a small icon (the name already opens the device page).
UniFi devices become a compact list of name and model; offline ones turn red.
Recently resolved alerts fold.
The page is about 1,400px tall instead of about 1,600px.
Navigation: Dashboard, Topology, Rack and Cutsheet stay in view; Alert history and Suppressions move under More.
The phone drawer groups them the same way and gains Start maintenance.
The phone header no longer overlaps GANDALF with the avatar (this was already broken on main). It hides the user name and the Ctrl+K hint.
Intros: rack and topology are one line, with the how-to behind a small ?. Alert history and suppressions are shorter.
Topology problem bar: one line ("7 to look at" plus the first two) until opened, and it remembers its state.
Tests
501 pass, including the new tests/test_attention.py, plus /api/attention, the dashboard section order, unused NICs folding and resolved alerts folding.
flake8 and bandit are clean, and eslint is unchanged at the 21-warning baseline. There are no em or en dashes.
In the preview (Playwright):
the tabs open from a hash
a cable link switches back to Cables
?problems=1 ticks the box
the More menu closes on an outside click
no horizontal scroll at 390px
no page errors
Screenshots
These come from anonymised preview data with simulated problems.
Problems were spread over four pages (the dashboard alert queue, the topology "to look at" bar, the cutsheet chips and the rack mismatches), and the pages mixed what's broken, what to tidy up and reference records. This PR puts them in one place and trims the rest. There are three commits, one per part.
## 1. Needs attention, and what GANDALF stands for
- **Dashboard**: a new list at the top, split into two groups. Each line links to where it's fixed.
- *Broken now*:
- active alerts, as one line naming the devices
- an outlet that is off but feeds a device
- frozen outlet readings
- cables not where the cutsheet says
- *Tidy up*:
- UniFi port names pointing at the wrong device or at an empty port
- live links not on the cutsheet
- labels to print
- powered outlets with no device assigned
- rack items that overlap or sit outside the rack
- **Backend**: the list is built in the new `attention.py` (pure functions) and served by `GET /api/attention`. The dashboard refreshes it with everything else.
- **On prod data right now**:
- Broken now: RPDU outlet watts are frozen.
- Tidy up:
- 4 named ports with nothing plugged in ("Office Run Spare PC", "Micro 2 Eth1", "Guest Bedroom", "WAP")
- 34 live links not on the cutsheet
- 2 labels to print
- **The name**: the header subtitle now reads **G**lobal **A**dvanced **N**etwork **D**etection **A**nd **L**ink **F**acilitator. The help dialog, the footer and the page description say it too.
## 2. Cutsheet tabs
- The 9-section, 4,100px page becomes five tabs: **Cables**, **To do** (undocumented links, port names, labels), **Patch panels**, **Inventory** and **History**. Counts sit on the tabs instead of a row of chips.
- The text-only rack list is gone, since /rack draws it. Inventory links there.
- Patch panels list only ports with a cable or label, with a "Show all 24 ports" toggle.
- Links to a section, cable or item (`#cable-7`, `#cs-portnames-section`, the rack page's "Edit positions") open the tab that holds it.
- `?problems=1` ticks "Problems only".
- Printing still prints every tab, or just the labels.
## 3. Calmer dashboard, navigation and intros
- **Dashboard**:
- The four stat cards are gone; the list says it better.
- Host cards fold NICs marked unused into a "+N unused" line, and Suppress becomes a small icon (the name already opens the device page).
- UniFi devices become a compact list of name and model; offline ones turn red.
- Recently resolved alerts fold.
- The page is about 1,400px tall instead of about 1,600px.
- **Navigation**: Dashboard, Topology, Rack and Cutsheet stay in view; Alert history and Suppressions move under **More**.
- The phone drawer groups them the same way and gains Start maintenance.
- The phone header no longer overlaps GANDALF with the avatar (this was already broken on main). It hides the user name and the Ctrl+K hint.
- **Intros**: rack and topology are one line, with the how-to behind a small **?**. Alert history and suppressions are shorter.
- **Topology problem bar**: one line ("7 to look at" plus the first two) until opened, and it remembers its state.
## Tests
- 501 pass, including the new `tests/test_attention.py`, plus `/api/attention`, the dashboard section order, unused NICs folding and resolved alerts folding.
- flake8 and bandit are clean, and eslint is unchanged at the 21-warning baseline. There are no em or en dashes.
- In the preview (Playwright):
- the tabs open from a hash
- a cable link switches back to Cables
- `?problems=1` ticks the box
- the More menu closes on an outside click
- no horizontal scroll at 390px
- no page errors
## Screenshots
These come from anonymised preview data with simulated problems.
| | |
|---|---|
| Dashboard  | Light  |
| Phone  | Cutsheet, To do tab  |
| Topology, one-line problem bar  | More menu  |
🤖 Generated with [Claude Code](https://claude.com/claude-code)
attention.build gathers alerts, power faults, cutsheet mismatches, UniFi port names,
undocumented links, labels to print and rack overlaps into Broken now and Tidy up,
each linking to where it is fixed. /api/attention serves it; the dashboard renders it
and refreshes it with everything else. The header, help dialog, footer and page
description spell out Global Advanced Network Detection And Link Facilitator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 9-section page becomes five tabs; counts sit on the tabs instead of a row of
chips. To do holds undocumented links, UniFi port names and labels to make. The
text-only rack list is gone (the rack page draws it). Patch panels list only ports
with a cable or label, with a Show all toggle. Links to a section, cable or item
open the tab that holds it, so dashboard and rack links still land. ?problems=1
ticks Problems only. Printing still prints every tab, or just the labels.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dashboard: the stat cards are gone (Needs attention says it better); host cards
fold unused NICs into one line and move Suppress to a small icon; UniFi devices
become a compact list; recently resolved alerts fold. Navigation keeps Dashboard,
Topology, Rack and Cutsheet in view with Alert history and Suppressions under More;
the phone drawer groups them the same way and gains Start maintenance, and the
phone header hides the user name and the Ctrl+K hint so GANDALF fits. Rack and
topology intros are one line with the how-to behind a ?; the topology problem
bar is one line until opened. README updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jared
scheduled this pull request to auto merge when all checks succeed 2026-11-15 15:08:24 -05:00
jared
merged commit f1355c4bd8 into main2026-11-15 15:08:26 -05:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problems were spread over four pages (the dashboard alert queue, the topology "to look at" bar, the cutsheet chips and the rack mismatches), and the pages mixed what's broken, what to tidy up and reference records. This PR puts them in one place and trims the rest. There are three commits, one per part.
1. Needs attention, and what GANDALF stands for
attention.py(pure functions) and served byGET /api/attention. The dashboard refreshes it with everything else.2. Cutsheet tabs
#cable-7,#cs-portnames-section, the rack page's "Edit positions") open the tab that holds it.?problems=1ticks "Problems only".3. Calmer dashboard, navigation and intros
Tests
tests/test_attention.py, plus/api/attention, the dashboard section order, unused NICs folding and resolved alerts folding.?problems=1ticks the boxScreenshots
These come from anonymised preview data with simulated problems.
🤖 Generated with Claude Code