Skip to content

fix(hr): clearer Bradford bars, team names and durations on Insights - #231

Merged
skjnldsv merged 2 commits into
mainfrom
fix/hr-insights-sick-leave
Nov 17, 2026
Merged

skjnldsv merged 2 commits into
mainfrom
fix/hr-insights-sick-leave

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

Bradford bars were scaled to the highest score, so a score of 2 filled the bar. They now fill at 900, with "Review due" or "Serious" in words next to the score. Other changes:

  • "No manager" as a team name becomes "People without a manager".
  • "0 hours" becomes "under an hour".
  • Sick leave drops its rank numbers.
  • The meter bars use element colours, so they're visible in current themes.
Before After

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

Bradford bars were scaled to the highest score, so a score of 2 filled
the bar. They are now scaled to the serious threshold (900), coloured by
level, and a "Review due" (500+) or "Serious" (900+) chip next to the
score says the level in words.

People without a manager were listed as a team called "No manager"; the
group is now "People without a manager". Durations under one hour read
"under an hour" instead of "0 hours".

The sick leave list drops its rank column and keeps the sort by days. Its
type picker is labelled "Leave type counted" and starts on the sick leave
type instead of a "Sick leave (default)" placeholder.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
The utilisation and liability bars used --color-warning and
--color-success, which are pale background colours in current Nextcloud
themes, so the bars hardly showed. They use the element colours now.

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 bug Something isn't working AI assisted This PR contains AI-assisted commits labels Nov 17, 2026
@skjnldsv skjnldsv self-assigned this Nov 17, 2026
@skjnldsv
skjnldsv merged commit 89e4d94 into main Nov 17, 2026
48 checks passed
@skjnldsv
skjnldsv deleted the fix/hr-insights-sick-leave branch November 17, 2026 15:13
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 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant