From 03fdba3022615f30978d2e5d4b004799a0d25d7f Mon Sep 17 00:00:00 2001 From: Chris Parsons <438676+chrisparsons83@users.noreply.github.com> Date: Thu, 19 Feb 2026 17:02:55 -0800 Subject: [PATCH] Remove EV column from available participants table (#5) * Hide EV column from draft board available participants table https://claude.ai/code/session_016oJK1gmWZ48YWEZmVqm6f9 * Clean up dead expectedValue references after hiding EV column - Remove expectedValue from AvailableParticipantsSection interface - Remove EV column from Force Manual Pick commissioner dialog - Remove expectedValue from participants loader SELECT and parsing step - Retain ORDER BY expectedValue for default sort order https://claude.ai/code/session_016oJK1gmWZ48YWEZmVqm6f9 --------- Co-authored-by: Claude --- app/components/draft/AvailableParticipantsSection.tsx | 7 +------ app/routes/leagues/$leagueId.draft.$seasonId.tsx | 10 ---------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/app/components/draft/AvailableParticipantsSection.tsx b/app/components/draft/AvailableParticipantsSection.tsx index 53d5824..e877be2 100644 --- a/app/components/draft/AvailableParticipantsSection.tsx +++ b/app/components/draft/AvailableParticipantsSection.tsx @@ -6,7 +6,6 @@ interface AvailableParticipantsSectionProps { participants: Array<{ id: string; name: string; - expectedValue: number; sport: { id: string; name: string; @@ -117,7 +116,6 @@ export function AvailableParticipantsSection({ Participant Sport - EV {hasTeam && ( Queue )} @@ -127,7 +125,7 @@ export function AvailableParticipantsSection({ {participants.length === 0 ? ( No participants found @@ -192,9 +190,6 @@ export function AvailableParticipantsSection({ {participant.sport.name} - - {participant.expectedValue ? participant.expectedValue.toFixed(1) : "—"} - {hasTeam && (
diff --git a/app/routes/leagues/$leagueId.draft.$seasonId.tsx b/app/routes/leagues/$leagueId.draft.$seasonId.tsx index 5eb0700..a06917f 100644 --- a/app/routes/leagues/$leagueId.draft.$seasonId.tsx +++ b/app/routes/leagues/$leagueId.draft.$seasonId.tsx @@ -123,7 +123,6 @@ export async function loader(args: any) { .select({ id: schema.participants.id, name: schema.participants.name, - expectedValue: schema.participants.expectedValue, sport: schema.sports, }) .from(schema.participants) @@ -145,11 +144,6 @@ export async function loader(args: any) { asc(schema.participants.name) ); - // Parse decimal expectedValue (Drizzle returns strings for decimal columns) - availableParticipants = availableParticipants.map((p: any) => ({ - ...p, - expectedValue: parseFloat(p.expectedValue) || 0, - })); } // Load user's team queue if they have a team @@ -1016,7 +1010,6 @@ export default function DraftRoom() { Participant Sport - EV Action @@ -1059,9 +1052,6 @@ export default function DraftRoom() { {participant.sport.name} - - {participant.expectedValue ? participant.expectedValue.toFixed(1) : "—"} -