afterhours-shift-manager/tests
seahaven-openswe[bot] b8ab4d6b77
Some checks are pending
Deploy / deploy (push) Waiting to run
Deploy / release (push) Blocked by required conditions
[#134] Clarify dropping a shift and differentiate night rows (#138)
* Expand /oncall date parser to accept more formats

Users entering everyday forms like 7/3/26 hit a generic parse
failure because the parser only accepted four-digit years and a
bare m/d. Add two-digit-year and month-name (with optional
ordinal/year) formats, treating explicit-year inputs as fixed and
keeping the year-less roll-forward for bare m/d. Update the help
text and per-command parse hints to match.

Refs: #133

* Let drop pick a shift and flag night rows

Drop now accepts an optional [day|night|holiday] qualifier and, when a
date carries more than one shift the user holds, asks which to drop
instead of silently releasing the holiday or weekend day shift. The
static post also tags day/night rows with distinct glyphs and labels on
weekdays, so the after-hours row is unmistakable.

Refs: #134

* Refine night-row labeling and drop notifications

Weekday rows are night-only, so the moon glyph alone marks the
after-hours shift; the verbose time-range label is kept only on
weekend rows where day and night shifts coexist. Channel shift-change
notifications now label the shift on every day for parity. Thread the
caller's user_id through the regular-drop path instead of re-reading it
off the employee record, and document the user-facing changes.

Refs: #134

---------

Co-authored-by: amoussa1229 <166072409+amoussa1229@users.noreply.github.com>
2026-06-26 15:19:22 -04:00
..
holiday_router Fix holiday router 3CX IVR calls (Receptionists entity, not IVRs) (#124) 2026-06-17 12:04:10 -04:00
release_notifier Add changelog-driven releases and App Home tab (#112) 2026-06-11 19:41:31 -04:00
ring_scheduler Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00
roster_sync Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00
scripts Add changelog-driven releases and App Home tab (#112) 2026-06-11 19:41:31 -04:00
shared [#134] Clarify dropping a shift and differentiate night rows (#138) 2026-06-26 15:19:22 -04:00
slack_bot [#134] Clarify dropping a shift and differentiate night rows (#138) 2026-06-26 15:19:22 -04:00
weekly_post Add holiday shifts with 3CX routing and late-pickup approval (#121) 2026-06-17 11:14:29 -04:00
conftest.py Add holiday shifts with 3CX routing and late-pickup approval (#121) 2026-06-17 11:14:29 -04:00
requirements.txt Add pytest suite and wire it into CI (#85) (#86) 2026-06-01 19:07:08 -04:00