Skip to content

Conversation

@jakehobbs
Copy link
Member

No description provided.

@jakehobbs jakehobbs changed the title [NOT READY, WIP] react attendance page (take 2) [NOT READY, WIP] react attendance page Jan 2, 2026
@jakehobbs jakehobbs changed the title [NOT READY, WIP] react attendance page [NOT READY, WIP] react attendance pages Jan 2, 2026
@jakehobbs jakehobbs changed the title [NOT READY, WIP] react attendance pages feat: react attendance pages Jan 3, 2026
@jakehobbs jakehobbs force-pushed the jake/react-attendance-2 branch from 0368920 to f4244e9 Compare January 3, 2026 05:58
@jakehobbs jakehobbs force-pushed the jake/react-attendance-2 branch from c877be0 to 256d8d3 Compare January 3, 2026 06:10
@jakehobbs jakehobbs marked this pull request as ready for review January 3, 2026 06:10
@jakehobbs jakehobbs requested a review from alexsapps as a code owner January 3, 2026 06:10
@jakehobbs jakehobbs requested a review from mdzirbel January 3, 2026 06:13
@jakehobbs jakehobbs requested a review from alexsapps January 11, 2026 04:38
}

getActivist(name: string): {
exists: boolean
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returning null would be more idiomatic, and prevent accidental usage of other fields under the false assumption that the activist must exist if the fields are accessible, and would simplify this implementation (no need optional chaining operator).

}
}

function nameFilter(text: string, input: string): boolean {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a doc comment for this function? not obvious what it does after staring at it for a little bit

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this file be moved to event/new/page.tsx, to make room for a future event/page.tsx that lists all the events?

and should /event be renamed to /events for consistency with /users? cursory google search says plural is preferred

sorry just noticed this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants