Skip to content

refactor(frontend): convert workspace settings from modal to routed pages#2720

Open
yangzheli wants to merge 3 commits intobytedance:mainfrom
yangzheli:feat/refactor-workspace-settings
Open

refactor(frontend): convert workspace settings from modal to routed pages#2720
yangzheli wants to merge 3 commits intobytedance:mainfrom
yangzheli:feat/refactor-workspace-settings

Conversation

@yangzheli
Copy link
Copy Markdown
Contributor

@yangzheli yangzheli commented May 4, 2026

Fixes #2723

Summary

Replace the SettingsDialog modal with a route-based settings layout under /workspace/settings, backed by a new SettingsShell with a sticky sidebar nav. Add dedicated pages for general, account, memory, tools, skills, and about, and update command palette and workspace nav menu to navigate to these routes instead of toggling a dialog. Add the new "general" section to i18n locales and shorten a few memory action labels.

Proposal

A three-phase refactor:

Phase A — Memory toolbar fix. Drop xl:flex-row, switch to a two-row responsive layout (search row, then filters + actions row with flex-wrap).

Phase B — IA reorganization. Merge Appearance + Notification into a new General section, move Account to a less prominent position, and default the entry point to general.

Phase C — Modal → route-based pages. Replace <SettingsDialog> with Next.js App Router routes under /workspace/settings/{section}, backed by a new SettingsShell layout with a sticky sidebar nav. Eliminates nested scrolling and unlocks deep links, browser back / forward, and refresh persistence.

Final section order: General → Account → Memory → Tools → Skills → About

Screenshots

Before After
02-settings-account Account
02-settings-appearance General
02-settings-memory Memory

yangzheli added 3 commits May 4, 2026 18:29
…ages

  Replace the SettingsDialog modal with a route-based settings layout under
  /workspace/settings, backed by a new SettingsShell with a sticky sidebar nav.
  Add dedicated pages for general, account, memory, tools, skills, and about,
  and update command palette and workspace nav menu to navigate to these routes
  instead of toggling a dialog. Add the new "general" section to i18n locales
  and shorten a few memory action labels.
…ce-settings

# Conflicts:
#	frontend/src/components/workspace/settings/account-settings-page.tsx
@yangzheli yangzheli marked this pull request as ready for review May 4, 2026 17:05
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.

Refactor workspace settings: from modal dialog to route-based pages

1 participant