globaleaks / globaleaks-whistleblowing-software

GlobaLeaks is a free and open-source whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
https://www.globaleaks.org
Other
1.25k stars 274 forks source link

Extend date field to support partial date specification #1395

Open fpietrosanti opened 9 years ago

fpietrosanti commented 9 years ago

This ticket is to Extend date field implemented at #1368 to support partial date specification, such as only the Year, only the Year+Month instead of the full triplet Year+Month+Day .

fpietrosanti commented 8 years ago

Relevant for Whistleblower Identity Feature that's not able to specify the Birth Date, because it's now only possible to got back month-by-month, but going back by 30 years means 360 click

evilaliv3 commented 8 years ago

that's is totally not true;

I may agree with you that dumb users may require more dumb interfaces, but this is the usable interface now adopted by whatever new fancy UX expert design; it's your an evaluation of your way of interacting with technology or an evaluation of the experts in UX?

here follows my 7 clicks for selecting my age; please not that the user interaction is based simply on clicks that is something great for a mobile user. we can reduce the interaction to 5 if we make the user start from from image 5 centering the years around the relevant one that may be people with age ~30yo.

1: screenshot from 2015-12-11 11 28 41

2: screenshot from 2015-12-11 11 28 59

3: screenshot from 2015-12-11 11 29 14

4: screenshot from 2015-12-11 11 29 50

5: screenshot from 2015-12-11 11 30 47

6: screenshot from 2015-12-11 11 31 05

7: screenshot from 2015-12-11 11 40 42

fpietrosanti commented 8 years ago

If we are using datepicker (https://angular-ui.github.io/bootstrap/), it has been designed to carry on the design of choosing the year first, the month after and the day later with datepicker-mode="'year'" to satisfy this need

NSkelsey commented 8 years ago

We can expose a comprehensive set of configuration options to the admin creating the questionnaire.

The datepicker options available are extensive: https://angular-ui.github.io/bootstrap/#/datepicker

However these are the ones that the ICC is looking for:

{
  initDate: today // The default date the picker starts at
  datepickerMode: day // The default mode for the date picker
  minMode: day
  maxMode: year
  // Supported since v2.60.145
  minDate:
  maxDate:
}
evilaliv3 commented 8 years ago

Nick in the real this ticket is not that interesting for the current priorities. I will point you off the record which are the interesting one so that you can start picking them.

Eventually on this topic the only short term improvement could be the following: https://github.com/globaleaks/GlobaLeaks/issues/1624