Skip to content
Draft
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
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,14 @@ export function DeviceSessionTab(props: { tabId: string }) {
hideAttachButton
hidePrompt={!!viewingSessionID()}
/>
<Show when={workspace.data.vcs?.branch}>
<div class="w-full px-3 pb-2 md:max-w-200 md:mx-auto 2xl:max-w-[1000px]">
<div class="flex items-center gap-1 text-11-regular text-text-weak">
<Icon name="branch" size="small" class="shrink-0" />
<span class="truncate">{workspace.data.vcs?.branch}</span>
</div>
</div>
</Show>
</Show>
<Show when={!workspace.agentAvailable()}>
<div class="shrink-0 w-full pb-3 flex justify-center items-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,12 +621,6 @@ function ContentSidebar(props: { directory: string; autoExpandGroup?: () => { gr
</div>
}>
<div class="px-0 py-0.5">
<Show when={diff.state().branch}>
<div class="px-1.5 pb-1 text-11-regular text-text-weak flex items-center gap-1">
<Icon name="branch" size="small" class="shrink-0" />
<span class="truncate">{diff.state().branch}</span>
</div>
</Show>
<Show when={diff.state().stagedFiles.length > 0}>
<div
class="px-1.5 pt-1.5 pb-0.5 flex items-center gap-1 text-[11px] font-[600] text-native-muted tracking-wide uppercase cursor-pointer hover:text-native-foreground transition-colors"
Expand Down
Loading