Replace Date text fields with a DatePicker component #164

Open
opened 2024-01-24 13:18:29 +00:00 by savanni · 0 comments
Owner

Doing this removes all ambiguity of date and time formats. The picker components can still be sophisticated enough to allow the user to type directly into the text field, and the text field can be formatted according to the user's localization preferences. Typing directly into the text field will also instantly update the visible component.

GTK4 does not seem to have either component. It does have a Calendar component, which I will want to use in the construction of a date picker.

Requirements

  • the calendar appears when the user focuses on a date entry field
  • the date entry field is structured in the ordered specified by the user's localization settings
  • the user does not type separator components
  • the calendar automatically updates to show and select whatever the user has typed in
  • the user can click on the calendar to change the month or year. This is instantly reflected in the text field
  • the user can click no a day on the calendar to select the day. This is instantly reflected in the text field
Doing this removes all ambiguity of date and time formats. The picker components can still be sophisticated enough to allow the user to type directly into the text field, and the text field can be formatted according to the user's localization preferences. Typing directly into the text field will also instantly update the visible component. GTK4 does not seem to have either component. It does have a Calendar component, which I will want to use in the construction of a date picker. # Requirements - the calendar appears when the user focuses on a date entry field - the date entry field is structured in the ordered specified by the user's localization settings - the user does not type separator components - the calendar automatically updates to show and select whatever the user has typed in - the user can click on the calendar to change the month or year. This is instantly reflected in the text field - the user can click no a day on the calendar to select the day. This is instantly reflected in the text field
savanni added this to the Fitnesstrax: Localization milestone 2024-01-24 13:18:29 +00:00
savanni added this to the Fitnesstrax project 2024-01-24 13:18:37 +00:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
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: savanni/monorepo#164
No description provided.