Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/web/src/components/CodeViewerPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ export default function CodeViewerPanel() {
size="icon-xs"
variant="ghost"
onClick={closeViewer}
aria-label="Close code viewer"
aria-label="Close all open files"
title="Close all open files"
>
<XIcon className="size-4" />
</Button>
Expand Down
10 changes: 8 additions & 2 deletions apps/web/src/components/file-view/FileViewShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,17 @@ export function FileViewShell(props: { initialCwd: string; initialPath: string |
onCloseTab={onCloseTab}
onCloseAll={onCloseAll}
/>
<div className="flex shrink-0 items-center gap-2">
<div className="flex shrink-0 items-center gap-2 [-webkit-app-region:no-drag]">
<span className="hidden text-[10px] text-muted-foreground/50 sm:inline">
Select code + {modKey}L to add context
</span>
<Button size="icon-xs" variant="ghost" onClick={onCloseAll} aria-label="Close all tabs">
<Button
size="icon-xs"
variant="ghost"
onClick={onCloseAll}
aria-label="Close all open files"
title="Close all open files"
>
<XIcon className="size-4" />
</Button>
</div>
Expand Down
Loading