Phone fields help with the country and its dialling code #53
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#52 Show each language's flag in the language menu
Postulo/postulo
Reference
Postulo/postulo#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
Why
A recruiter's number written down as
06 12 34 56 78cannot be dialled from anywhere else,and the person writing it down is not thinking about that at the time. A field that offers
the country and puts
+33in front fixes the number at the only moment anybody has thecontext.
What exists today
Contact.phoneandProfile.phoneare plain 40-character fields with no structure and nohelp of any kind.
Shape
mapping from #52) and the dialling code, and prefixing what is typed unless the person
typed a
+themselves.+33612345678) where the number can be understood, and exactly astyped where it cannot. A number nobody can parse is still worth keeping; refusing to save
it would be the worst possible outcome.
tel:link so it can be dialledfrom a phone, which is where half of these calls happen.
flag.
Classification
Enhancement. Not breaking: the field keeps its text, and whatever is already in it is left
alone.
Depends on
#52, for the flags.
Open questions
phonenumbers, or a static table and no validation? The library formats and validatesevery country properly and weighs several megabytes. Proposal: the table, and no claim
that a number is valid — Postulo does not need to know that, only to keep something
dialable.
changes it, never silently behind them.