Skip to content

fix(overview): shrink flyGhost + 500ms 选号 display dwell - #445

Merged
caigee-cmd merged 3 commits into
mainfrom
fix/inflight-flyghost-shrink-outcome
Oct 29, 2026
Merged

caigee-cmd merged 3 commits into
mainfrom
fix/inflight-flyghost-shrink-outcome

Conversation

@caigee-cmd

@caigee-cmd caigee-cmd commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • InflightLiveCard flyGhost for Slot→Done/Failed now scales down during the flight (~0.42, end width ~55%) and fades even smaller (~0.28), so the ghost shrinks toward the outcome control instead of staying nearly slot-sized.
  • Queue→slot / retry flights keep the prior mild shrink + trail stretch.
  • Selecting (选号) min dwell (display-only): SelectingRequests keeps a request in the /api/live queue projection for 500ms after Start, even after BindAccount. Real Acquire / pickNext are unchanged — only the waiting-rail visibility for InflightLiveCard.
  • Bilingual unreleased changelog + synced internal/webui/static (flyGhost commit).

Empty waiting queue (context)

When capacity exists, Acquire binds in the same handler (sub-ms–ms), so the selecting window was almost always invisible under free-capacity traffic (and LIVE_POLL_MS is 2.5s). The 500ms display hold improves chance of seeing 选号 on the rail without parking waiters in the pool.

Test plan

  • Expand Overview Live now; complete a request and confirm Done fly-out shrinks toward the green control
  • Force a failed finish and confirm Failed fly-out also shrinks
  • Queue→slot handoff (mock or saturated→free) still looks fine (not over-shrunk)
  • Under free capacity, fire a request while Live is open and confirm waiting rail briefly shows 选号 (≥~500ms projection)
  • go test ./internal/logs/ -run Selecting

Scale the outcome fly-out down in flight (~0.42) and narrower end width so
the pill settles toward Done/Failed instead of staying near full slot size.
Queue→slot / retry trails keep the existing mild motion stretch.
Display-only hold in SelectingRequests after Bind so InflightLiveCard
waiting rail can show selecting; Acquire/pickNext unchanged.
@caigee-cmd caigee-cmd changed the title fix(overview): shrink InflightLiveCard slot→Done/Failed flyGhost fix(overview): shrink flyGhost + 500ms 选号 display dwell Oct 29, 2026
Session-only Done/Failed while expanded; remove rate-limit chips/bands;
restyle Outcome sinks; after hairline flash, L/R wiggle + scale settle.
Keep shrink flyGhost + 500ms 选号 dwell. Sync static + numbered notes.
@caigee-cmd
caigee-cmd merged commit 22b0634 into main Oct 29, 2026
6 checks passed
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