SuffolkLITLab / docassemble-AssemblyLine

Quickly go from a paper court form to a runnable, guided, step-by-step web application powered by Docassemble. Swap out branding and pre-built questions to meet your needs.
https://suffolklitlab.org/docassemble-AssemblyLine-documentation/
MIT License
41 stars 5 forks source link

Should .familiar() default to showing the suffix in addition to first name? #857

Closed nonprofittechy closed 3 months ago

nonprofittechy commented 4 months ago

This would disambiguate situations where there are is a parent and a child on the same form.

E.g., John JR or April IV

nonprofittechy commented 3 months ago

Note that in some cultures, e.g., most of Latin America, it's common to share the same first name without a JR or III, etc. And it's also common to have unique last names, as the child shares both last names of the parents and the parents still have their birth surnames.

What if we had an API like this:

children.familiar(unique_names=users, default="the minor") to allow specifying which names to avoid sharing? Then in .familiar() we could disambiguate against the other names, if it's possible.

Also note it's not always necessary to disambiguate someone's familiar name--it can be clear who you're talking about in context. So it's important that the API would be optional to use.