diff --git a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx index fcad45b4..00bcaa8e 100644 --- a/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx +++ b/apps/x/apps/renderer/src/components/chat-input-with-mentions.tsx @@ -72,6 +72,7 @@ export type StagedAttachment = { const MAX_ATTACHMENT_SIZE = 10 * 1024 * 1024 // 10MB const MAX_VISIBLE_RECENT_WORK_DIRS = 3 const MAX_STORED_RECENT_WORK_DIRS = 8 +const CHAT_INPUT_TOOLTIP_DELAY_MS = 1000 // Stored in the workspace (~/.rowboat/config) so it travels with the workspace and // stays consistent with the other config/*.json files (e.g. coding-agents.json). const RECENT_WORK_DIRS_CONFIG_PATH = 'config/recent-work-dirs.json' @@ -829,7 +830,7 @@ function ChatInputInner({
- +
+ + +
+ + + {currentWorkDirLabel} + Pinned by the coding session + +
+
+ {effectiveWorkDir} +
) : ( /* Working directory lives behind a submenu so the main menu stays to two items. One hover/click away for power users; out of the way otherwise. */ @@ -880,18 +883,20 @@ function ChatInputInner({ {/* Current selection — shown for context only when one is set. */} {workDir && ( -
- - - {currentWorkDirLabel} - - {currentWorkDirPath} - - -
+ + +
+ + + {currentWorkDirLabel} + + {currentWorkDirPath} + + +
+
+ {workDir} +
)} {/* Primary action: choose when unset, change when set. Always on top. */} @@ -912,16 +917,19 @@ function ChatInputInner({ const name = basename(entry.path) || entry.path const when = formatRecentWorkDirTime(entry.lastUsedAt) return ( - { void handleSelectRecentWorkDir(entry.path) }} - className="h-8 rounded-[9px] px-2.5" - > - - {name} - {when && {when}} - + + + { void handleSelectRecentWorkDir(entry.path) }} + className="h-8 rounded-[9px] px-2.5" + > + + {name} + {when && {when}} + + + {entry.path} + ) })} @@ -947,7 +955,7 @@ function ChatInputInner({ {effectiveWorkDir && collapseLevel < 8 && ( - + {/* Level 4: collapse to a square icon */}
)} {collapseLevel < 6 && ( - + + + + + + + {isStopping ? 'Click again to force stop' : 'Stop generation'} + + ) : (