BikeControl (SwiftControl)
Use Zwift Click, Zwift Play, Shimano Di2, or any Bluetooth controller with MyWhoosh, Rouvy, Zwift, and more. Free to try on iOS, Android, Windows, and macOS.
Manage your sports season schedules, teams, venues, and results all in one place.
Sports & fitnessTypeScript · PLpgSQLGitHub @whitmkOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Youth sports league scheduling SaaS — www.thefieldslate.com.
League commissioners create seasons, divisions, and teams; generate conflict-free game and practice schedules; manage venues, officials, interleague play, snack shacks, and pay tracking; and share schedules with coaches and families.Read the full README ↗Youth sports league scheduling SaaS — www.thefieldslate.com.
League commissioners create seasons, divisions, and teams; generate conflict-free game and practice schedules; manage venues, officials, interleague play, snack shacks, and pay tracking; and share schedules with coaches and families.
main auto-deploys to productionThis is a production-only environment — there is no staging.
npm run dev # local preview (.env.local required)
npx tsc --noEmit # required before every commit
npx eslint <paths> # required before every commit
git push origin main # deploys to production via Vercel
Database migrations live in supabase/migrations/ (numbered 00NN_name.sql) and are applied to the live project via the Supabase MCP/dashboard — the files in the repo are the record, not the applicator. Verify schema changes against the live catalog before writing code that depends on them.
leagues = seasons. archived_at IS NULL means active. Archived seasons free their plan-cap slots.org_id = the owner's profile id. Resolve with getCurrentOrgId() (src/lib/orgs/context.ts). Multi-admin orgs share via org_members; membership checks go through the SECURITY DEFINER is_org_member() — never inline its logic.profiles.plan (free | pro | elite) is the canonical tier source. UI gating via isProPlus/isElite + FeatureLockedCard/UpgradeModal; cap enforcement lives in the create RPCs (create_division_atomic, create_team, create_league…), with matching UI counters in src/lib/plan/counts.ts — the two layers must agree.umpires + official_* tables): season-scoped roster with contact info, weekly availability windows, blackout dates, certifications, a coached-team link (umpires.team_id), and normalized season roles (official_roles). Role writes are dual-format during migration: free text in game_umpires.role/umpire_role_rates.role plus role_id → official_roles; divisions.umpire_roles jsonb stays populated until a future cleanup migration.src/lib/umpires/auto-assign.ts) is best-effort and two-tier: fully-qualified first (availability, weekly cap, no blackout, no coach conflict, no overlap), then a soft tier that relaxes availability and weekly caps. Blackouts, coach conflicts, double-booking, and time overlap are always hard blocks. Division priority orders assignment. All of its date math is client-side local-timezone (src/lib/umpires/eligibility.ts) — do not call from server code without adding a timezone parameter.src/types/database.ts is hand-curated — never regenerate it wholesale. Add new tables/columns surgically and keep the Functions map empty; RPC call sites rely on the as never convention.head: true counts combined with !inner joins return wrong numbers — fetch ids first, then count with .in(). Plain single-table filtered counts are safe.app/icon.svg, apple-icon.png, opengraph-image.png — do not add metadata.icons.#0b1c39, paper #f4f5f0, green #22c55e, dark green #16a34a.Loader2 busy states, router.refresh() after client writes, modal overlay structure, 44px tap targets on mobile surfaces).