Skip to content

Add Labs settings section (AI Chat, Team synchronization) - #2554

Merged
mstomar125 merged 1 commit into
mainfrom
issue-2545-labs-settings-and-pro-pill
Sep 10, 2026
Merged

mstomar125 merged 1 commit into
mainfrom
issue-2545-labs-settings-and-pro-pill

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

Summary

  • Adds a labs category to Settings (settings-sidebar.svelte's categories array, settings-pane.svelte's routing chain) backed by a new LabsSettings component under lib/components/settings/sections/, following the existing section pattern (DatabaseSettings, IntegrationsSettings, etc.)
  • The Labs section renders two static entries:
    • AI Chat — a placeholder description, no functional controls (no AI Chat settings exist anywhere in the codebase today)
    • Team synchronization — visibly disabled (greyed out, aria-disabled), labeled "In development", not wired to pro-sync.svelte.ts, membership.svelte.ts, membership-service.ts, or any collaboration components

Scope note — Pro pill removal NOT included

This PR does not remove the "NodeSpace Pro" pill (app-shell.svelte's .pro-sync-pill-slot), which was the other half of #2545. Before touching it, I confirmed whether sign-in/account-menu access is reachable anywhere else in the app, per the issue's own acceptance criteria — it is not. Full write-up posted as a comment on #2545 (blocking finding, not a regression shipped silently).

Test plan

  • bun run test (frontend, Happy-DOM): 238 files / 4912 tests passed
  • New labs-settings.test.ts mutation-tested individually (3 targeted mutations against the component, each caught by the new assertions, then reverted)
  • bun run quality:fix: ESLint 0 errors/warnings, tsc --noEmit clean, svelte-check 0 problems, cargo fmt + cargo clippy --all-targets -D warnings clean
  • bun run test:all via the real pre-push gate (unit + browser + Rust + Tauri-seam integration + e2e) — all green, no --no-verify

🤖 Generated with Claude Code

Adds a `labs` category to Settings (settings-sidebar.svelte's categories
array, settings-pane.svelte's routing chain) backed by a new
LabsSettings component under lib/components/settings/sections/. It
renders two static entries: an AI Chat placeholder (no functional
controls, since no AI Chat settings exist anywhere yet) and a visibly
disabled Team synchronization entry labeled "In development" that is
not wired to any Pro/membership/collaboration code.

Does not touch the NodeSpace Pro pill (app-shell.svelte's
.pro-sync-pill-slot) — see the accompanying issue comment for why that
half of the issue is blocked rather than completed.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@mstomar125

Copy link
Copy Markdown
Contributor Author

Reviewed (adversarial pass): confirmed the Labs section genuinely mirrors the existing section pattern (compared structurally against integrations-settings.svelte), Team synchronization confirmed genuinely inert (no store/service/handler imports at all, aria-disabled correctly passed through), AI Chat confirmed a true placeholder with no invented controls. Tests are meaningfully shaped — zero-interactive-control assertion directly catches a stray control appearing, aria-disabled assertion directly catches the flag being dropped. Scope clean (5 files, 86/0, app-shell.svelte and pill components untouched as expected given the deferred pill-removal half). Merging.

@mstomar125
mstomar125 merged commit 1d70ef5 into main Sep 10, 2026
@mstomar125
mstomar125 deleted the issue-2545-labs-settings-and-pro-pill branch September 10, 2026 05:40
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