fmt(js): npm run fix on merge (#65974)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
f08b1f3445
commit
75467998f9
2 changed files with 28 additions and 25 deletions
|
|
@ -202,34 +202,34 @@ function CronJobSidebarRow({
|
|||
to the label (matching the other sidebar disclosures) and the whole
|
||||
label area toggles the run peek. */}
|
||||
<Tip label={label}>
|
||||
<button
|
||||
aria-expanded={expanded}
|
||||
aria-label={expanded ? c.hideRuns : c.showRuns}
|
||||
className="flex min-w-0 items-center gap-1.5 bg-transparent py-0.5 pl-2 pr-1 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"
|
||||
onClick={onTogglePeek}
|
||||
type="button"
|
||||
>
|
||||
<span className="grid w-3.5 shrink-0 place-items-center">
|
||||
<span
|
||||
aria-hidden="true"
|
||||
<button
|
||||
aria-expanded={expanded}
|
||||
aria-label={expanded ? c.hideRuns : c.showRuns}
|
||||
className="flex min-w-0 items-center gap-1.5 bg-transparent py-0.5 pl-2 pr-1 text-left focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"
|
||||
onClick={onTogglePeek}
|
||||
type="button"
|
||||
>
|
||||
<span className="grid w-3.5 shrink-0 place-items-center">
|
||||
<span
|
||||
aria-hidden="true"
|
||||
className={cn(
|
||||
'size-1 rounded-full',
|
||||
STATE_DOT[state] ?? 'bg-(--ui-text-quaternary)',
|
||||
state === 'running' && 'size-1.5 animate-pulse'
|
||||
)}
|
||||
/>
|
||||
</span>
|
||||
<span className="min-w-0 truncate text-[0.8125rem] text-(--ui-text-secondary) group-hover/cron:text-foreground">
|
||||
{label}
|
||||
</span>
|
||||
<DisclosureCaret
|
||||
className={cn(
|
||||
'size-1 rounded-full',
|
||||
STATE_DOT[state] ?? 'bg-(--ui-text-quaternary)',
|
||||
state === 'running' && 'size-1.5 animate-pulse'
|
||||
'shrink-0 text-(--ui-text-tertiary) transition',
|
||||
expanded ? 'opacity-100' : 'opacity-0 group-hover/cron:opacity-100'
|
||||
)}
|
||||
open={expanded}
|
||||
/>
|
||||
</span>
|
||||
<span className="min-w-0 truncate text-[0.8125rem] text-(--ui-text-secondary) group-hover/cron:text-foreground">
|
||||
{label}
|
||||
</span>
|
||||
<DisclosureCaret
|
||||
className={cn(
|
||||
'shrink-0 text-(--ui-text-tertiary) transition',
|
||||
expanded ? 'opacity-100' : 'opacity-0 group-hover/cron:opacity-100'
|
||||
)}
|
||||
open={expanded}
|
||||
/>
|
||||
</button>
|
||||
</button>
|
||||
</Tip>
|
||||
{/* Trailing cluster: countdown by default, quick actions on hover. */}
|
||||
<div className="flex items-center gap-0.5 justify-self-end pr-1">
|
||||
|
|
|
|||
|
|
@ -105,6 +105,7 @@ describe('chatPartsEquivalent', () => {
|
|||
args: {} as never,
|
||||
argsText: '{}'
|
||||
}
|
||||
|
||||
const partB = {
|
||||
type: 'tool-call' as const,
|
||||
toolCallId: 'tc-1',
|
||||
|
|
@ -126,6 +127,7 @@ describe('chatPartsEquivalent', () => {
|
|||
result: { content: 'file data' },
|
||||
isError: false
|
||||
}
|
||||
|
||||
const partB = {
|
||||
type: 'tool-call' as const,
|
||||
toolCallId: 'tc-1',
|
||||
|
|
@ -147,6 +149,7 @@ describe('chatPartsEquivalent', () => {
|
|||
args: {} as never,
|
||||
argsText: '{}'
|
||||
}
|
||||
|
||||
const partB = {
|
||||
type: 'tool-call' as const,
|
||||
toolCallId: 'tc-1',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue