feat: new workspace screen with sticky search combobox design

- Replace workspace setup dialog with full-screen new workspace route
- Restyle Combobox SearchInput to match CombinedModelSelector Level 2 design:
  borderless sticky search bar above scroll area instead of inline bordered box
- CombinedModelSelector now uses shared SearchInput, removing duplicate ProviderSearchInput
- Fix TooltipTrigger children type to accept render functions (remove PropsWithChildren wrapper)
- Fix empty rightControls View causing gap between dictation and send buttons
- Add branch picker with searchable Combobox and GitBranch icons
- Muted icon buttons (attachment, dictation, voice mode) that brighten on hover
This commit is contained in:
Mohamed Boudra
2026-04-06 08:31:28 +07:00
parent c6e87744f1
commit 6362d429c7
10 changed files with 526 additions and 168 deletions
+17
View File
@@ -347,6 +347,23 @@ export function buildHostOpenProjectRoute(serverId: string): string {
return `${base}/open-project`;
}
export function buildHostNewWorkspaceRoute(
serverId: string,
sourceDirectory: string,
options?: { displayName?: string },
): string {
const base = buildHostRootRoute(serverId);
if (base === "/") {
return "/";
}
const params = new URLSearchParams();
params.set("dir", sourceDirectory);
if (options?.displayName) {
params.set("name", options.displayName);
}
return `${base}/new?${params.toString()}`;
}
export function buildHostSettingsRoute(serverId: string): string {
const base = buildHostRootRoute(serverId);
if (base === "/") {