nextcloud / nextcloud/contacts
Set start point for Birthday date selector to sensible year
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Is your feature request related to a problem? Please describe.
Kind of. It is quite annoying that I have to click several years back when adding a birthday, since by default the date selector is on the current date, and it happens quite rarely (or rather never) that I want to add a contact for a newborn.
Describe the solution you'd like
Most of the time people are already older, so it would make sense to have the default year on current - n where n would be something like 20 or 10 years.
Describe alternatives you've considered
Alternatively, the date selector could be redesigned to start with the year and somehow fit as big a range as possible in the selector window, so less scrolling/clicking is required.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing contact creation and opening the birthday date selector, then trace the selector's entry point in the frontend. Confirm how the current date becomes the initial value and clarify the intended offset, such as 10 or 20 years. Done means birthdays open at a sensible earlier year while still allowing newborn dates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100