Page MenuHomePhabricator

Steps: 1 > add year of birth to speaker's data
Closed, ResolvedPublicFeature

Description

Feature summary Add an optional "year of birth" field in the speaker's profile step & database

Reason Age is a very important data for linguists, which we are currently lacking in our dataset. Several linguists already told us they'd like such a feature.

Format

  • YYYY
  • UI constrain: 19YY|20YY

Point to consider :

  • create a field recording-date in the database ? (I think we have it already)

Alternatives to ignore for now :

  • AgeAtRecording ? var ageAtRecording = currentYear - yearOfBirth;
  • <s>Decade of birth ? `[ '1920', '1930', '1940', '1950', '1960', '1970', '1980', '1990', '2000', '2000', 2010', '2020' ]</s> -> misleading for younger speaker.

Event Timeline

Suggestion : Could be rounded to 5 (ex: 1997 -> 1995 ; 1999 -> 2000) to blur it a bit.

Yug renamed this task from Add year of birth in the speaker's data to Step speaker: add year of birth to speaker's data.Nov 15 2024, 11:08 AM
Yug renamed this task from Step speaker: add year of birth to speaker's data to Steps: 1 > add year of birth to speaker's data.
Yug triaged this task as Medium priority.
Yug changed the task status from Open to In Progress.Dec 17 2024, 10:52 AM

Good work. The code has been merged. I have fixed some formatting. I recommend using a text-formatter in your IDE that auto-formats on save.

Hi kheera, I noticed that its year of birth and not date of birth, unfortunately, I noticed that it's about year of birth and not the date of birth after merging your code. I haven't revert your code, and went over your code

@Pushkar7077 , may I close this as resolved ? I assume the value from the input field is properly written into the MariaDB locutor's birthyear, right ?