Skip to content

Add person.isBirthdayWeek to nametag labels - #34

Merged
Charlie-Carson merged 1 commit into
mainfrom
feature-birthday-label
Sep 27, 2026
Merged

Charlie-Carson merged 1 commit into
mainfrom
feature-birthday-label

Conversation

@jzongker

@jzongker jzongker commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added a computed person.isBirthdayWeek token to the nametag label context (true within +/-3 days of the person's birthday, year-wrap and leap-day safe) so a designer-added block can print a birthday message at check-in.

Test plan

  • src/helpers/tests/labels.test.ts red then green (jest)

@Charlie-Carson Charlie-Carson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

person.isBirthdayWeek is a computed nametag token, true within three days of the birthday, including year-end and Feb 29. The unit tests cover the window. Merging.

@Charlie-Carson
Charlie-Carson merged commit 2d8e724 into main Sep 27, 2026
@Charlie-Carson
Charlie-Carson deleted the feature-birthday-label branch September 27, 2026 22:01
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.

2 participants