Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting phone numbers #7170

Open
slifty opened this issue Feb 26, 2024 · 1 comment
Open

Formatting phone numbers #7170

slifty opened this issue Feb 26, 2024 · 1 comment

Comments

@slifty
Copy link

slifty commented Feb 26, 2024

How to use GitHub

  • Please use the 馃憤 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

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
Copy link
Member

djaiss commented May 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants