* Add sortable columns to draft picks table on manager page Pick # column sorts by pick number (asc by default), Points column sorts by actual points then projected as tiebreaker (desc by default). Clicking a column header toggles sort direction with visual indicators. https://claude.ai/code/session_01XBnm7eKxerR7WjwrqqJPwe * Fix code review issues in TeamScoreBreakdown sortable table - Move SortIndicator out of render (avoids remount on every render) - Extract sortPicks helper outside component - Restore default sort: sport name then pick number (was lost in prior commit) - Replace unicode arrow chars with Lucide ArrowUp/ArrowDown/ArrowUpDown icons - Add aria-sort attributes to sortable column headers for accessibility - Change w-[90px] to min-w-[90px] on Pick # column to avoid clipping - Flatten nested div inside Points sort button https://claude.ai/code/session_01XBnm7eKxerR7WjwrqqJPwe * Fix pick sort to use pure pick number (matches tests) The sport-grouped tiebreaker conflicted with the test contract for the pick column. Tests expect ascending pick number = [1, 2, 3] regardless of sport, so revert sortPicks to sort by pickNumber only for that column. https://claude.ai/code/session_01XBnm7eKxerR7WjwrqqJPwe --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| draft | ||
| scoring | ||
| sport-season | ||
| sports | ||
| standings | ||
| ui | ||
| AutodraftSettings.tsx | ||
| DraftGrid.tsx | ||
| DraftSidebar.tsx | ||
| navbar.tsx | ||
| NavigationProgress.tsx | ||
| NotificationSettings.tsx | ||
| ParticipantSelector.tsx | ||
| StandingsTable.tsx | ||