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:
parent
4a66bbf998
commit
3048c18b14
19 changed files with 110 additions and 17 deletions
|
|
@ -160,7 +160,7 @@ test('the backbone panel and the router panels, on a phone too', () => {
|
|||
for (const w of [1280, 360]) {
|
||||
const { ev, dom, errors } = load();
|
||||
ev("ACT.start({});if(UI.pendGame)ACT.pitchSkip()");
|
||||
ev(`window.innerWidth=${w};` + start.replace('ACT.start({});', '') + `;ACT.buildPop({city:'ams'});S.pops.fra.rgen=${g('Disco 8K')};ACT.coreUp();ACT.coreUp();ACT.leftTab({t:'noc'});renderAll()`);
|
||||
ev(`window.innerWidth=${w};` + start.replace('ACT.start({});', '') + `;ACT.buildPop({city:'ams'});S.pops.fra.rgen=${g('Disco 8K')};ACT.coreUp();ACT.coreUp();ACT.leftTab({t:'noc'});ACT.routingOpen();renderAll()`);
|
||||
const txt = dom.window.document.body.textContent;
|
||||
assert.match(txt, /RSVP-TE\/MPLS/, `${w}px`);
|
||||
assert.match(txt, /outside the backbone/, 'Amsterdam is left out');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue