Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(settings): restore missing layout wrapper in settings page

Steven Enamakelfb2cfdf6f6fe
diff --git a/app/src/components/settings/layout/SettingsLayout.tsx b/app/src/components/settings/layout/SettingsLayout.tsx
index 1fde74e5f2..64464d9ea1 100644
--- a/app/src/components/settings/layout/SettingsLayout.tsx
+++ b/app/src/components/settings/layout/SettingsLayout.tsx
@@ -8,10 +8,11 @@ import SettingsSidebar from './SettingsSidebar';
const log = debug('settings:layout');
/**
- * Settings shell. The grouped navigation now lives in the root app sidebar's
- * dynamic region (projected via {@link SidebarContent}); this component only
- * renders the routed panel, which owns the single vertical scroll. The sibling
- * sub-nav chips are rendered inside each panel's header (via SettingsPanel).
+ * Settings shell, used by every target. The grouped navigation lives in the
+ * root app sidebar's dynamic region (projected via {@link SidebarContent});
+ * this component only renders the routed panel, which owns the single vertical
+ * scroll. The sibling sub-nav chips are rendered inside each panel's header
+ * (via SettingsPanel).
*/
const SettingsLayout = () => {
log('render');
diff --git a/app/src/pages/Settings.tsx b/app/src/pages/Settings.tsx
index b02918a423..786711e96a 100644
--- a/app/src/pages/Settings.tsx
+++ b/app/src/pages/Settings.tsx
@@ -4,16 +4,16 @@ import SettingsLayout from '../components/settings/layout/SettingsLayout';
import { settingsRouteElements } from '../components/settings/settingsRouteElements';
/**
- * Full-page Settings host. Used on iOS (and any non-desktop target) where
- * Settings is a routed screen rather than the desktop modal overlay. Wraps the
- * shared {@link settingsRouteElements} route table in the two-pane
- * {@link SettingsLayout} (persistent sidebar on md+, drill-down on narrow
- * viewports). Retired slugs are kept as redirects inside the shared table so
- * deep links keep working.
+ * Full-page Settings host, on every target. Wraps the shared
+ * {@link settingsRouteElements} route table in {@link SettingsLayout}, which
+ * projects the grouped settings nav into the app sidebar's dynamic region and
+ * renders the routed panel as a card — the same shape as every other routed
+ * page. Retired slugs are kept as redirects inside the shared table so deep
+ * links keep working.
*
- * Desktop no longer mounts this — it renders the same route table inside
- * `SettingsModal` (see components/settings/modal/). The route elements are
- * shared so both hosts stay in lockstep.
+ * Desktop presented this as a centered modal over a stashed background location
+ * until that overlay was retired; `/settings/*` is now an ordinary route in
+ * both `AppRoutes` and `AppRoutesIOS`.
*/
const Settings = () => {
return (