mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-28 20:18:06 -06:00
M6: the date picker has a Today button (#4274)
The calendar under a date field had no way to pick today: from another month the only way back was the arrows. A Today button now sits under the days, centred under the grid. It picks today from whichever month the calendar shows, exactly as a click on today's cell would: written with the field's own format through format_date, then the same commit path, so the field's scripts treat it as they treat a clicked day, the pick is one undoable edit, and the field and its calendar close. A year the field's date can't hold offers no button. Hovering it shows the full date. One UI string in all 33 catalogues, marked AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0175FWj4xFhMhSH3UpMU8DSC
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
a2ec27b477
commit
b12965ea8e
@@ -4644,8 +4644,8 @@ milestone = "M6"
|
||||
status = "shipped"
|
||||
commands = []
|
||||
tools = ["form_fill"]
|
||||
evidence = ["crates/ui-egui/tests/it/forms.rs::date_fields_offer_a_calendar", "crates/ui-egui/tests/it/forms.rs::the_calendar_follows_a_complete_date_typed_while_it_is_open"]
|
||||
notes = "a month calendar under date fields; the pick is written in the field's own date format; it opens on the field's date and moves to a whole date typed while it is open, staying on the month its arrows turned to otherwise"
|
||||
evidence = ["crates/ui-egui/tests/it/forms.rs::date_fields_offer_a_calendar", "crates/ui-egui/tests/it/forms.rs::the_calendar_follows_a_complete_date_typed_while_it_is_open", "crates/ui-egui/tests/it/forms.rs::the_calendar_picks_today_in_the_fields_format_from_any_month"]
|
||||
notes = "a month calendar under date fields; the pick is written in the field's own date format; it opens on the field's date and moves to a whole date typed while it is open, staying on the month its arrows turned to otherwise; a Today button under the days picks today from whichever month it shows, as a click on its day would (#4274)"
|
||||
|
||||
[[feature]]
|
||||
id = "form.auto-complete"
|
||||
|
||||
Reference in New Issue
Block a user