Skip to content

feat(web): add app shell, design system, keyboard layer and passwordless auth - #3

Merged
pulkitxm merged 20 commits into
mainfrom
feat/web-shell
Jul 22, 2026
Merged

pulkitxm merged 20 commits into
mainfrom
feat/web-shell

Conversation

@pulkitxm

Copy link
Copy Markdown
Member

Adds the apps/web foundation: Tailwind v4 design tokens, Radix UI primitives, responsive app shell with command palette and hotkey system, and better-auth passwordless sign in.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 90b0d058-c964-4b23-b1b3-7705d3e61642

📥 Commits

Reviewing files that changed from the base of the PR and between 32111ab and aebcbc3.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (66)
  • .gitignore
  • apps/web/next.config.ts
  • apps/web/package.json
  • apps/web/postcss.config.mjs
  • apps/web/src/app/(app)/[...slug]/page.tsx
  • apps/web/src/app/(app)/layout.tsx
  • apps/web/src/app/(auth)/login/page.tsx
  • apps/web/src/app/api/auth/[...all]/route.ts
  • apps/web/src/app/globals.css
  • apps/web/src/app/layout.tsx
  • apps/web/src/app/page.tsx
  • apps/web/src/app/providers.tsx
  • apps/web/src/components/auth/login-form.tsx
  • apps/web/src/components/auth/provider-icons.tsx
  • apps/web/src/components/command-palette.tsx
  • apps/web/src/components/layout/app-shell.tsx
  • apps/web/src/components/layout/nav-item.tsx
  • apps/web/src/components/layout/sidebar.tsx
  • apps/web/src/components/layout/top-bar.tsx
  • apps/web/src/components/layout/workspace-shell.tsx
  • apps/web/src/components/layout/workspace-switcher.tsx
  • apps/web/src/components/shortcuts-overlay.tsx
  • apps/web/src/components/theme-provider.test.tsx
  • apps/web/src/components/theme-provider.tsx
  • apps/web/src/components/theme-toggle.tsx
  • apps/web/src/components/ui/avatar.tsx
  • apps/web/src/components/ui/badge.tsx
  • apps/web/src/components/ui/button.tsx
  • apps/web/src/components/ui/checkbox.tsx
  • apps/web/src/components/ui/dialog.tsx
  • apps/web/src/components/ui/dropdown-menu.tsx
  • apps/web/src/components/ui/empty-state.tsx
  • apps/web/src/components/ui/input.tsx
  • apps/web/src/components/ui/kbd.tsx
  • apps/web/src/components/ui/popover.tsx
  • apps/web/src/components/ui/scroll-area.tsx
  • apps/web/src/components/ui/select.tsx
  • apps/web/src/components/ui/separator.tsx
  • apps/web/src/components/ui/skeleton.tsx
  • apps/web/src/components/ui/switch.tsx
  • apps/web/src/components/ui/textarea.tsx
  • apps/web/src/components/ui/toast.tsx
  • apps/web/src/components/ui/tooltip.tsx
  • apps/web/src/components/ui/ui.test.tsx
  • apps/web/src/lib/auth/client.ts
  • apps/web/src/lib/auth/email.ts
  • apps/web/src/lib/auth/principal.ts
  • apps/web/src/lib/auth/server.ts
  • apps/web/src/lib/auth/session.ts
  • apps/web/src/lib/cn.test.ts
  • apps/web/src/lib/cn.ts
  • apps/web/src/lib/env.ts
  • apps/web/src/lib/keyboard/binding.test.ts
  • apps/web/src/lib/keyboard/binding.ts
  • apps/web/src/lib/keyboard/index.ts
  • apps/web/src/lib/keyboard/provider.tsx
  • apps/web/src/lib/keyboard/registry.ts
  • apps/web/src/lib/keyboard/use-hotkey.ts
  • apps/web/src/lib/navigation.ts
  • apps/web/src/lib/use-media-query.ts
  • apps/web/src/lib/workspace.ts
  • apps/web/src/tests/setup.ts
  • apps/web/tsconfig.json
  • apps/web/vitest.config.ts
  • biome.json
  • packages/shared/package.json

📝 Walkthrough

Walkthrough

The PR establishes the Next.js web application with authentication, workspace navigation, keyboard shortcuts, reusable UI components, theming, routes, styling, and Vitest-based tests.

Changes

Web application foundation

Layer / File(s) Summary
Application foundation and tooling
.gitignore, apps/web/{package.json,next.config.ts,postcss.config.mjs,tsconfig.json,vitest.config.ts}, apps/web/src/app/globals.css, apps/web/src/tests/*, biome.json, packages/shared/package.json
Adds web app configuration, Tailwind styling, environment validation, test setup, global providers, and updated test tooling.

Authentication and workspace

Layer / File(s) Summary
Authentication and workspace data
apps/web/src/lib/auth/*, apps/web/src/lib/workspace.ts, apps/web/src/app/(app)/layout.tsx
Configures Better Auth, session helpers, email transport, membership resolution, team loading, and authenticated workspace rendering.
Authentication and workspace routes
apps/web/src/app/(auth)/*, apps/web/src/app/api/auth/*, apps/web/src/app/page.tsx, apps/web/src/app/(app)/[...slug]/*, apps/web/src/components/auth/*
Adds login methods, auth handlers, session redirects, and workspace placeholder routing.

Client interaction and UI

Layer / File(s) Summary
Keyboard shortcut registry and execution
apps/web/src/lib/keyboard/*
Adds binding parsing, sequence matching, registry management, global handling, React hooks, overlays, and tests.
Shared UI primitives and theming
apps/web/src/components/ui/*, apps/web/src/components/theme-*, apps/web/src/lib/cn*
Adds styled Radix wrappers, form controls, toast and tooltip systems, theme switching, class merging, and component tests.
Workspace navigation shell
apps/web/src/components/layout/*, apps/web/src/components/command-palette.tsx, apps/web/src/components/shortcuts-overlay.tsx, apps/web/src/lib/navigation.ts, apps/web/src/lib/use-media-query.ts
Adds responsive sidebar and drawer navigation, breadcrumbs, workspace switching, command palette actions, shortcut display, and navigation construction.

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

Possibly related PRs

  • Noveum/orbit#11: Extends the workspace layout and provider tree with realtime issue workspace and query-provider integrations.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

🔧 Checkov (3.3.8)
apps/web/package.json

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'

apps/web/tsconfig.json

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'

biome.json

Traceback (most recent call last):
File "/usr/local/bin/checkov", line 2, in
from checkov.main import Checkov
ModuleNotFoundError: No module named 'checkov'

  • 1 others

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

@pulkitxm
pulkitxm force-pushed the feat/web-shell branch 2 times, most recently from 7eaf56b to 22c20f6 Compare July 22, 2026 18:17
@pulkitxm

Copy link
Copy Markdown
Member Author

What this looks like

Captured with headless Chromium at 2x against the dev server, signed in to the seeded Noveum workspace (3 teams, real member).

Sign in, dark

Passkey promoted, then Google and GitHub (rendered here with demo credentials set, they are hidden when the env vars are empty), divider, magic link. No password field anywhere.

sign in dark

Sign in, light

Same layout on near white surfaces, one periwinkle accent, hairline borders.

sign in light

App shell, dark

Workspace switcher, search, personal nav, workspace nav, then a section per team with Issues, Cycles and Projects. Teams come from Postgres for the signed in member.

app shell dark

App shell, light

Both themes are first class, driven entirely by CSS custom properties.

app shell light

Command palette

Opens on Cmd/Ctrl+K, entrance is 130ms opacity plus scale, grouped by nav section with the sequence hints inline.

command palette

Shortcuts overlay

Opens on ? and lists every binding currently registered in the hotkey registry, grouped by section. Nothing is hardcoded, new useHotkey calls show up here automatically.

shortcuts overlay

390px, single column

Sidebar is gone, hamburger appears, touch targets are 36px or larger.

mobile 390 shell

390px, navigation drawer

Below 1024px the sidebar becomes an overlay drawer that slides in on transform only.

mobile 390 drawer

768px

Still in drawer mode, content stays single column.

tablet 768 shell

Screenshots live on the pr-media branch under pr-3/, so nothing lands on main. The repository is private, so the raw links need repository access to load.

@pulkitxm

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@pulkitxm
pulkitxm merged commit be83a2f into main Jul 22, 2026
@pulkitxm

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.


Your included review limit is currently reached under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 46 minutes.

@pulkitxm

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.


Your included review limit is currently reached under our Fair Usage Limits Policy. Your recent PR review activity is in the 95th percentile or higher among CodeRabbit users, so adaptive limits apply. This review may still proceed through usage-based billing if eligible. Your next included review will be available in 2 minutes.

@pulkitxm

Copy link
Copy Markdown
Member Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

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