-
Notifications
You must be signed in to change notification settings - Fork 0
Add ELTTL availability tracker #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Learn moreAll Green is an AI agent that automatically: ✅ Addresses code review comments ✅ Fixes failing CI checks ✅ Resolves merge conflicts |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
tabletennis | b914da6 | Commit Preview URL Branch Preview URL |
Dec 31 2025, 01:02 AM |
Deploying tabletennis with
|
| Latest commit: |
b914da6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://96a63da8.tabletennis.pages.dev |
| Branch Preview URL: | https://add-elttl-tracker.tabletennis.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a comprehensive ELTTL (Edinburgh League Table Tennis League) availability tracker feature. The implementation includes a complete backend API with database schema, team data scraping from the ELTTL website, and a full-featured frontend for managing player availability and team selections for fixtures.
Key changes:
- Backend API with D1 database integration for tracking teams, fixtures, players, availability, and final selections
- Web scraper to import team data from ELTTL website
- Frontend UI with Svelte components for availability management and player statistics
- Comprehensive test coverage with Vitest for both backend and frontend
Reviewed changes
Copilot reviewed 44 out of 49 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| worker/wrangler.toml | Added D1 database bindings and environment configurations |
| worker/vitest.config.ts | Vitest configuration for worker tests |
| worker/schema.sql | Database schema for teams, fixtures, players, availability, and selections |
| worker/seed.sql | Test seed data for E2E testing |
| worker/src/types.ts | TypeScript type definitions for database models and API |
| worker/src/utils.ts | Utility functions including date parsing, UUID generation, and validation |
| worker/src/database.ts | Database service layer for D1 operations |
| worker/src/scraper.ts | ELTTL website scraper to import team data |
| worker/src/index.ts | Hono API endpoints for team management and availability tracking |
| worker/src/*.test.ts | Comprehensive test suites for validation, utils, scraper, and database |
| worker/package.json | Updated dependencies including hono, vitest, and wrangler |
| frontend/vitest.config.ts | Vitest configuration for frontend tests |
| frontend/src/lib/types/availability.ts | Frontend type definitions matching backend API |
| frontend/src/lib/api/availability.ts | API client for backend communication |
| frontend/src/lib/components/availability/* | Svelte components for fixture cards, player summaries, and UI elements |
| frontend/src/routes/availability/* | Page components for availability tracker views |
| frontend/src/routes/+page.svelte | Fixed typo in homepage description |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot open a new pull request to apply changes based on the comments in this thread |
Co-authored-by: chamika <754909+chamika@users.noreply.github.com>
Co-authored-by: chamika <754909+chamika@users.noreply.github.com>
Fix review feedback: remove unused imports and redundant test conditions
|
@copilot review the PR again. The initial comments are addressed now. |

No description provided.