* Add bulk import to futures odds page Adds a textarea where admins can paste odds from FanDuel, DraftKings, OddsChecker, or any site. A client-side parser extracts American odds from each line and fuzzy-matches team names to participants (exact, substring, and word-overlap matching). Shows matched/unmatched results before applying to the individual input fields. https://claude.ai/code/session_01JvgcqKSJZ36bEztfg6CkWP * Code review fixes for futures-odds page - Remove unused upsertParticipantEVWithNormalization import - Remove debug console.log statements left in save action - Move normalizeName to module level (pure function, no component deps) - Pre-compute normalized participant names once in findParticipantMatch instead of re-normalizing across three separate passes - Fix array index key on unmatched list to use composite string key - Drop unused result variable from upsertParticipantEV call https://claude.ai/code/session_01JvgcqKSJZ36bEztfg6CkWP --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| models | ||
| routes | ||
| services | ||
| test | ||
| types | ||
| utils | ||
| welcome | ||
| app.css | ||
| root.tsx | ||
| routes.ts | ||