|
|
@@ -259,14 +259,16 @@ with a `BOOTSTRAP_ADMIN` audit row.
|
|
|
`data-href` + `app.js`; CSP dropped `'unsafe-inline'` and the
|
|
|
Tailwind CDN host. Strict CSP now in effect.
|
|
|
- [x] **Phase 12 — Per-week weekday selection (Mo–Fr) drives Arbeitstage**
|
|
|
- (`a634582`): `sprint_weeks.active_days_mask` is the new source of
|
|
|
- truth; `max_working_days` is a cached `popcount(mask)` projection.
|
|
|
- Sprint Settings exposes five checkboxes (Mo Di Mi Do Fr) per week;
|
|
|
- the sprint view's Arbeitstage header reads the derived count
|
|
|
- read-only. `PATCH /sprints/{id}/week/{week_id}` now accepts
|
|
|
- `active_days_mask` or `active_days`; `max_working_days` in the body
|
|
|
- is rejected. Migration 002 backfills legacy rows (half-days round
|
|
|
- up, clamped to 0..5). +14 tests, 88 total (was 74).
|
|
|
+ (`a634582`, follow-up UI `1aca417`): `sprint_weeks.active_days_mask`
|
|
|
+ is the new source of truth; `max_working_days` is a cached
|
|
|
+ `popcount(mask)` projection. Sprint Settings exposes five checkboxes
|
|
|
+ (Mo Di Mi Do Fr) per week. The sprint view's Arbeitstage row shows
|
|
|
+ a row of five dots per week (green = active, gray = off) — no
|
|
|
+ labels, tooltip carries the day names. `PATCH
|
|
|
+ /sprints/{id}/week/{week_id}` now accepts `active_days_mask` or
|
|
|
+ `active_days`; `max_working_days` in the body is rejected. Migration
|
|
|
+ 002 backfills legacy rows (half-days round up, clamped to 0..5).
|
|
|
+ +14 tests, 88 total (was 74).
|
|
|
|
|
|
### Upcoming
|
|
|
|
|
|
@@ -341,6 +343,8 @@ before acting — nothing here is load-bearing once it grows stale.
|
|
|
## 13. Git history (as of this handoff)
|
|
|
|
|
|
```
|
|
|
+1aca417 Sprint view Arbeitstage: 5-dot weekday indicator instead of a number
|
|
|
+59eb1d7 HANDOFF.md: mark Phase 12 shipped
|
|
|
a634582 Phase 12: per-week weekday selection (Mo–Fr) drives Arbeitstage
|
|
|
a1a1266 HANDOFF.md: mark Phases 8–11 shipped + codify the maintenance rule
|
|
|
ab9430b Phase 11: vendor Tailwind + drop inline onclick + tighten CSP
|