Skip to content

feat(console): open a project's Settings as its own list, as Settings on Projects does - #3005

Merged
fforootd merged 4 commits into
mainfrom
claude/settings-menu-inconsistency-ddb541
Nov 11, 2026
Merged

fforootd merged 4 commits into
mainfrom
claude/settings-menu-inconsistency-ddb541

Conversation

@fforootd

@fforootd fforootd commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Context

Summary

On Projects, Settings has an arrow and swaps the sidebar for its own list. Inside a project, Settings had no arrow and opened a page with General and Admins tabs. Same name and icon, two behaviours. Now both open a list, as Vercel's team and project Settings do.

The project's Settings is a list

  • /project is now a layout route (routes/_authed/project/route.tsx): it reads the project and draws its header (name, Project ID, Created) on every page.
  • Its pages are routes beneath it with nav.view: "project-settings":
    • /project/general holds the name, origins, variables and policies.
    • /project/admins holds the admins table, with "Add admin" next to an "Admins" heading instead of on the old tab row.
  • /project/ only carries the portal entry and forwards to General, so /project, /projects/<id> and the projects list's "View project" still land there.
  • Moving between General and Admins keeps the header and reads only the page's own data.

Root Settings stay the platform's

  • The Settings row on Projects is the root (platform project) settings: Profile, plus Billing, Support and Email on the cloud. A project's Settings lists its own pages. Only the way they open is shared.

Shell and search

  • New NavView "project-settings" in app-shell.tsx: /project with anything beneath it shows the list under a "‹ Settings" heading back to the project's landing (/), like Events' heading. The arrow on the project's Settings row comes from the existing depth rule (opensList).
  • Search (the ranked list from feat(console): rank search results in one list and say where each is #2968) lists General and Admins in place of the old Settings row, each marked "Settings · ", so they read apart from the root Settings' "Profile · Settings". A list's name and the row's place now join with " · " (navResults).

Docs

  • D40 in docs/design/decisions.md (amends D35) and as an amendment in console ADR 0001.
  • One rule in apps/console/AGENTS.md: add a project setting as a page in this list, never as a tab.

Validation

  • After merging main (now at feat(api): search every project a session can act on, each type from an index #2972): moon run console:lint console:typecheck console:test: 56 files, 951 tests pass.
  • moon run e2e:typecheck: passes.
  • node scripts/check-pr-title.mjs --title "…": ok.
  • The no-project search test typed "admin" to find nothing; that now finds the project's Admins page, so it types "ada".
  • Checked in the browser against console:dev-real (before the merge):
    • In a project, Settings shows the arrow and opens General.
    • Admins keeps the project header, and the heading leads back to the project.
    • Settings on Projects still opens Profile.
  • moon run workspace:check -- --only release did not finish: two timing-sensitive tests in apps/cli/tests/integration/status.spec.ts ("a server that never answers") failed while console:dev-real was running alongside. The spec passes on its own (16/16), and this PR does not touch the CLI.
  • e2e: the first CI run failed where specs still expected the old page. console-real.spec.ts and src-platform/platform-console.spec.ts now expect /project/general?project=…, and the claim journey (e2e/journey/src/claim.spec.ts) and three console-real steps open Admins from the "Project settings" navigation instead of a tab. moon run e2e:typecheck passes; the lanes themselves were not run locally (a local run was stopped), so this CI run is their check.
  • build-test also failed once on the Users spec "reads only the rows for a new term, keeping the older revisions filter", the flake test(console): name the schema read the Users search test did not expect #3002 instrumented. That run printed the unexpected read: /api/v1/schemas/sch_business?project_id=proj_test. Not touched here.

Release notes / changeset

  • Changeset: .changeset/console-project-settings-list.md (@zitadel/server, minor): a project's Settings opens its own list (General, Admins), as Settings on Projects does.

Notes

🤖 Generated with Claude Code

… on Projects does

On Projects, Settings carried an arrow and swapped the sidebar for its own
list; inside a project, Settings opened a page with General and Admins
tabs. Same name and icon, two behaviours. Now both drill down: the
project's Settings is a layout route that reads the project and draws its
header, with General and Admins as pages in a `project-settings` list. The
root Settings stay the platform project's and keep their own pages.

Recorded as D37 in console ADR 0001.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 19:38
@vercel

vercel Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
cloud Ready Ready Preview Nov 11, 2026 8:05pm UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-11T19:42:09.386918Z 8f6bcbd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: a879df8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 25 packages
Name Type
@zitadel/server Minor
@zitadel/cli Minor
@zitadel/testing Minor
@zitadel/server-linux-x64 Minor
@zitadel/server-linux-arm64 Minor
@zitadel/server-darwin-x64 Minor
@zitadel/server-darwin-arm64 Minor
@zitadel/server-win32-x64 Minor
@zitadel/api Minor
@zitadel/config Minor
@zitadel/components Minor
@zitadel/sdk-core Minor
@zitadel/sdk-next Minor
@zitadel/sdk-nuxt Minor
@zitadel/sdk-react Minor
@zitadel/sdk-vue Minor
@zitadel/sdk-angular Minor
@zitadel/sdk-solid Minor
@zitadel/sdk-svelte Minor
@zitadel/sdk-qwik Minor
@zitadel/sdk-sveltekit Minor
@zitadel/sdk-solid-start Minor
@zitadel/sdk-qwik-router Minor
@zitadel/sdk-tanstack-start Minor
@zitadel/cloud Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

main renamed Logs to Events (#3004, D38) and made search one ranked list
(#2968, D37). The project's Settings list keeps its place beside Events'
in the shell, its pages join the ranked list marked "Settings · <project>",
and its decision is renumbered D39 and logged in docs/design/decisions.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fforootd
fforootd enabled auto-merge November 11, 2026 19:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Note

Copilot was unable to complete this review at the selected tier due to model policy or plan restrictions.

🟢 Approval recommended

The change is accompanied by comprehensive updates across routing, navigation, search, documentation, and regenerated route tree, with corresponding unit and e2e test adjustments to match the new Project Settings list behavior and no active issues noted in the review evidence.

No open issues 🎉

What changed in this PR

Aligns project-level Settings navigation with the existing Settings-as-a-list pattern by turning Project Settings into a dedicated sidebar list (General/Admins) with a shared layout that keeps the project header consistent across subpages.

Changes:

  • Introduces a /project layout route that loads the project once and renders a persistent project header across nested pages.
  • Splits Project Settings into dedicated routes (/project/general, /project/admins) and adds a new nav view ("project-settings") so the shell swaps to the Settings list.
  • Updates search, tests, route tree generation, screenshots, docs, and a changeset to reflect the new navigation structure.
File Description
e2e/​console/​src-real/​console-real.spec.ts Updates real-instance e2e flows to navigate Project Settings via the new sidebar list (e.g., Admins link) instead of the old tab UI.
e2e/​console/​scripts/​screenshot-grid.mts Adjusts screenshot capture to record Project Settings General and Admins as separate pages rather than a single /project screen.
apps/​console/​src/​routeTree.gen.ts Regenerates the TanStack Router route tree to include the new /project layout route and its nested settings routes.
apps/​console/​src/​routes/​_authed/​project/​route.tsx Adds the /project layout route that loads project data and renders a persistent project header with an outlet for child pages.
apps/​console/​src/​routes/​_authed/​project/​project-detail.spec.tsx Updates project detail route tests to reflect the new default landing behavior that routes users into /project/general.
apps/​console/​src/​routes/​_authed/​project/​project-admins.spec.tsx Refactors admins-related tests to navigate through the Project Settings list and align mocked behavior with the new structure.
apps/​console/​src/​routes/​_authed/​project/​index.tsx Converts the /project/ entry route into a redirect/portal entry that forwards to the General settings page.
apps/​console/​src/​routes/​_authed/​project/​general.tsx Implements the Project Settings General page route and associated loading/rendering under the new layout.
apps/​console/​src/​routes/​_authed/​project/​admins.tsx Implements the Project Settings Admins page route with its own loader and page-level actions/heading layout.
apps/​console/​src/​nav.ts Extends navigation types/config to include the "project-settings" view used to render the Project Settings list.
apps/​console/​src/​features/​project-settings/​components/​project-admins.tsx Updates the project admins component usage/docs to match its new placement as a dedicated settings page rather than a tab.
apps/​console/​src/​app-shell/​use-nav-items.ts Introduces shared constants/logic (e.g., PROJECT_SETTINGS_PATH) so the shell can consistently detect and render the Project Settings list.
apps/​console/​src/​app-shell/​search.tsx Adjusts search indexing/results so Project Settings appears as page entries (General/Admins) grouped under Settings rather than a single Settings row.
apps/​console/​src/​app-shell/​app-shell.tsx Adds shell behavior for the "project-settings" view, including list swapping and a “‹ Settings” heading/back behavior for /project/** routes.
apps/​console/​src/​app-shell/​app-shell.spec.tsx Updates/adds unit tests covering the Project Settings list behavior, list-opening/heading behavior, and related search/navigation expectations.
apps/​console/​docs/​adrs/​0001-console-routing.md Documents the routing/navigation change as an ADR amendment describing Project Settings as a list implemented via a layout route.
apps/​console/​AGENTS.md Adds guidance that project settings should be added as pages in the Project Settings list rather than as tabs.
.changeset/​console-project-settings-list.md Adds a changeset/release note describing the new Project Settings list behavior (General/Admins) in the console.

Review effort: Balanced

fforootd and others added 2 commits November 11, 2026 11:57
The project's Settings land on /project/general, and Admins is a page of
their list rather than a tab: the console-real and console-platform URL
checks and the claim journey's Admins steps follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main took D39 for searching every project (#2972), so this PR's decision
is D40. The no-project search test keeps typing "ada", since "admin" now
finds the project's Admins page; its comment follows #2972's server search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fforootd
fforootd added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 4b443a1 Nov 11, 2026
24 of 25 checks passed
@fforootd
fforootd deleted the claude/settings-menu-inconsistency-ddb541 branch November 11, 2026 20:13
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Nov 11, 2026

This branch was successfully deployed

1 active deployment
Preview — a879df8a Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants