Skip to content

Commit 26d8620

Browse files
committed
Release v0.0.20
## What's New ### Fixes - Fixed z-index layering for sticky user message bubble - Removed MCP servers indicator from header
1 parent 33c2462 commit 26d8620

3 files changed

Lines changed: 5 additions & 17 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

src/renderer/features/agents/main/active-chat.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ import { AgentWebFetchTool } from "../ui/agent-web-fetch-tool"
170170
import { AgentWebSearchCollapsible } from "../ui/agent-web-search-collapsible"
171171
import { AgentsHeaderControls } from "../ui/agents-header-controls"
172172
import { ChatTitleEditor } from "../ui/chat-title-editor"
173-
import { McpServersIndicator } from "../ui/mcp-servers-indicator"
174173
import { MobileChatHeader } from "../ui/mobile-chat-header"
175174
import { PrStatusBar } from "../ui/pr-status-bar"
176175
import { 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>

src/renderer/features/agents/ui/agent-todo-tool.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)