feat(workbench): implement workbench window management and navigation state
Deployment Config CI / Deployment Config (push) Successful in 24s
Desktop Client Build / Resolve Build Metadata (push) Successful in 39s
Frontend CI / Frontend (push) Successful in 3m3s
Backend CI / Backend (push) Successful in 16m18s
Desktop Client Build / Build Desktop Client (push) Successful in 24m1s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 35s

This commit is contained in:
2026-05-20 15:44:26 +08:00
parent dd082e2ed1
commit 6359a2ddd3
6 changed files with 868 additions and 10 deletions
+17
View File
@@ -22,6 +22,16 @@ declare global {
password: string
}
interface WorkbenchNavigationState {
canGoBack: boolean
canGoForward: boolean
loading: boolean
url: string
title: string
host: string
secure: boolean
}
interface Window {
desktopBridge: {
app: {
@@ -85,6 +95,13 @@ declare global {
): () => void
onNetworkObserved(listener: (event: DesktopObservedRequest) => void): () => void
}
workbenchNavigation: {
getState(): Promise<WorkbenchNavigationState>
goBack(): Promise<null>
goForward(): Promise<null>
reload(): Promise<null>
onStateChanged(listener: (state: WorkbenchNavigationState) => void): () => void
}
}
}
}