Fix snake draft Discord pick numbering and small UX tweaks #2

Merged
chrisp merged 3 commits from chore/draft-ux-tweaks into main 2026-05-22 04:18:12 +00:00

3 commits

Author SHA1 Message Date
Chris Parsons
94ae720b08 Fix calculatePickInfo return type to include rawPickInRound
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m31s
🚀 Deploy / ʦ TypeScript (pull_request) Successful in 2m19s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 55s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 21:11:38 -07:00
Chris Parsons
f3c1ad52ec Fix queue/picks item background and top-align pick number badge
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m37s
🚀 Deploy / ʦ TypeScript (pull_request) Failing after 1m13s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 47s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
bg-card and bg-muted resolve to the same hex value, so swap to
bg-white/[0.06] for a visible lift against the sidebar background.
Also top-aligns the pick number badge in recent picks items.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 21:06:31 -07:00
Chris Parsons
172302cad6 Fix snake draft Discord pick numbering and small UX tweaks
Some checks failed
🚀 Deploy / 🧪 Test (pull_request) Successful in 1m36s
🚀 Deploy / ʦ TypeScript (pull_request) Failing after 1m16s
🚀 Deploy / 🔍 Lint (pull_request) Successful in 48s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped
- Discord pick notifications now show the sequential pick-in-round
  (e.g. "Round 2, Pick 9") rather than the snake-adjusted slot position
  ("Round 2, Pick 5") — fixes confusing numbers on even rounds
- Remove unused pickInRound param from notifyPickMadeOnDiscord; add
  regression test for the 13-team snake draft case
- League name in draft-in-progress card is now a link to the league
  homepage alongside the existing Enter Draft button
- Overnight pause cell label shortened to "🌙 Pause" (resumesAt line
  below it already provides the time context)
- Queue and recent picks items use bg-card instead of bg-muted for
  better visual separation from the panel background

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 21:01:05 -07:00