Skip to content

Premium visual overhaul — RareUI + transitions.dev #751

Description

@alex-dembele

Context

Redesign OpenRisk's visuals and micro-interactions to feel "premium and
polished," worthy of an enterprise GRC/cybersecurity tool, building on:

  • RareUI — animated React components (Tailwind + Motion, shadcn CLI)
  • transitions.dev — transitions library, installable as an agent skill

Visual identity to respect: interlocking rings (blue/purple gradient) on a
navy background, tagline "See · Understand · Act." Readability and
consistency take priority over flashy effects — this is a regulatory tool,
not a consumer app.

Step 0 — Setup

  • Install the transitions.dev skill (npx skills add Jakubantalik/transitions.dev)
  • Install via shadcn CLI: tasklist, animatedcounter, proximitysidebar, otpinput, deletebutton, notificationbell (RareUI)
  • Audit the existing codebase with transitions review (read-only)

Phase 1 — Navigation & structure

  • Main sidebar → proximitysidebar (RareUI)
  • Dropdown menus → menu-dropdown / dropdown-menu-morph
  • Detail tabs → tabs-sliding
  • Collapsible sections → accordion
  • Long forms → scrollprogressindicator (RareUI)

Phase 2 — Feedback & validations

  • Successful validations → success-check
  • Form errors → error-state-shake
  • Checklists / remediation plans → checkbox-check + tasklist (RareUI)
  • Delete button → deletebutton (RareUI)
  • Search/filter fields → input-clear-with-dissolve

Phase 3 — Dashboard & data

  • KPIs (risk score, open findings, % compliance) → animatedcounter (RareUI) + spinning-counter
  • Data loading states → skeleton-loader-and-reveal
  • Section titles/summaries → texts-reveal
  • Evaluate githubactivity (RareUI) repurposed as a risk heatmap / incident timeline (mockup before integration)

Phase 4 — Notifications & alerts

  • Notification system → notificationbell (RareUI) + notification-badge
  • Action confirmations → toast-open-close
  • Multiple alerts → banner-stacking

Phase 5 — Auth & micro-interactions

  • MFA/SSO flow → otpinput (RareUI)
  • Modals (create/edit risk, control, policy) → modal-open-close
  • Tooltips, icon swap, avatars → tooltip-open-close, icon-swap, avatar-group-hover (used sparingly)
  • 3d-tilt reserved for high-value visual elements (e.g. overall score card)

Phase 6 (optional — if AI/copilot module exists)

  • reasoning-stream / streaming-text for a potential compliance copilot's responses
  • Evaluate fluidorb / matrixorb / gridreveal (RareUI) as an AI activity indicator

Wrap-up

  • Run transitions polish to check overall consistency
  • Summarize changes per phase before merging into main

Constraints

  • Frontend only (React) — no backend Go changes
  • Respect prefers-reduced-motion and AA contrast ratios
  • One phase = atomic commits, reviewed before merge
  • Avoid overly playful effects (confetti, gooey nav, lens flare)

Branch: feat/premium-ui

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions