pilot: show pipette icon without context label

This commit is contained in:
Ruslan Bakiev
2026-02-23 08:32:37 +07:00
parent cd2267e9d3
commit 24c771d143

View File

@@ -4503,13 +4503,13 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
class="context-pipette-trigger"
:class="contextPickerEnabled ? 'context-pipette-active' : ''"
:disabled="pilotTranscribing || pilotSending"
aria-label="Контекстная пипетка"
:title="contextPickerEnabled ? 'Выключить пипетку' : 'Включить пипетку контекста'"
@click="toggleContextPicker"
>
<svg viewBox="0 0 24 24" class="h-3.5 w-3.5 fill-current">
<path d="M19.29 4.71a1 1 0 0 0-1.42 0l-2.58 2.58-1.17-1.17a1 1 0 0 0-1.41 0l-1.42 1.42a1 1 0 0 0 0 1.41l.59.59-5.3 5.3a2 2 0 0 0-.53.92l-.86 3.43a1 1 0 0 0 1.21 1.21l3.43-.86a2 2 0 0 0 .92-.53l5.3-5.3.59.59a1 1 0 0 0 1.41 0l1.42-1.42a1 1 0 0 0 0-1.41l-1.17-1.17 2.58-2.58a1 1 0 0 0 0-1.42z" />
</svg>
<span>Контекст</span>
</button>
<div v-else class="pilot-context-chips">
@@ -6417,14 +6417,14 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")
.context-pipette-trigger {
display: inline-flex;
align-items: center;
gap: 6px;
border-radius: 999px;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.28);
background: rgba(255, 255, 255, 0.06);
color: rgba(245, 247, 255, 0.94);
padding: 4px 10px;
font-size: 11px;
line-height: 1;
padding: 0;
transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}