mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-19 17:01:37 +03:00
fix(session-ui): use V2 styling for retry tooltip (#59647)
This commit is contained in:
committed by
GitHub
Unverified
parent
cdaba26fa5
commit
432d870b02
@@ -366,7 +366,8 @@ function HomeServerRow(props: {
|
||||
|
||||
return (
|
||||
<Tooltip
|
||||
appearance="standard"
|
||||
appearance="large"
|
||||
contentClass="max-w-80 break-words"
|
||||
placement="top"
|
||||
class="flex h-7 w-full min-w-0"
|
||||
inactive={!incompatible() && !authentication()}
|
||||
|
||||
@@ -66,7 +66,12 @@ export function SessionRetry(props: { status: SessionStatus; show?: boolean }) {
|
||||
<div class="flex w-full items-start gap-2">
|
||||
<Icon name="outline-hexagonal-warning" class="shrink-0 text-v2-state-fg-danger" />
|
||||
<div class="min-w-0 flex-1">
|
||||
<Tooltip appearance="standard" value={retry()?.message ?? ""} placement="top">
|
||||
<Tooltip
|
||||
appearance="large"
|
||||
contentClass="max-w-80 break-words"
|
||||
value={retry()?.message ?? ""}
|
||||
placement="top"
|
||||
>
|
||||
<div data-slot="session-turn-retry-message" class="cursor-help truncate">
|
||||
<SessionErrorMessage message={message()} />
|
||||
</div>
|
||||
|
||||
@@ -120,7 +120,7 @@ export function ToolErrorCard(props: ToolErrorCardProps) {
|
||||
|
||||
const copyButton = () => (
|
||||
<Tooltip
|
||||
appearance="standard"
|
||||
appearance="compact"
|
||||
value={copied() ? i18n.t("ui.message.copied") : i18n.t("ui.toolErrorCard.copyError")}
|
||||
placement="top"
|
||||
gutter={4}
|
||||
|
||||
@@ -114,7 +114,7 @@ export function TextField(props: TextFieldProps) {
|
||||
</Show>
|
||||
<Show when={local.copyable}>
|
||||
<Tooltip
|
||||
appearance="standard"
|
||||
appearance="compact"
|
||||
value={label()}
|
||||
placement="top"
|
||||
gutter={4}
|
||||
|
||||
Reference in New Issue
Block a user