fix(ios): show all active Working Today shifts #91

Merged
owlburtoe merged 1 commit from fix/issue-84-working-today into main 2026-05-21 12:08:55 -04:00
Owner

Summary

  • Fix Working Today derivation so the Day view shows every active shift group for the selected date, not only groups containing the current user.
  • Preserve overnight carryover ordering before same-day shifts and use effective shift timing for visible-date calculation.
  • Make ShiftdKit schedule decoding tolerate legacy payloads missing coverageBasis, defaulting to generated, and add Linux FoundationNetworking imports for SwiftPM tests.

Test Plan

  • git diff --check
  • cd apps/ios/ShiftdKit && swift test — blocked on this host because swift is still not on PATH (swift: command not found).

Fixes #84

## Summary - Fix `Working Today` derivation so the Day view shows every active shift group for the selected date, not only groups containing the current user. - Preserve overnight carryover ordering before same-day shifts and use effective shift timing for visible-date calculation. - Make ShiftdKit schedule decoding tolerate legacy payloads missing `coverageBasis`, defaulting to `generated`, and add Linux `FoundationNetworking` imports for SwiftPM tests. ## Test Plan - [x] `git diff --check` - [ ] `cd apps/ios/ShiftdKit && swift test` — blocked on this host because `swift` is still not on PATH (`swift: command not found`). Fixes #84
fix(ios): show all active working today shifts
All checks were successful
Code Scanning / Semgrep OSS source scan (pull_request) Successful in 36s
Code Scanning / Gitleaks secret scan (pull_request) Successful in 8s
E2E Tests / e2e (pull_request) Successful in 9m18s
Security, Type Check & Runtime / Dependency Audit (pull_request) Successful in 20s
Security, Type Check & Runtime / Type Check (pull_request) Successful in 44s
Security, Type Check & Runtime / Backend Runtime Smoke (pull_request) Successful in 39s
Security, Type Check & Runtime / Migration Guardrails (pull_request) Successful in 14s
269241b1ca
Fixes #84
owlburtoe deleted branch fix/issue-84-working-today 2026-05-21 12:08:56 -04:00
Sign in to join this conversation.
No description provided.