Skip to content

feat(account): personal account settings and workspace switching - #13

Merged
pulkitxm merged 7 commits into
mainfrom
feat/account-and-workspaces
Jul 23, 2026
Merged

pulkitxm merged 7 commits into
mainfrom
feat/account-and-workspaces

Conversation

@pulkitxm

Copy link
Copy Markdown
Member

Adds /settings/account (profile, connected accounts, passkeys, sessions), a workspace switcher that actually switches, and workspace creation at /workspaces/new.

@coderabbitai

coderabbitai Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 26 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 183b085a-b676-43a2-bdb8-e666a7cd6886

📥 Commits

Reviewing files that changed from the base of the PR and between 97daa74 and 4490a51.

📒 Files selected for processing (36)
  • apps/web/e2e/account-and-workspaces.spec.ts
  • apps/web/src/app/(app)/layout.tsx
  • apps/web/src/app/(app)/settings/account/connections/page.tsx
  • apps/web/src/app/(app)/settings/account/page.tsx
  • apps/web/src/app/(app)/settings/account/passkeys/page.tsx
  • apps/web/src/app/(app)/settings/account/sessions/page.tsx
  • apps/web/src/app/(app)/settings/layout.tsx
  • apps/web/src/app/(app)/workspaces/new/page.tsx
  • apps/web/src/app/api/account/credentials/route.ts
  • apps/web/src/app/api/account/profile/route.ts
  • apps/web/src/app/api/organizations/route.ts
  • apps/web/src/components/layout/app-shell.tsx
  • apps/web/src/components/layout/sidebar.tsx
  • apps/web/src/components/layout/workspace-shell.tsx
  • apps/web/src/components/layout/workspace-switcher.test.tsx
  • apps/web/src/components/layout/workspace-switcher.tsx
  • apps/web/src/features/account/connected-accounts.test.tsx
  • apps/web/src/features/account/connected-accounts.tsx
  • apps/web/src/features/account/credentials.test.ts
  • apps/web/src/features/account/credentials.ts
  • apps/web/src/features/account/data.ts
  • apps/web/src/features/account/passkeys-panel.tsx
  • apps/web/src/features/account/profile-form.test.tsx
  • apps/web/src/features/account/profile-form.tsx
  • apps/web/src/features/account/sessions-panel.tsx
  • apps/web/src/features/settings/settings-nav.tsx
  • apps/web/src/features/workspaces/create-workspace-form.test.tsx
  • apps/web/src/features/workspaces/create-workspace-form.tsx
  • apps/web/src/lib/auth/server.ts
  • apps/web/src/lib/navigation.ts
  • packages/core/src/index.ts
  • packages/core/src/org/organization-service.test.ts
  • packages/core/src/org/profile-service.test.ts
  • packages/core/src/org/profile-service.ts
  • packages/db/src/schema/auth.ts
  • packages/shared/src/validators/index.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/account-and-workspaces

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

@pulkitxm

Copy link
Copy Markdown
Member Author

Walked the whole flow in a real browser (Playwright, virtual WebAuthn authenticator over CDP) against the seeded dev workspace.

Profile

Profile

Connected accounts, GitHub linked and Disconnect blocked because it is the only sign in method

Connected accounts

Passkey added from the browser, listed with device type and created date

Passkey added

Disconnect unlocks once the passkey backs up the provider

Disconnect enabled

Sessions, current device marked, revoke one or all others

Sessions

Create workspace, slug suggested from the name

Create workspace

Lands on the new workspace board with its bootstrapped team and seven states

New workspace board

Switcher lists both workspaces with the active one checked

Switcher

Switching back sets the active organization and lands on that workspace

Switched back

Tenant isolation: a teammate who belongs only to Noveum never sees the other workspace

Isolation

@pulkitxm

Copy link
Copy Markdown
Member Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 23, 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 added 2 commits July 23, 2026 08:45
The spec asserted a connected GitHub account that only existed because a
row had been inserted by hand, so it failed against a freshly seeded
database. It now creates the row it needs before the run.
@pulkitxm
pulkitxm merged commit b0c5c49 into main Jul 23, 2026
4 checks passed
@pulkitxm
pulkitxm deleted the feat/account-and-workspaces branch July 23, 2026 04:49
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