ProtonMail / proton-contacts

React web application to manage ProtonMail contacts
54 stars 19 forks source link

Add second line to Address field for contacts #386

Open jwflory opened 4 years ago

jwflory commented 4 years ago

Tested on 4.0.0-beta.11.

Summary

When adding an address for a user, allow a first and second line for street name / location.

Background

Most contact applications allow the user to input at least two lines for the address, in addition to region, state, postal code, country, etc. This is important for addresses that use a second line, like for a P.O. Box. Also, some addresses have more commonly recognized names, followed by the exact street number and street name.

Allowing a user to enter two lines of data is a useful catch-all for working with international addresses. Many of my saved contacts have addresses in countries all over the world, and the freeform address text allows me to enter the data in a way that makes the most sense for me.

Details

Add a new field to the Address data in a contact. An address should be allowed to written across two lines.

For example:

123 Any Street
P.O. Box 1337
Cityville, New York 55555
United States
Palace of Proton
1 Proton Street
Geneva 55555
Switzerland
Random Road
Nd. 23, H. 42, Ap. 2B
Tirana 1020
Albania

Outcome

More control to store Address metadata in a way that makes the most sense for me, the Data Owner