Skip to content

[UPDT] ATTENDANCE: Day-wise view leaves a week off as an empty square - #1435

Open
adamsthws wants to merge 1 commit into
horilla:dev/v2.0from
LBS-Sheet-Metal:fix/daywise-week-off-blank
Open

adamsthws wants to merge 1 commit into
horilla:dev/v2.0from
LBS-Sheet-Metal:fix/daywise-week-off-blank

Conversation

@adamsthws

Copy link
Copy Markdown
Contributor

Problem

Every week off is a strong purple "WO" chip. With two a week, the purple weekends are the most prominent thing on the grid, and the rows read as time off taken rather than days nobody was expected in.

Change

  • A week off is an empty square (a light outline), like a day still to come, and is still named "Week Off" on hover.
  • The legend shows the same square.
  • Leave, holidays and absences keep their colours, so the days that matter stand out.
  • Counts are unchanged.

Tests

attendance/tests/test_daily_week_off.py: a week off is an empty square, still named on hover.

Checklist

  • This PR targets dev/v2.0, not 2.0.
  • I've followed the coding conventions in CONTRIBUTING.md (Black + isort via the repo's pre-commit)
  • CI (Docker CI + Quality) passes
  • I've linked any related issues

Related issues

None.

A week off was a purple "WO" chip on every weekend, a strong colour for a day
nobody is expected in, which made each row read as time off taken. It is now
an empty square, like a day still to come, named on hover; the legend shows
the same square. Counts are unchanged; with a test.

This branch has not been deployed

No deployments
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.

1 participant