Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 4.04 KB

implementation_plan.md

File metadata and controls

77 lines (51 loc) · 4.04 KB

UI/UX Wireframes Implementation Plan — SecureID AI

We propose updating the React frontend layout shell and core pages to match the screen placement and interaction rules defined in the UI/UX Wireframes PRD.


User Review Required

To deliver a premium visual experience that strictly adheres to the wireframe layout specifications, we propose the following implementation details:

  1. Responsive Navbar Breakpoints:
    • Desktop ($\ge 1024\text{px}$): Persistent full sidebar navigation layout.
    • Tablet ($641\text{px} - 1023\text{px}$): Sidebar collapses to an icon-only vertical rail to maximize content width.
    • Mobile ($\le 640\text{px}$): Sidebar collapses entirely. A floating bottom tab bar is introduced (Home, Scan, Assist, More).
  2. Mobile Central "Scan" Tab: Clicking the central tab on the mobile bottom navigation bar opens an interactive, blurred action sheet overlay from the bottom, offering immediate quick links to: URL Scanner, QR Scanner, Voice Scan, and Deepfake Scan.
  3. Account Deletion Safeguard: On the Privacy Settings tab, clicking "Delete my account" will trigger a dark modal overlay requiring the user to explicitly type the word DELETE into a confirmation field before enabling the destructive deletion handshake.
  4. Onboarding step indicators: Implement a visual dot-progress step bar (● ─ ○ ─ ○) indicating the user's progress through the security questionnaire, dark web breach search, and interactive tour.

Open Questions

Before starting development, please review and provide feedback on the following detail:

  • Mobile "More" Tab Action: Should the "More" tab on the mobile bottom navigation open a modal action menu (offering reports, history, settings, and logout) or redirect to a dedicated /more navigation index screen? We recommend a slide-up modal drawer to keep navigation lightning-fast without adding route indices.

Proposed Changes

We will edit source files in the /src folder.

1. Persistent Layout Enhancements

[MODIFY] Layout.tsx

  • Reorganize responsive layouts based on screen widths.
  • Implement the mobile bottom tab bar and slide-up modal sheets.
  • Bind the header logo click to redirect to /dashboard.
  • Adjust CSS class tags for tablet icon-only sidebar collapses.

2. Dashboard Onboarding & Tour Guides

[MODIFY] Dashboard.tsx

  • Format the step header indicators with progress circles matching the ● ─ ○ ─ ○ specification.
  • Link onboarding checkbox questionnaires to: Screen lock, OS updated, 2FA, and Antivirus items.

3. Settings Account & Privacy Audits

[MODIFY] Settings.tsx

  • Add "Export my data", "Delete all history", and "Delete my account" controls to the Privacy tab.
  • Implement the typed confirmation validation modal overlay.
  • Hook operations up to the cascading deletes REST endpoints in /backend.

4. Accessibility & Indicators Checks

[MODIFY] ResultCard.tsx

  • Verify that threat levels (High, Caution, Safe) are represented by both distinct text labels, colored backgrounds, and indicator icons (e.g. ShieldAlert, ShieldCheck), meeting WCAG accessibility rules (never color alone).

Verification Plan

Automated Tests

  • Run production build compilation checks:
    • npm run build

Manual Verification

  • Resize the browser window to mobile width ($< 640\text{px}$) and verify that:
    • The left sidebar vanishes.
    • The bottom navigation bar renders at the footer.
    • Clicking the central "Scan" icon displays the quick-action scanner sheet overlay.
  • Navigate to the settings privacy tab, click "Delete my account", type garbage words (confirm button must remain disabled), and then type DELETE (confirm button must enable and execute cascades).