Display corps birthday
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- full-stack
Research direction
Inspect CorpsDisplay and the corps/stats router, starting with the existing date calculation used for the “Gick med i corpset...” text. Reuse or extract that calculation and account for currentDate so the logic remains pure. Done means a 🎂 appears after the corps name only on its corps-birthday, based on the earliest first rehearsal or first gig.
Written by the indexing model from the issue text.
Description
Add a cake emoji (🎂) at the end of a corps' name in CorpsDisplay if the current date is their corps-birthday. Meaning, the date of their first rehearsal or first gig (whichever is earliest).
This date is already calculated when building the text in the component (in "Gick med i corpset..."), so preferably this value should be reused in both places. Even MORE preferably the calculation should be moved out to its own function in the corps/stats router.
To keep the router function pure either the component or router API could take currentDate as an argument and use that for checking if the current date is their corps-birthday, rather than using new Date() directly in the code, as that would make the function non-pure.
- Dominant language
- TypeScript
- Stars
- 5
- Forks
- 1
- Avg merge
- 1m
- Merged PRs (30d)
- 14
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CodeyBoi/appendix3
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
🙆/🙅 for balleten Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
All issues in CodeyBoi/appendix3
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·