Repository navigation
Frontend redesign and minor fixes - #6
Merged
Merged
Conversation
Implement FIX.md across demo, admin, sandbox: - Add @stealthguard/ui package: Button (required type, internal pending/disabled guard, loading state, focus ring), IconButton, LinkButton, with 9 unit tests covering click-once, double-click guard during async, disabled/loading blocking, keyboard operability - Migrate every bespoke button in all three apps to the shared primitives; delete the dead per-screen button CSS - Fix logic bugs: challenge & login forms guarded against double submit (try/finally + submitting state); session table rows are now keyboard-operable (tabIndex + Enter/Space) with a regression test - Guardrails: scripts/check-shared-ui.sh hard-stops any new <button>/ role="button" outside packages/ui (wired into frontend lint); frontend/AGENT_GUIDELINES.md; linked from README.md, SPEC.md §17, DESIGN.md; all interactive changes covered by tests Verified: lint clean, prettier clean, all 3 apps build, 31/31 unit tests pass (was 19), bot-sim tests pass.
- Demo: wrap in app-layout with top-nav header (brand, DEMO/ADMIN/SANDBOX links, action icons); move centered card into main-content column - Admin: replace simple top-nav-title with full nav (brand, nav links, action icons); add nav link CSS (top-nav-brand, top-nav-links, top-nav-link, active state, hover) - Both: responsive hiding of nav links at ≤600px (matching sandbox) - All three apps now share a consistent top nav bar
- Remove sidebar (brand, profile, nav links, INITIATE SCAN button) and all associated CSS (150+ lines of dead sidebar styles) - Add 'View all N sessions' button below the 2-row overview table - Add 'Home' button at top of sessions view to return to overview - Admin layout changes from sidebar+main flex row to single column
Frontend fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.