From c9d3ee73cd6e250a00a3916a031474e342b339ab Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Sat, 25 Oct 2025 18:25:26 -0700 Subject: [PATCH] feat: Update DraftSidebar to include recent picks section and refactor layout; enhance AvailableParticipantsSection and QueueSection styling --- app/components/DraftSidebar.tsx | 52 +++++++------ .../draft/AvailableParticipantsSection.tsx | 8 +- app/components/draft/QueueSection.tsx | 76 +++---------------- app/components/draft/SidebarRecentPicks.tsx | 61 +++++++++++++++ app/components/draft/TeamsDraftedGrid.tsx | 61 ++++++++------- app/root.tsx | 14 +++- .../leagues/$leagueId.draft.$seasonId.tsx | 62 +++++++-------- 7 files changed, 175 insertions(+), 159 deletions(-) create mode 100644 app/components/draft/SidebarRecentPicks.tsx diff --git a/app/components/DraftSidebar.tsx b/app/components/DraftSidebar.tsx index 278bf4b..ead39bd 100644 --- a/app/components/DraftSidebar.tsx +++ b/app/components/DraftSidebar.tsx @@ -13,7 +13,7 @@ interface DraftSidebarProps { collapsed: boolean; onCollapsedChange: (collapsed: boolean) => void; queueSection: ReactNode; - participantsSection: ReactNode; + recentPicksSection: ReactNode; className?: string; } @@ -21,27 +21,31 @@ export function DraftSidebar({ collapsed, onCollapsedChange, queueSection, - participantsSection, + recentPicksSection, className, }: DraftSidebarProps) { if (collapsed) { return (