Fixes #262 * Replace isDraftable boolean with draftOn/draftOff date fields on sport seasons Admins can now schedule when a sport season becomes available for drafting by setting explicit open and close dates instead of a manual toggle. https://claude.ai/code/session_01LHYgpyimF8v8odUB6kj8Qc * Address code review feedback on draft window implementation - sports-data-sync: use unambiguous past placeholder dates for synced seasons, with a comment explaining the intent - sports-season model: remove redundant top-level lte/gte imports (callback form already supplies them) - _journal.json: add missing trailing newline - sports-season test: mock ~/database/schema instead of stubbing all drizzle builder functions, matching the established pattern in the codebase - admin list: compute today once in component body instead of per-row https://claude.ai/code/session_01LHYgpyimF8v8odUB6kj8Qc * Fix: restore lte/gte imports removed in review cleanup The relational query where-callback in this version of Drizzle does not expose lte/gte as helper args, so they must be imported from drizzle-orm. Removing them broke CI TypeScript. https://claude.ai/code/session_01LHYgpyimF8v8odUB6kj8Qc --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| sports-data-sync.server.ts | ||
| team-names.ts | ||