Track todos in TODO.md

This commit is contained in:
Kalle
2022-07-28 19:52:59 +03:00
parent e22d169670
commit 5aa1d78ae8
5 changed files with 22 additions and 8 deletions

22
TODO.md Normal file
View File

@@ -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

View File

@@ -9,6 +9,5 @@ export const db = {
plusSuggestions,
plusVotes,
badges,
// xxx: rename to events.... or calendarEvents?
calendar,
};

View File

@@ -385,7 +385,5 @@ function calendarEvents() {
startTime: dateToDatabaseTimestamp(startTime),
});
}
// xxx: 20% of cases have 1-2 badge prizes
}
}

View File

@@ -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 (
<Main className="stack lg">
<section className="stack sm">

View File

@@ -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<typeof loader>();
const isMounted = useIsMounted();