Settings-dialog round 1 staging repair: the provider-rewiring files
Round 1 (27d4f33) listed sidebar.tsx, keyboard-shortcuts.tsx, app/settings/page.tsx and the globals.css keyframes in its message but they were never staged. This commits exactly that content: the sidebar Settings row as a button calling the dialog provider, the mod+, chord opening the dialog, /settings redirecting to /chat/new, and the settings-pop keyframes (reduced-motion aware). No new changes — catch-up staging only. (next-env.d.ts churn left untracked-in-commit as dev-server noise.)
This commit is contained in:
+10
-7
@@ -1,8 +1,11 @@
|
||||
/** The settings route (thin settings wave): server shell over the client
|
||||
* page — same shape as the chat routes (AppShell wraps via the root
|
||||
* layout, so the sidebar + its Settings entry come along). */
|
||||
import { SettingsPage } from "@/components/settings/settings-page.tsx";
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default function Page() {
|
||||
return <SettingsPage />;
|
||||
}
|
||||
/**
|
||||
* The settings surface graduated into a centered dialog over the app
|
||||
* (settings-app wave, 2026-09-20 — owner decision: modal-only, no page).
|
||||
* The URL stays routed but redirects: nothing should land on a dead
|
||||
* page; the dialog opens via the sidebar row or mod+,.
|
||||
*/
|
||||
export default function SettingsPage() {
|
||||
redirect("/chat/new");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user