mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
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:
1 parent
bdbcc60716
commit
485ab940aa
49 files changed
+2631
-1753
No files matched your search
@@ -36,7 +36,7 @@ async function handleResponse(response: Response): Promise<never> {
|
||||
try {
|
||||
return JSON.parse(text) as ApiErrorResponse
|
||||
} catch {
|
||||
return { error: text }
|
||||
return { error: /^\s*</.test(text) ? `Request failed with status ${response.status}` : text }
|
||||
}
|
||||
})()
|
||||
const errorData = data as ApiErrorResponse & { message?: string; data?: { message?: unknown } }
|
||||
|
||||
Reference in new issue
Block a user