medic / cht-core

The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
https://communityhealthtoolkit.org
GNU Affero General Public License v3.0
466 stars 218 forks source link

Make inputting dates quicker for power users #3482

Open alxndrsn opened 7 years ago

alxndrsn commented 7 years ago

Currently on Android, inputting dates must be done via the calendar. There are two issues with this:

  1. if you know what you're doing, it may be quicker just to type in the date directly as a string
  2. if using the picker:
    • for some types of dates, it's more appropriate to select year -> month -> day-of-month than to start at a calendar view with today's month

1 would be much improved if the calendar dialog was triggered by a separate button, rather than by direct clicks on the text field.

Current:

some date: [_____textfield,_but_click_here_to_trigger_dialog_______]

Desired:


some date: [_textfield:_allow_text_input_] [_click_here_for_dialog_]
sglangevin commented 7 years ago

Related: #2272. Ideally we would fix both for Android and on desktop at the same time.

medic-bot commented 6 years ago

Hi @browndav,

This ticket has not been touched in 90 days. Is it still relevant?

Please also ensure this ticket has a Priority, Status and Type label.(See triaging old issues for more detail)

garethbowen commented 5 years ago

Let's do this. Giving users the option of typing or using the widget seems like a clear win to me. We have to check to make sure the library we're using supports this.