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

Improve reachability of current year #40

Open
ltog opened this issue Jan 6, 2020 · 1 comment
Open

Improve reachability of current year #40

ltog opened this issue Jan 6, 2020 · 1 comment

Comments

@ltog
Copy link

ltog commented Jan 6, 2020

When entering opening hours that are date-dependent, it would be helpful if in the year dropdown menu the current year was easier to reach. This would reduce the time required for entering opening hours.

Case 1: New rule -> Add year range

2000 should be 2020

Case 2: New rule -> Add date range ... -> Date - date, Variable date - date, etc. (all or almost all entries)

The current picker shows:

...
2099
2100
- (i.e. None) <-- initial selection
1900
1901
...

I'd like to see something like this instead:

...
2018
2019
- (i.e. None) <-- initial selection
2020
2021
...
@simonpoole
Copy link
Owner

  1. is easy and done i nhttps://github.com/simonpoole/OpeningHoursFragment/commit/11339aac7dbe81afeea9f331c1a442d67c5098ad

Unluckily 2) would require rather trick indirection which needs a close look at first.

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

2 participants