Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Ergonomy Date picker #92

Open
mmebsout opened this issue Nov 28, 2017 · 2 comments
Open

[ISSUE] Ergonomy Date picker #92

mmebsout opened this issue Nov 28, 2017 · 2 comments

Comments

@mmebsout
Copy link

Sitools Version : 3.0-beta1 (PSUP instance)
Using Firefox 57.0 (64 bits)

When selecting a date in a query form (Example on dataset OMEGA data Cubes)
Click on the calendar icon
Click on the year
Select another year
Click on 'search'
=> the change of year is not taken into account on the query
To validate the change of year one has to click on a particular day (even if the day wanted is already selected)

TODO : either add an 'OK' button next to "Today"
or make the change of year effective in the form everytime the year or the month changes.

datepicker

@malapert malapert assigned malapert and hubertnouhen and unassigned malapert Nov 28, 2017
@hubertnouhen
Copy link
Contributor

The datepicker component of ExtJs is designed to display the month days of the active date.
I mean, if you switch to the previous/next month or if you select an other month/year in the collapsible month picker panel, then the component computes the equivalent date taking in account the new month and year and set this date as the active one. When the active date changes, the interface automatically display the month of the new active date. This is why i can not easily change the datepicker behaviour considering that the user can display any month he desires without changing the active date.

The datepicker component frames the active date. If the active date is changed, it doesn't change the date written in the text field of the form until the user clicks on the day he chose. Edition is canceled clicking outside the date picker.

@mmebsout
Copy link
Author

mmebsout commented Dec 22, 2017

How about that "OK" button then ? to help the user understand he should click somewhere to validate the change. The component's behavior is still counter intuitive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants