Repository navigation
feat(profile): show what one's vacation days are made of - #279
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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-bytrailer.