Skip to content

feat(profile): show what one's vacation days are made of - #279

Merged
skjnldsv merged 1 commit into
mainfrom
feature/vacation-card
Nov 26, 2026
Merged

skjnldsv merged 1 commit into
mainfrom
feature/vacation-card

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

The vacation card on one's own profile showed one ring and left half the card empty. The ring now splits the used days into taken and planned, shows the days waiting for approval, and has the days left in its centre. Next to it: what the days are made of, a legend with the figures, the next leave, and a warning when carried-over days are about to expire.

Planned means approved leave starting after today, counted in the year the leave starts, the same way the server counts the balance. Other people's profiles keep the old card.

Before After
before after

Specs cover the taken/planned split and the date range. The carry-over warning shows only when days are really at risk, and my test person had none, so I haven't seen it rendered.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

The vacation card on one's own profile showed the days available in a ring
and left the rest of the card empty. The ring now splits the used days in
taken and planned, shows the days waiting for approval, and counts the days
left in its centre. Next to it: what the days are made of (the year's days,
carried over, HR's adjustment), a legend with the figures, the next leave,
and a warning when carried-over days are about to expire.

Planned days are the approved leave starting after today, counted in the
year the leave starts, as the server does for the balance.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv added 3. to review Waiting for reviews enhancement New feature request AI assisted This PR contains AI-assisted commits labels Nov 26, 2026
@skjnldsv skjnldsv self-assigned this Nov 26, 2026
@skjnldsv
skjnldsv merged commit 52b878c into main Nov 26, 2026
43 checks passed
@skjnldsv
skjnldsv deleted the feature/vacation-card branch November 26, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted This PR contains AI-assisted commits enhancement New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant