diff --git a/webui/src/components/thread/WorkspaceControls.tsx b/webui/src/components/thread/WorkspaceControls.tsx index 21976e5da..a64706dd2 100644 --- a/webui/src/components/thread/WorkspaceControls.tsx +++ b/webui/src/components/thread/WorkspaceControls.tsx @@ -561,7 +561,7 @@ export function WorkspaceProjectPicker({ isHero, disabled, scope, defaultScope, {compact && }
- { setFilterQuery(event.target.value); setActiveIndex(0); setActiveColumn(currentColumnIndex); setHighlightActive(false); }} className={cn("h-11 rounded-control border-transparent pl-8 text-[16px] shadow-none sm:h-9 sm:text-[12px]", compact ? "bg-muted/60" : "bg-background/80")} /> + { setFilterQuery(event.target.value); setActiveIndex(0); setActiveColumn(currentColumnIndex); setHighlightActive(false); }} className={cn("h-11 rounded-[var(--picker-field-radius)] border-transparent pl-8 text-[16px] shadow-none sm:h-9 sm:text-[12px]", compact ? "bg-muted/60" : "bg-background/80")} />
; @@ -578,7 +578,7 @@ export function WorkspaceProjectPicker({ isHero, disabled, scope, defaultScope, - { event.preventDefault(); if (canBrowse) focusDirectory(); else inputRef.current?.focus(); }} onPointerDownCapture={() => setKeyboardInteraction(false)} onKeyDownCapture={event => { @@ -593,15 +593,15 @@ export function WorkspaceProjectPicker({ isHero, disabled, scope, defaultScope, onCloseAutoFocus={event => { if (!keyboardInteraction) event.preventDefault(); }}> {t("workspace.picker.title")} {t("workspace.picker.description")} -
+
{canBrowse &&
moveHistory(-1)}> {!compact && = history.visits.length - 1} onClick={() => moveHistory(1)}>} history.previous && visitDirectory(history.previous)}>
} -
- {editingPath || !canBrowse ? changeDraft(event.target.value)} onBlur={event => { if (canBrowse && !keyboardInteraction && event.relatedTarget !== confirmRef.current) cancelPathEditing(false); }} placeholder={t("workspace.dialog.manual")} aria-label={t("workspace.dialog.manual")} aria-invalid={displayedError ? true : undefined} aria-describedby={displayedError ? errorId : undefined} className="h-9 min-w-0 flex-1 rounded-control text-[16px] sm:text-[13px]" onKeyDown={event => { +
+ {editingPath || !canBrowse ? changeDraft(event.target.value)} onBlur={event => { if (canBrowse && !keyboardInteraction && event.relatedTarget !== confirmRef.current) cancelPathEditing(false); }} placeholder={t("workspace.dialog.manual")} aria-label={t("workspace.dialog.manual")} aria-invalid={displayedError ? true : undefined} aria-describedby={displayedError ? errorId : undefined} className="h-9 min-w-0 flex-1 rounded-[var(--picker-field-radius)] text-[16px] sm:text-[13px]" onKeyDown={event => { if (event.nativeEvent.isComposing) return; if ((event.key === "ArrowDown" || event.key === "ArrowUp") && !event.altKey && activeOptions.length) { event.preventDefault(); @@ -617,15 +617,15 @@ export function WorkspaceProjectPicker({ isHero, disabled, scope, defaultScope, } }} /> : }