File tree Expand file tree Collapse file tree
src/renderer/features/agents Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " 21st-desktop" ,
3- "version" : " 0.0.19 " ,
3+ "version" : " 0.0.20 " ,
44 "private" : true ,
55 "description" : " 1Code - UI for parallel work with AI agents" ,
66 "author" : " 21st.dev" ,
Original file line number Diff line number Diff line change @@ -170,7 +170,6 @@ import { AgentWebFetchTool } from "../ui/agent-web-fetch-tool"
170170import { AgentWebSearchCollapsible } from "../ui/agent-web-search-collapsible"
171171import { AgentsHeaderControls } from "../ui/agents-header-controls"
172172import { ChatTitleEditor } from "../ui/chat-title-editor"
173- import { McpServersIndicator } from "../ui/mcp-servers-indicator"
174173import { MobileChatHeader } from "../ui/mobile-chat-header"
175174import { PrStatusBar } from "../ui/pr-status-bar"
176175import { SubChatSelector } from "../ui/sub-chat-selector"
@@ -2430,13 +2429,12 @@ function ChatViewInner({
24302429 </ motion . div >
24312430 ) }
24322431 { /* User message text - sticky WITHIN this group */ }
2432+ { /* z-10 ensures user message stays above scrolling content (tool calls, buttons) */ }
24332433 < div
24342434 data-user-message-id = { msg . id }
24352435 className = { cn (
24362436 "[&>div]:!mb-4 pointer-events-auto" ,
2437- // Sticky within the group container
2438- // No z-index here to avoid blocking dropdowns/tooltips
2439- "sticky" ,
2437+ "sticky z-10" ,
24402438 isMobile
24412439 ? CHAT_LAYOUT . stickyTopMobile
24422440 : isSubChatsSidebarOpen
@@ -4907,8 +4905,6 @@ export function ChatView({
49074905 isDiffSidebarOpen = { isDiffSidebarOpen }
49084906 diffStats = { diffStats }
49094907 />
4910- { /* MCP Servers indicator */ }
4911- < McpServersIndicator projectPath = { originalProjectPath } />
49124908 </ >
49134909 ) }
49144910 </ div >
Original file line number Diff line number Diff line change @@ -498,12 +498,8 @@ export const AgentTodoTool = memo(function AgentTodoTool({
498498 } : undefined }
499499 >
500500 { /* TOP BLOCK - Plan title with expand/collapse button */ }
501- { /* z-[9] - UNDER user message (user message has z-10) */ }
502501 < div
503- className = { cn (
504- "rounded-t-lg border border-b-0 border-border bg-muted/30 px-2.5 py-1.5 cursor-pointer hover:bg-muted/40 transition-colors duration-150" ,
505- isCreationToolCall && "relative z-[9]"
506- ) }
502+ className = "rounded-t-lg border border-b-0 border-border bg-muted/30 px-2.5 py-1.5 cursor-pointer hover:bg-muted/40 transition-colors duration-150"
507503 onClick = { ( ) => setIsExpanded ( ! isExpanded ) }
508504 role = "button"
509505 aria-expanded = { isExpanded }
@@ -543,11 +539,7 @@ export const AgentTodoTool = memo(function AgentTodoTool({
543539 </ div >
544540
545541 { /* BOTTOM BLOCK - Current task + progress (expandable) */ }
546- { /* z-20 - ABOVE user message shadow */ }
547- < div className = { cn (
548- "rounded-b-lg border border-border bg-muted/20 shadow-xl shadow-background" ,
549- isCreationToolCall && "relative z-20"
550- ) } >
542+ < div className = "rounded-b-lg border border-border bg-muted/20 shadow-xl shadow-background" >
551543 { /* Collapsed view - progress circle + current task + count */ }
552544 { ! isExpanded && (
553545 < div
You can’t perform that action at this time.
0 commit comments