UUDigitalHumanitieslab / microcontact

Web application for the Microcontact project lead by Roberta d'Alessandro
0 stars 1 forks source link

feature/italian-migration #112

Closed jgonggrijp closed 6 years ago

jgonggrijp commented 6 years ago

Implements #100.

Live preview here: https://acc.microcontact.hum.uu.nl/#participate/IT (pick any city and view the radio buttons in the upload form).

In the review, I'm particularly interested in comments on the following consideration.

If somebody is born in Italy, they're always a first-generation speaker. However, for historical reasons, Italians that migrated within Italy are treated as first-generation by the frontend form, while those who always stayed in the same place are treated as second-generation. Since this is hard to change on the client side without introducing surprising side effects for the visitor, I decided to correct this at the server side when the new record is created.