Chris Parsons
74aea1677b
refactor: update import paths to use absolute paths for better clarity and maintainability
2025-10-24 21:20:19 -07:00
Chris Parsons
decb28dc19
Implement Omni League Draft Eligibility Rules
...
- Created draft eligibility calculation logic in `app/lib/draft-eligibility.ts`
- Added interfaces for sport availability and draft eligibility
- Implemented `calculateDraftEligibility` function to determine eligible sports based on team picks and global availability
- Developed `getEligibilitySummary` function for human-readable eligibility status
- Updated API endpoints to validate eligibility before making picks
- Enhanced frontend draft room UI to reflect eligibility status and provide visual indicators for ineligible participants
- Comprehensive implementation summary and testing documentation added
- All changes type-checked and unit tests passed successfully
2025-10-24 21:12:07 -07:00
Chris Parsons
ff97e25438
feat: add autodraft status and team connection indicators to draft grid
2025-10-21 23:22:17 -07:00
Chris Parsons
86ae5014ec
feat: add admin draft reset functionality with queue and pick deletion
2025-10-21 22:34:26 -07:00
Chris Parsons
4ce71d05d2
feat: prevent users from owning multiple teams in same league
2025-10-21 22:27:14 -07:00
Chris Parsons
ee125565dd
feat: add team ownership management UI with admin controls
2025-10-21 22:15:15 -07:00
Chris Parsons
92be03575e
feat: add draft order status and teams filled count to league overview
2025-10-21 21:36:42 -07:00
Chris Parsons
fdc94b16ac
ci: reorganize workflow dependencies and remove standalone test workflow
2025-10-21 12:57:03 -07:00
Chris Parsons
0d4ce1d339
ci: add test job to GitHub workflow and setup testing dependencies
2025-10-21 12:47:11 -07:00
Chris Parsons
cf90bf52ec
feat: add draft board link visibility for all season statuses
2025-10-20 15:53:38 -07:00
Chris Parsons
6c5c9f709b
feat: add public draft board and simplify draft speed settings
2025-10-20 15:03:11 -07:00
Chris Parsons
f86dfade38
feat: add draft completion banner and event handler for draft completion state
2025-10-18 23:33:13 -07:00
Chris Parsons
01b9e23eaf
refactor: remove unused timeRemaining state and currentUserId prop in draft room
2025-10-18 23:23:29 -07:00
Chris Parsons
06db7fde7a
feat: add draft pause/resume functionality with UI controls and socket events
2025-10-18 23:19:41 -07:00
Chris Parsons
a7f5df923f
feat: add draft increment time and show team-specific timers in draft UI
2025-10-18 23:13:04 -07:00
Chris Parsons
9d41508fd0
feat: add draft API routes and implement draft room pick controls
2025-10-18 14:55:26 -07:00
Chris Parsons
1ad14bfef1
feat: add queue management UI and API endpoints for draft room
2025-10-17 17:42:40 -07:00
Chris Parsons
83e40bd59f
feat: add search, filtering and EV sorting to draft participant list
2025-10-17 16:58:35 -07:00
Chris Parsons
d0ae694283
feat: add tooltip showing overall pick number in draft grid
2025-10-17 15:41:59 -07:00
Chris Parsons
d440a70ef2
feat: implement snake draft grid visualization with real-time pick tracking
2025-10-17 12:51:47 -07:00
Chris Parsons
269499d584
feat: add draft room authentication and UI improvements with exit button
2025-10-17 12:45:30 -07:00
Chris Parsons
137c4eb0fd
feat: add draft room route and entry button from league home page
2025-10-17 12:30:58 -07:00
Chris Parsons
e2b06be6b6
feat: add socket test route and echo event handler for debugging
2025-10-17 12:15:07 -07:00
Chris Parsons
b9743aacc1
Revert Phase 8 and 9 implementations back to 0bef91e
2025-10-16 10:17:31 -07:00
Chris Parsons
d93812315d
feat: implement real-time draft room with commissioner controls and socket events
2025-10-16 01:52:17 -07:00
Chris Parsons
c820dfbdad
feat: add draft timer display with team-specific countdown UI
2025-10-16 01:36:14 -07:00
Chris Parsons
8a61085f3b
feat: add draft queue component and data fetching to draft room page
2025-10-16 01:32:23 -07:00
Chris Parsons
013edbc661
feat: add participant list to draft room with sport name and filtering
2025-10-16 01:27:57 -07:00
Chris Parsons
64d85c135a
feat: implement draft grid and reorganize draft room layout
2025-10-16 01:12:50 -07:00
Chris Parsons
045e0f2cab
feat: add draft room route and navigation button in league view
2025-10-16 01:05:20 -07:00
Chris Parsons
61ef5f3fe7
refactor: migrate server.js to TypeScript and update dependencies for socket.io support
2025-10-16 00:56:31 -07:00
Chris Parsons
0bef91e530
feat: add configurable initial and increment time settings for draft picks
2025-10-16 00:37:51 -07:00
Chris Parsons
469a85a0f8
feat: add draft pick, queue, and timer models with database schema updates
2025-10-16 00:32:48 -07:00
Chris Parsons
dd9d385f16
feat: add draft date/time selection to league creation and settings
2025-10-15 22:02:21 -07:00
Chris Parsons
501c5b183f
feat: add draft rounds configuration to league settings
2025-10-15 21:50:02 -07:00
Chris Parsons
0e68bd2037
feat: add bulk participant creation and expected value field
2025-10-15 21:21:33 -07:00
Chris Parsons
fdfce98d87
feat: add draft order management with UI for manual and random ordering
2025-10-15 08:58:35 -07:00
Chris Parsons
8c5a611b4b
feat: add random team name generation and improve league exit flow
2025-10-14 22:45:24 -07:00
Chris Parsons
6c0684f3d7
feat: add team settings route and logo URL field to teams table
2025-10-14 22:04:37 -07:00
Chris Parsons
025ba82cb2
refactor: reorganize league page layout into 2/3 and 1/3 column grid
2025-10-14 21:54:46 -07:00
Chris Parsons
7729da9cc8
refactor: simplify user update logic in Clerk webhook handler to reuse findOrCreateUser
2025-10-14 21:50:07 -07:00
Chris Parsons
1b790ed5bc
style: improve code formatting and readability in league route component
2025-10-14 21:24:58 -07:00
Chris Parsons
61929536a1
feat: add username field to users and display in league views
2025-10-14 21:20:58 -07:00
Chris Parsons
78dc3f7d96
feat: make inviteCode optional in NewSeason type for season creation
2025-10-14 12:50:54 -07:00
Chris Parsons
8c65ac9590
feat: add invite code system for league seasons with member access control
2025-10-14 12:20:36 -07:00
Chris Parsons
0999e1c980
feat: add sports selection and team management to league settings
2025-10-13 19:59:34 -07:00
Chris Parsons
94586564e2
refactor: remove isRequired field from season sports and templates
2025-10-13 15:00:59 -07:00
Chris Parsons
bd38e7495c
fix: correctly map email addresses from Clerk webhook and add debug logging
2025-10-13 11:35:50 -07:00
Chris Parsons
c343521706
feat: add icon support for sports with file upload and active seasons display
2025-10-13 10:30:47 -07:00
Chris Parsons
6814a82b76
feat: add sports detail route and update homepage meta description
2025-10-13 10:04:32 -07:00