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

Provide "Decade" calendar starting view #9160

Closed
bratanp9 opened this issue Dec 29, 2017 · 4 comments
Closed

Provide "Decade" calendar starting view #9160

bratanp9 opened this issue Dec 29, 2017 · 4 comments

Comments

@bratanp9
Copy link

bratanp9 commented Dec 29, 2017

Bug, feature request, or proposal:

Please include a feature where the user can not only select a Month and Year view, but also a Decade view.

What is the expected behavior?

As a user, I would like to be able to move a decade back/forward using the calendar widget in order to quickly reach historical dates.
As a developer, I should be able to set the starting view as Decade.

What is the current behavior?

As a user, I am only able to move back/forward one year/month at a click.
As a developer, I am only able to set the starting view as Month or Year.

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.

Plunker starter (using on @master): https://goo.gl/uDmqyY

StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

Click on the date toggle button and open the calendar widget. You can only switch between Month and Year view.

What is the use-case or motivation for changing an existing behavior?

Application which shows historical events and allows users to type in a date and use a calendar widget. User should be able to go through time in a quicker manner. E.g. to access "Start of First World War in 1914", he should not be required to press the back button 103 times.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular version: 5.0.0
Material version: 5.0.0-rc.1
OS: Windows 10 Pro
TypeScript version: 2.3.5
Browsers:
Microsoft Edge 40.15063.674.0 (PC)
Google Chrome 62.0.3202.94 (PC)
Firefox Quantum 57.0 (PC)
Google Chrome 62.0.3202.84 (Android 6.0)

Is there anything else we should know?

@dimitrov-db
Copy link

+1, this is a pain point for my users as well.

It's hard for people over 50 to register to my site. Most of them don't want to type in their date of birth and at the same time they get frustrated to click the back button 50+ times so they leave the site.

As this was causing a decrease in the conversion rate, I decided to remove the widget and force them to type in their date, however I'd love to reintroduce it.

@julianobrasil
Copy link
Contributor

julianobrasil commented Dec 29, 2017

Dupe of #5845.

It has an already aproved PR that will likely be available in the next minor release.

@jelbourn
Copy link
Member

jelbourn commented Jan 2, 2018

Duplicate of #5845

@jelbourn jelbourn closed this as completed Jan 2, 2018
@jelbourn jelbourn marked this as a duplicate of #5845 Jan 2, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants