Skip to content

Make Settings a proper editor tab (0288) - #435

Merged
crs48 merged 1 commit into
mainfrom
claude/settings-as-tab
Jul 9, 2026
Merged

Make Settings a proper editor tab (0288)#435
crs48 merged 1 commit into
mainfrom
claude/settings-as-tab

Conversation

@crs48

@crs48 crs48 commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Makes Settings open as a tab in the editor's pill-tab bar, like documents and the other singleton surfaces (Tasks, Meetings, …).

What changed

  • Registered settings as a singleton TabNodeType: added to TAB_NODE_TYPES, TAB_VIEWS (gear icon → /settings), tabFromPathname (/settings, ignoring the ?section= param so switching sections stays on the one tab), navigateToNode (clicking the tab routes to /settings), and HOSTED_VIEWS (a hint for the rare split/background case; the active group renders the real route outlet).
  • Updated the two tabs.test assertions that used /settings as their example of a non-tab route (now /discover).

Verified live (worktree preview, desktop)

Opening Settings (profile menu → Settings) adds a Settings tab (active, gear icon) at /settings; the section nav sits in the bottom island and the content fills the main area. Switching sections (e.g. Network) keeps exactly one Settings tab (/settings?section=network); clicking another tab then the Settings tab round-trips the URL back to /settings. Full typecheck (94/94), lint clean, 198 workbench tests pass (2 outdated assertions updated), no console errors.

🤖 Generated with Claude Code

Register 'settings' as a singleton TabNodeType: add it to TAB_NODE_TYPES,
TAB_VIEWS (gear icon, /settings), tabFromPathname (/settings, ignoring the
?section= param so section switches stay on one tab), navigateToNode, and
HOSTED_VIEWS (a hint for the rare split/background case). Update the two
tabs.test assertions that used /settings as their non-tab example.

Signed-off-by: xNet Test <test@xnet.dev>
@crs48
crs48 temporarily deployed to pr-435 July 9, 2026 12:27 — with GitHub Actions Inactive
@crs48
crs48 temporarily deployed to pr-435 July 9, 2026 12:49 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

🖼️ UI changes in this PR

No visual differences detected in the changed UI.

CI run

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Preview removed for PR #435.

github-actions Bot added a commit that referenced this pull request Jul 9, 2026
@crs48
crs48 merged commit 8a9a6e1 into main Jul 9, 2026
33 of 48 checks passed
@crs48
crs48 deleted the claude/settings-as-tab branch July 9, 2026 13:21
github-actions Bot added a commit that referenced this pull request Jul 9, 2026
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