Fit the left tabs on small screens; move routing settings into a modal

The left panel's four tabs overflowed its 272px width on tablets and small
laptops: Goals wrapped its count, Networks ran off the edge. Counts now sit
on the tab's corner, labels stay on one line and shrink last.

Backbone, Auto-TE and DDoS settings sat below every notification in the NOC
tab. A Routing & DDoS button at the top opens them in a modal that redraws
in place after each action, with a red dot when Auto-TE is paused.
This commit is contained in:
Frederic Jung 2026-11-03 09:44:38 +01:00
parent 4a66bbf998
commit 3048c18b14
No known key found for this signature in database
19 changed files with 110 additions and 17 deletions

View file

@ -290,7 +290,8 @@ test('notifications: the NOC keeps the last ten minutes, folds repeats and opens
ev("UI.left='noc';UI.leftOpen=true;UI.sel=null;renderLeft();renderHUD()");
const body = doc.getElementById('leftBody').textContent;
assert.match(body, /Notifications\s*last 10 minutes/);
assert.ok(body.indexOf('Notifications') < body.indexOf('DDoS scrubbing'), 'near the top, not at the bottom');
assert.ok(body.indexOf('Notifications') < body.indexOf('Incidents so far'), 'near the top, not at the bottom');
assert.doesNotMatch(body, /DDoS scrubbing/, 'the settings moved to Routing & DDoS');
assert.match(body, /×5/); assert.match(body, /just now/);
assert.equal(doc.querySelectorAll('#leftBody [data-act=logOpen]').length, 2, 'Open only where it leads somewhere (2 of the 5 shown)');
assert.equal(ev("logUnread()"), 0);