Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(logs): draw failover attempts on a shared timeline - #676

Open
caigee-cmd wants to merge 1 commit into
mainfrom
feat/console-affectui-motion
Open

caigee-cmd wants to merge 1 commit into
mainfrom
feat/console-affectui-motion

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • The request log detail now draws each failover attempt as a bar on one shared timeline: it starts when the attempt did and is as wide as it took, so a slow or failed account reads without scanning a column of numbers. The attempt list below it is unchanged.
  • The bar layout follows affectui's trace waterfall, redrawn on the console status tokens (--success / --warning / --danger) with the console's 220ms motion, and it respects prefers-reduced-motion. The MIT notice is kept in the component.
  • The other affectui motion primitives were not ported: the fallback chain already exists as RouteChain but is unused and ships affectui's own blue and Inter, which the console design system forbids, and the context-window cell field has no per-source token data to draw.

Test plan

  • tsc --noEmit and oxlint on the changed files
  • npm run build and node ./scripts/sync-static.mjs
  • Open a request with several failover attempts and confirm the bars line up with the attempt list, in both light and dark
  • Open a request with a single attempt and one with no attempt detail

Each attempt in the request detail is a bar that starts when it did and
is as wide as it took, so a slow or failed account reads without scanning
a column of numbers. The layout follows affectui's trace waterfall, redrawn
on the console status tokens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant