nextcloud / nextcloud/contacts

Set start point for Birthday date selector to sensible year

Open
#2,792 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement good first issue skill:frontend
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.