Skip to content

feat(web): AI-native frontend redesign#7

Merged
shibadityadeb merged 1 commit into
mainfrom
frontend-redesign
Jul 16, 2026
Merged

feat(web): AI-native frontend redesign#7
shibadityadeb merged 1 commit into
mainfrom
frontend-redesign

Conversation

@shibadityadeb

@shibadityadeb shibadityadeb commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

Ground-up frontend redesign turning the web app from an internal admin dashboard into a premium, AI-first product (Linear / Notion / Vercel / Anthropic Console feel). Frontend only — no backend API, database, or Temporal changes. The Company Memory Engine (PR #6) is already on main; this builds on top of it.

What's included

Design system — neutral grays + one indigo→violet AI accent (primary action = accent), Geist Sans/Mono, elevation + glass + dotted-grid tokens, HSL variables mapped through Tailwind, dark-first with a polished light mode.

Shell & IA — product-language navigation (Home · Ask Brain · Knowledge · People · Meetings · Tasks · Projects · Company Memory · Documents · Integrations); engineering surfaces (graph, timelines, conflicts, changes, library) collapsed into a Developer tools group. Animated sidebar (+ mobile drawer), top bar, page transitions, universal ⌘K command palette, and a floating AI assistant dock.

Pages — split-screen animated auth (canvas knowledge-graph visualization), Home (hero ask bar, stats, recently learned, changes, latest docs), Ask Brain (grounded conversational search + context panel), and friendly typed views People / Meetings / Tasks / Projects over the existing knowledge API.

Primitives & motion — skeletons, badges, empty states, AI "thinking" indicator, reusable entity cards; a Framer Motion token language with prefers-reduced-motion support.

Notes

  • Grounded, not fabricated: there's no LLM/chat endpoint yet, so Ask Brain performs real hybrid search (/knowledge/search) and cites real sources rather than inventing prose. Wiring an LLM later turns the same UI into streaming answers.
  • People/Meetings/Tasks/Projects are friendly presentations over knowledge-object types (no dedicated APIs exist).
  • Next iteration (documented in docs/frontend-redesign.md §10): React Flow graph rebuild; bespoke restyle of internal Memory/Timeline pages.

Verification

  • tsc --noEmit ✅ · eslint ✅ · next build ✅ (all routes build)
  • Full handoff (folder structure, tokens, component inventory, motion, theme, responsive, a11y, IA mapping) in docs/frontend-redesign.md.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a redesigned workspace with dark mode, updated navigation, responsive sidebar, animations, and refreshed visual styling.
    • Added Ask Company Brain search with suggestions, matched entities, memories, context, and quick access from the interface.
    • Added searchable collections for people, projects, tasks, meetings, and calendar events.
    • Added command search via ⌘K/Ctrl-K, plus a floating Ask Brain shortcut.
    • Added a refreshed home page with workspace statistics, recent activity, documents, and quick actions.
    • Sign-in now routes to the new home experience.

Reframe the web app from an internal admin dashboard into a premium,
AI-first product (Linear/Notion/Vercel/Anthropic Console feel). Frontend
only — no backend API, database or Temporal changes.

Design system
- neutral grays + one indigo→violet AI accent; primary action = accent.
- Geist Sans/Mono (self-hosted), elevation scale, glass, dotted grid.
- HSL token system in globals.css mapped through tailwind.config; dark-first.

Shell and IA
- product-language navigation (Home, Ask Brain, Knowledge, People,
  Meetings, Tasks, Projects, Company Memory, Documents, Integrations);
  engineering surfaces moved into a collapsed "Developer tools" group.
- new shell: animated sidebar (+ mobile drawer), top bar, page transitions.
- universal command palette (Cmd/Ctrl-K) wired to hybrid entity search.
- floating AI assistant dock.

Pages
- split-screen animated auth (canvas knowledge-graph visualization).
- Home: hero ask bar, stats, recently learned, changes, latest docs.
- Ask Brain: grounded conversational search with a context panel.
- People / Meetings / Tasks / Projects: friendly typed views over the
  existing knowledge API.

Primitives and motion
- skeletons, badges, empty states, AI thinking indicator, entity cards.
- Framer Motion token language (lib/motion.ts), reduced-motion support.

Ask Brain, palette and dock use the hybrid /knowledge/search endpoint so
natural-language questions return results (substring list would not match).

Deps: framer-motion, cmdk, geist. Verified: tsc, eslint, next build.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 64873015-6abc-40c6-afa5-0463d5a382ec

📥 Commits

Reviewing files that changed from the base of the PR and between 05a32b1 and cb875e4.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (30)
  • apps/web/package.json
  • apps/web/src/app/(app)/ask/page.tsx
  • apps/web/src/app/(app)/home/page.tsx
  • apps/web/src/app/(app)/layout.tsx
  • apps/web/src/app/(app)/meetings/page.tsx
  • apps/web/src/app/(app)/people/page.tsx
  • apps/web/src/app/(app)/projects/page.tsx
  • apps/web/src/app/(app)/tasks/page.tsx
  • apps/web/src/app/(auth)/callback/page.tsx
  • apps/web/src/app/(auth)/layout.tsx
  • apps/web/src/app/(auth)/login/page.tsx
  • apps/web/src/app/globals.css
  • apps/web/src/app/layout.tsx
  • apps/web/src/app/page.tsx
  • apps/web/src/components/auth/neural-canvas.tsx
  • apps/web/src/components/cards/entity-card.tsx
  • apps/web/src/components/collections/knowledge-collection.tsx
  • apps/web/src/components/shell/ai-dock.tsx
  • apps/web/src/components/shell/command-menu.tsx
  • apps/web/src/components/shell/page-transition.tsx
  • apps/web/src/components/shell/shell-context.tsx
  • apps/web/src/components/shell/sidebar.tsx
  • apps/web/src/components/shell/topbar.tsx
  • apps/web/src/components/ui/primitives.tsx
  • apps/web/src/lib/api.ts
  • apps/web/src/lib/entities.ts
  • apps/web/src/lib/motion.ts
  • apps/web/src/lib/nav.ts
  • apps/web/tailwind.config.ts
  • docs/frontend-redesign.md

📝 Walkthrough

Walkthrough

The frontend redesign adds a new application shell, shared visual system, animated authentication experience, home dashboard, grounded Ask Brain search, and reusable knowledge collection pages for people, meetings, projects, and tasks.

Changes

Frontend redesign

Layer / File(s) Summary
Design system and shared UI foundations
apps/web/src/app/globals.css, apps/web/src/app/layout.tsx, apps/web/tailwind.config.ts, apps/web/src/lib/*, apps/web/src/components/ui/primitives.tsx, docs/frontend-redesign.md
Adds design tokens, Geist fonts, motion presets, entity metadata, typed search results, reusable UI primitives, Tailwind extensions, and redesign documentation.
Authentication experience
apps/web/src/app/(auth)/*, apps/web/src/components/auth/neural-canvas.tsx, apps/web/src/app/page.tsx
Reworks the login screen with animated neural-canvas content, simplifies the auth layout, and redirects authenticated entry points to /home.
Application shell and navigation
apps/web/src/app/(app)/layout.tsx, apps/web/src/components/shell/*, apps/web/src/lib/nav.ts
Adds provider-based shell state, responsive sidebar and topbar navigation, command search, AI dock, route transitions, and grouped navigation configuration.
Home dashboard and Ask Brain
apps/web/src/app/(app)/home/page.tsx, apps/web/src/app/(app)/ask/page.tsx
Adds API-backed dashboard sections and a multi-turn Ask Brain interface that searches entities and memories in parallel.
Knowledge collections and entity cards
apps/web/src/components/cards/entity-card.tsx, apps/web/src/components/collections/knowledge-collection.tsx, apps/web/src/app/(app)/(people|meetings|projects|tasks)/*
Adds searchable, sorted entity collections and configures dedicated People, Meetings, Projects, and Tasks pages.

Estimated code review effort: 4 (Complex) | ~60 minutes

Sequence Diagram(s)

sequenceDiagram
  participant User
  participant AskPage
  participant KnowledgeGraphAPI
  participant MemoryAPI
  User->>AskPage: Submit question
  AskPage->>KnowledgeGraphAPI: Search entities
  AskPage->>MemoryAPI: List matching memories
  KnowledgeGraphAPI-->>AskPage: Return entity results
  MemoryAPI-->>AskPage: Return memory results
  AskPage-->>User: Render results and context
Loading

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch frontend-redesign

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shibadityadeb
shibadityadeb merged commit cb35152 into main Jul 16, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant