monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.65k stars 2.17k forks source link

Formatting phone numbers #7170

Open slifty opened 8 months ago

slifty commented 8 months ago

How to use GitHub

Would love it if phone numbers could be rendered in a pretty / standardized way (but the underlying link have no punctuation)

For instance if I enter 1111111111 it would be rendered (111) 111-1111

Ideally the input UX would also help guide this, when phone is selected.

Is your feature request related to a problem? Please describe.

This would take the burden out of data entry.

Describe the solution you'd like

  1. Phone contact information be formatted with punctuation on output
  2. Phone contact information be collected semantically on input

Describe alternatives you've considered (optional)

The current solution is that the user needs to remember to enter their data in the format they expect.

Additional context

I don't know what international phone formatting standards would need to be considered, so I realize this might be more complex than simply "add punctuation!"

djaiss commented 5 months ago

Love the feature - but in practice, there are many, many ways to display a phone number. I don't know how we could render it properly.

Perhaps by including in the setting a mask we should use? It'd definitely be a power user feature though.