diff --git a/TODO.md b/TODO.md new file mode 100644 index 000000000..b04c307c8 --- /dev/null +++ b/TODO.md @@ -0,0 +1,22 @@ +# Focus + +Calendar + +## Features + +- [ ] Add badges to the seed +- [ ] Implement badge prizes +- [ ] Implement tags +- [ ] Page to add a new event + - [ ] Different fields to submit depending on if future date or past date +- [ ] Edit page (add winners this way) +- [ ] Winners on the event info page +- [ ] Add "playerCount" to Tournament table +- [ ] There should be a banner on the list page if you have past tournaments to report +- [ ] On the user page tab showing past results + +## Other + +- [ ] Rename model events -> calendarEvents +- [ ] On the event page should not say Day 1 if only one day +- [ ] WeekLinks make opaque blocks not take space on mobile diff --git a/app/db/index.ts b/app/db/index.ts index 0fd5814fa..d359266fb 100644 --- a/app/db/index.ts +++ b/app/db/index.ts @@ -9,6 +9,5 @@ export const db = { plusSuggestions, plusVotes, badges, - // xxx: rename to events.... or calendarEvents? calendar, }; diff --git a/app/db/seed.ts b/app/db/seed.ts index b6c2b5d86..cbb16eb1d 100644 --- a/app/db/seed.ts +++ b/app/db/seed.ts @@ -385,7 +385,5 @@ function calendarEvents() { startTime: dateToDatabaseTimestamp(startTime), }); } - - // xxx: 20% of cases have 1-2 badge prizes } } diff --git a/app/routes/calendar/$id.tsx b/app/routes/calendar/$id.tsx index 17562ec21..d2c80ce3d 100644 --- a/app/routes/calendar/$id.tsx +++ b/app/routes/calendar/$id.tsx @@ -35,10 +35,6 @@ export default function CalendarEventPage() { const { i18n } = useTranslation(); const isMounted = useIsMounted(); - // xxx: should not say day 1 if we only have one day - // -> implement badges - // -> implement tags - return (
diff --git a/app/routes/calendar/index.tsx b/app/routes/calendar/index.tsx index b9369c1f0..85d4e6efa 100644 --- a/app/routes/calendar/index.tsx +++ b/app/routes/calendar/index.tsx @@ -123,7 +123,6 @@ export default function CalendarPage() { ); } -// xxx: overflows on mobile -> make it so that opaque blocks don't take space or are "allowed" to overflow? function WeekLinks() { const data = useLoaderData(); const isMounted = useIsMounted();