Make Website Scanner discoverable in sidebar nav.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Deploy Recon was wired at /deploy-recon but buried at the bottom of a non-scrolling sidebar under an opaque label; move it after Crucible, rename to Website Scanner, enable nav scroll, and add route/nav smoke tests plus README.
This commit is contained in:
AetherForge
2026-06-07 18:23:18 -07:00
parent f795ff2b47
commit e1b1a2aa65
7 changed files with 81 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
import { describe, expect, it } from 'vitest';
import { operatorNavItems } from './Layout';
describe('operator sidebar nav', () => {
it('includes Website Scanner linking to /deploy-recon', () => {
const item = operatorNavItems.find((i) => i.to === '/deploy-recon');
expect(item).toBeDefined();
expect(item!.label).toBe('Website Scanner');
expect(item!.icon).toBe('recon');
});
it('places Website Scanner directly after Crucible for discoverability', () => {
const scannerIdx = operatorNavItems.findIndex((i) => i.to === '/deploy-recon');
const crucibleIdx = operatorNavItems.findIndex((i) => i.to === '/crucible');
expect(scannerIdx).toBe(crucibleIdx + 1);
});
});