feat(ui): dock repo and session tools in a desktop side panel

Add a docked desktop tool panel with an icon rail, driven by the shared panel URL param, and keep the mobile dialogs and drawers. Extract dialog bodies into reusable content components, rename the walkthrough dialog to a sheet, and make walkthrough generation asynchronous with client polling.
This commit is contained in:
Chris Scott committed 2026-10-07 23:58:56 -04:00
1 parent bdbcc60716
commit 485ab940aa
49 files changed
+2631 -1753

No files matched your search

+10
View File
@@ -43,10 +43,20 @@ export const ChangeWalkthroughSchema = z.object({
export type ChangeWalkthrough = z.infer<typeof ChangeWalkthroughSchema>;
export const WalkthroughGenerationErrorSchema = z.object({
message: z.string(),
code: z.string().optional(),
details: z.unknown().optional(),
});
export type WalkthroughGenerationError = z.infer<typeof WalkthroughGenerationErrorSchema>;
export const ChangeWalkthroughStateSchema = z.object({
walkthrough: ChangeWalkthroughSchema.nullable(),
currentDiffHash: z.string().nullable(),
stale: z.boolean(),
generating: z.boolean(),
error: WalkthroughGenerationErrorSchema.nullable(),
});
export type ChangeWalkthroughState = z.infer<typeof ChangeWalkthroughStateSchema>;