Draw the legal-state and hiring dates with the calendar #1034

Merged
tiagoagueda merged 1 commit from date-widget-status into main 2026-10-22 01:51:38 +00:00
Owner

test_every_date_in_the_forms_is_drawn_with_the_calendar fails on main: jobs/forms.py holds two bare forms.DateInput(attrs={"type": "date"}) boxes.

Cause

Two PRs that landed within a day of each other. #1017 (date pickers) made every date in the forms the calendar widget and added this test, which reads the form modules for a bare "type": "date". #1023 (legal state and hiring entries) had added two such boxes, HiringSignalForm.noted_on and CompanyForm.legal_state_since, before the rule existed, and neither PR's CI could have seen the other.

What changed

Both use postulo.core.date_widgets.DateInput(), the calendar widget the rest of jobs/forms.py already uses.

Tests

test_company_status.py, test_date_picker_928.py and test_date_pickers_933.py: 102 passed.

Library check

None needed.

🤖 Generated with Claude Code

`test_every_date_in_the_forms_is_drawn_with_the_calendar` fails on `main`: `jobs/forms.py` holds two bare `forms.DateInput(attrs={"type": "date"})` boxes. ## Cause Two PRs that landed within a day of each other. #1017 (date pickers) made every date in the forms the calendar widget and added this test, which reads the form modules for a bare `"type": "date"`. #1023 (legal state and hiring entries) had added two such boxes, `HiringSignalForm.noted_on` and `CompanyForm.legal_state_since`, before the rule existed, and neither PR's CI could have seen the other. ## What changed Both use `postulo.core.date_widgets.DateInput()`, the calendar widget the rest of `jobs/forms.py` already uses. ## Tests `test_company_status.py`, `test_date_picker_928.py` and `test_date_pickers_933.py`: 102 passed. ## Library check None needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Draw the legal-state and hiring dates with the calendar (#941, #933)
Some checks failed
CI / Unit tests and coverage (Python 3.14) (pull_request) Successful in 12m57s
CI / Checks: lint, migrations, catalogues, settings, built files (pull_request) Successful in 2m34s
CI / Database tests on PostgreSQL (pull_request) Successful in 3m23s
CI / Security audit (pull_request) Successful in 47s
CI / Browser tests (Chromium) (pull_request) Failing after 31m6s
32333ddbc4
The date pickers (#1017) made every date in the forms the calendar widget and added a test
that reads the form modules for a bare type=date box. The legal state and the hiring entry
(#1023) were written beside it and landed after, each with a bare box. Both now use the
calendar widget.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
tiagoagueda deleted branch date-widget-status 2026-10-22 01:51:38 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Postulo/postulo!1034
No description provided.