feat(webui): add a compact composer workspace toolbar (#6256)

* feat(webui): add a compact composer workspace toolbar

* refactor(webui): simplify composer workspace access control

* feat(webui): add a draggable workspace access capsule

* refactor(webui): simplify composer permission controls

* fix(webui): align mobile workspace permissions and stabilize CI test
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-23 21:09:21 +08:00
1 parent 0254bf1217
commit cf0a0276a7
34 files changed
+528 -267

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ export function SkeletonFixture({ surface, loading }: { surface: string; loading
configured: true, ready: true, install_supported: true, status: "enabled", requires_restart: false,
};
return <main className="settings-grid mx-auto w-full max-w-4xl p-4" data-testid="skeleton-fixture">
{surface === "workspace" ? <WorkspaceProjectPicker isHero scope={{ project_path: "/srv/workspace", access_mode: "restricted" }}
{surface === "workspace" ? <WorkspaceProjectPicker scope={{ project_path: "/srv/workspace", access_mode: "restricted" }}
defaultScope={{ project_path: "/srv/workspace", access_mode: "restricted" }}
controls={{ can_change_project: true, can_browse_directories: true }}
onBrowseDirectories={(path, query, showHidden, allowPartial) => fetchWorkspaceDirectories("fixture", path, query, showHidden, allowPartial)}