Commit Graph

64 Commits

Author SHA1 Message Date
Jason Staack
133e6e50e4 feat(ui): wire Wireless and Traffic pages to live data
Replace placeholder "coming soon" pages with functional implementations
that query the fleet APIs and display real-time wireless issues and
resource consumption data.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 18:36:44 -05:00
Jason Staack
1800330545 feat: expand config editor menu tree and add WiFi wave2 template
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 18:27:38 -05:00
Jason Staack
b8797c9b79 chore: remove deprecated Header component (replaced by ContextStrip)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:45:49 -05:00
Jason Staack
bdff65b9cf chore: remove Geist font files and dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:45:26 -05:00
Jason Staack
64dc6beb11 feat(ui): polish Config Editor with Deep Space styling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:44:18 -05:00
Jason Staack
8fadfc4d7d feat(ui): polish device table with Deep Space styling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:43:31 -05:00
Jason Staack
06ac1b73b6 feat(ui): polish Fleet Overview with Deep Space styling
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:42:44 -05:00
Jason Staack
bea80b354f feat(ui): add placeholder Wireless and Traffic routes
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:39:51 -05:00
Jason Staack
99215810a9 feat(ui): replace AppLayout with ContextStrip + rebuilt Sidebar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:39:31 -05:00
Jason Staack
b9bbcf4a45 feat(ui): rebuild Sidebar with Fleet/Config/Admin structure
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:39:12 -05:00
Jason Staack
a10e609c02 feat(ui): add ContextStrip with org switcher, status, and user controls
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:38:24 -05:00
Jason Staack
76d7f5561d feat(ui): restyle DropdownMenu and Popover
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:34:01 -05:00
Jason Staack
627c5af8da feat(ui): restyle Select, Badge, Tabs, Checkbox
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:33:56 -05:00
Jason Staack
d5eaaafcfc feat(ui): restyle Dialog with Deep Space overlay and borders
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:33:52 -05:00
Jason Staack
038a988c55 feat(ui): restyle Card — borders over shadows
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:33:48 -05:00
Jason Staack
b347d4bb89 feat(ui): restyle Input with Deep Space focus behavior
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:33:43 -05:00
Jason Staack
eea3321e7d feat(ui): restyle Button with Deep Space variants
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:33:38 -05:00
Jason Staack
267724ccb6 feat(ui): add Deep Space transition defaults
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:30:52 -05:00
Jason Staack
304844c3ff feat(ui): update Tailwind theme for Deep Space tokens
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:30:34 -05:00
Jason Staack
e7a5567f0c feat(ui): replace color tokens with Deep Space palette
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:30:23 -05:00
Jason Staack
258a8fe8b4 feat(ui): swap Geist for Manrope + IBM Plex Mono
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:29:26 -05:00
Jason Staack
79cc0ad793 chore: add Manrope and IBM Plex Mono font files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 17:28:57 -05:00
Jason Staack
144fb8b32d fix: resolve React Compiler lint errors
- WifiPanel: revert useEffect back to useState initializer (avoids
  synchronous setState in effect)
- Device detail: avoid Date.now() during render for push alert check

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 23:34:58 -05:00
Jason Staack
874542f802 fix: mount RollbackAlert, fix WifiPanel useEffect, remove unused PoolPanel prop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 23:17:07 -05:00
Jason Staack
f49f5f739b fix: remove dead code (toast stubs, unused Redis key, tunnel manager fields)
- Remove 7 no-op exported stubs from toast.tsx (ToastProvider, ToastViewport,
  Toast, ToastTitle, ToastDescription, ToastClose, useToasts) — nothing imports them
- Remove fwFailKey variable and its Set() call from worker.go — the
  firmware:check-failed Redis key was never read anywhere
- Remove unused deviceStore and credCache fields from tunnel.Manager struct
  and drop corresponding parameters from NewManager(); update call site in
  main.go and all test usages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 23:12:56 -05:00
Jason Staack
461bfcd89b fix: update version string from v8.0 to v9.6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 23:10:21 -05:00
Jason Staack
409fb000b5 fix(a11y): add focus trap, Escape key, and dialog role to mobile sidebar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 21:10:32 -05:00
Jason Staack
42216ea326 fix(a11y): add keyboard support and aria-expanded to audit log rows
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 21:10:17 -05:00
Jason Staack
2e9584d2c7 fix(a11y): add keyboard nav to fleet table rows, fix ARIA, add scope
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 21:10:08 -05:00
Jason Staack
c0f6f84677 fix(a11y): add aria-live to password strength, role=meter to signal bar
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 21:09:48 -05:00
Jason Staack
608a42a376 fix(a11y): add role=alert to form error messages 2026-03-15 21:08:36 -05:00
Jason Staack
bf2002f8be fix(a11y): restore keyboard access to forgot-password, add role=alert to error 2026-03-15 21:08:19 -05:00
Jason Staack
9ce4c9aa60 fix(a11y): add aria-label to collapsed sidebar links, aria-current to active 2026-03-15 21:08:09 -05:00
Jason Staack
b07659e2c2 fix(a11y): add aria-labels to unlabeled controls and table headers 2026-03-15 21:08:02 -05:00
Jason Staack
9ad5438860 fix(a11y): add focus ring to dialog close button 2026-03-15 21:07:01 -05:00
Jason Staack
5d3463b633 fix(a11y): improve color contrast for WCAG AA compliance
- Darken --text-muted in light mode (6.2:1 on white)
- Brighten --text-muted in dark mode (4.6:1 on surface)
- Split status colors: darker variants for light mode, bright for dark
- All text colors now meet WCAG AA 4.5:1 minimum

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 21:05:51 -05:00
Jason Staack
24cf57d2ca fix: remove unused WirelessIssue type import
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 20:09:56 -05:00
Jason Staack
09a3fdcfeb feat: add APs Needing Attention dashboard card
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 20:06:25 -05:00
Jason Staack
5ed98f043e feat: add wireless-issues API client functions
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 20:04:57 -05:00
Jason Staack
3600a8e0ce feat: wire WirelessTab into device detail monitor section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 20:00:07 -05:00
Jason Staack
fb3669f9ac fix(lint): resolve remaining ESLint errors (unused vars, any types, react-refresh)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:50:50 -05:00
Jason Staack
9fcabb22d3 fix(lint): resolve ESLint errors in frontend components and tests
- Remove unused imports: Mock, VariableDef, within, Badge, deviceGroupsApi, devicesApi
- Fix Unexpected any in AlertRulesPage catch block (use unknown + type assertion)
- Suppress react-refresh/only-export-components for getPasswordScore helper
- Add Link mock to LoginPage test and useAuth.getState() stub for navigation test
- Fix DeviceList tests to use data-testid selectors and correct empty state text
  (component renders dual mobile/desktop views causing multiple-element errors)
- Remove unused container destructuring from TemplatePushWizard test

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 22:20:07 -05:00
Jason Staack
2ad0367c91 fix(vpn): backport VPN fixes from production debugging
- Fix _commit_and_sync infinite recursion
- Use admin session for subnet_index allocation (bypass RLS)
- Auto-set VPN endpoint from CORS_ORIGINS hostname
- Remove server address field from VPN setup UI
- Add DELETE endpoint and button for VPN config removal
- Add wg-reload watcher for reliable config hot-reload via wg syncconf
- Add wg_status.json writer for live peer handshake status in UI
- Per-tenant SNAT for poller-to-device routing through VPN
- Restrict VPN→eth0 forwarding to Docker networks only (block exit node abuse)
- Use 10.10.0.0/16 allowed-address in RouterOS commands
- Fix structlog event= conflict (use audit=True)
- Export backup_scheduler proxy for firmware/upgrade imports
2026-03-14 20:59:14 -05:00
Jason Staack
cfa18a4095 refactor: rename remaining mikrotik references to tod across CI, helm, frontend, and observability
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 12:03:51 -05:00
Jason Staack
bb546cf4bc fix: hide first-run credential hint in production builds 2026-03-14 09:56:01 -05:00
Jason Staack
970501e453 feat: implement Remote WinBox worker, API, frontend integration, OpenBao persistence, and supporting docs 2026-03-14 09:05:14 -05:00
Jason Staack
ed3ad8eb17 chore: update about page to v9.6 and Dockerfile to Go 1.25
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 06:54:08 -05:00
Jason Staack
be41add4e9 feat(08-02): add snapshot download button to config history timeline
- Add SnapshotResponse interface and getSnapshot API method
- Add deviceName prop to ConfigHistorySection
- Add download handler that fetches snapshot and triggers .rsc file download
- Add Download icon button on each timeline entry with stopPropagation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:23:55 -05:00
Jason Staack
2cf426fa63 feat(08-01): wire diff viewer into config history timeline
- Add click handlers to timeline entries to open diff viewer
- Render DiffViewer inline above timeline when snapshot selected
- Add hover state and cursor-pointer to timeline entries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:20:52 -05:00
Jason Staack
dda00fbd23 feat(08-01): add diff viewer component and API client
- Add DiffResponse interface and getDiff method to configHistoryApi
- Create DiffViewer component with unified diff rendering
- Green highlighting for added lines, red for removed lines
- Blue styling for hunk headers, loading skeleton, error state

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 23:20:24 -05:00