Skip to content

Rename teams to projects in user-visible dashboard copy - #516

Merged
Kraci merged 5 commits into
mainfrom
dashboard-rename-teams-to-projects-en-1880
Jul 22, 2026
Merged

Rename teams to projects in user-visible dashboard copy#516
Kraci merged 5 commits into
mainfrom
dashboard-rename-teams-to-projects-en-1880

Conversation

@Kraci

@Kraci Kraci commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

  • Replaces every user-visible "team" with "project": switcher (PROJECT, "Create new project"), sidebar group heading, General (project id, aria-labels, Zod messages, toasts), Members, create dialog, the full blocked flow, billing plan note, error strings, and empty states.
  • Default-name display transform now renders X's Project (or Personal Project when no name is derivable) — same rule PR 2's provisioning uses. TeamNameSchema accepts apostrophes so generated names survive an edit round-trip.
  • Adds a dismissible full-width announcement banner ("Teams are being renamed to projects" → e2b.dev/docs/projects). Inverted theme colors, dismissal persisted in localStorage (link click or X)
Screenshot 2026-07-21 at 17 19 19

Testing

520 unit tests (vitest) incl. new transform/schema/banner suites and targeted render tests for the blocked-flow dialogs; unfiltered case-insensitive copy sweep with every remaining hit triaged. (A Playwright smoke spec was added and then dropped: it only asserted static copy literals already unit-covered, and the authed CI session is captcha-blocked, so it could never execute in the pipeline.)

Interim states (known, time-boxed): until PR 2, new signups still get "Default Team" names under PROJECT labels; until PR 3, existing stored names render as-is except name == email rows.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Words-only rename (first PR of the Teams → Projects stack): switcher,
sidebar, General, Members, API Keys, create dialog, blocked flow, errors,
toasts, aria-labels, and the default-name transform (X's Project /
Personal Project). Adds a dismissible announcement banner linking to the
projects docs. Machine contracts (slugs, cookies, headers, tRPC/API
names, analytics) are deliberately unchanged.
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

EN-1880

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web-foxtrot Ready Ready Preview, Comment Jul 22, 2026 10:52am

Request Review

@vercel
vercel Bot temporarily deployed to Preview – web-foxtrot July 21, 2026 15:16 Inactive
@Kraci Kraci self-assigned this Jul 21, 2026
auth.setup.ts silently persists an unauthenticated storage state when the
Ory hosted UI rejects the runner with a captcha, so authed navigation
bounces to /sign-in and timed out. Detect the bounce and skip with an
explicit reason; assertions still run whenever the session is real (local
dev mode, or CI once a captcha bypass exists for the test user).
@vercel
vercel Bot temporarily deployed to Preview – web-foxtrot July 22, 2026 10:30 Inactive
The previous guard only recognized a /sign-in URL, but an unauthenticated
/dashboard visit redirect-chains to the Ory hosted login on a different
origin, so the wait still timed out. Wait for the team-scoped URL with a
bounded deadline instead and skip (with the landing URL in the reason)
when it never arrives.
@vercel
vercel Bot temporarily deployed to Preview – web-foxtrot July 22, 2026 10:41 Inactive
It asserted static copy literals already covered by unit tests, and the
authed CI session is captcha-blocked so it only ever skipped in the
pipeline. E2E coverage should return with real user flows once the CI
test user can bypass the captcha.
@vercel
vercel Bot temporarily deployed to Preview – web-foxtrot July 22, 2026 10:52 Inactive

@ben-fornefeld ben-fornefeld left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Kraci
Kraci merged commit 464d2f9 into main Jul 22, 2026
13 checks passed
@Kraci
Kraci deleted the dashboard-rename-teams-to-projects-en-1880 branch July 22, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants