nextcloud / nextcloud/contacts

Better format tel with country suggestion and spacing

Open
#128 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement low
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Can we/i configure the separation-sign, on wich place in phone number it appears?
In my Phonebook exists 02243 82566 , and the nextcloud phonebook displays it like 022-438-2566
...Its only a matter of displaying... not a matter of saving in database...
+49-numbers are not affected, only if the country-numbers are missing...
It seems the display-script cut the city-number into two pieces, if there isnt a country-number in front of.

Or is it just possible to switch off the separation-sign?


Kann man die Trennungszeichen konfigurieren, an welcher Stelle es erscheint?
aus 02243 82566 wird im Nextcloud phonebook 022-438-2566 draus...
In der Datenbank wird es korrekt gespeichert, also nur eine Darstellungsfrage...
Nummern mit +49 am Anfang sind anscheinend nicht betroffen, anscheinend versucht das Darstellungs-script mit Gewalt aus einer Rufnummer eine internationale zu machen ...
Also aus Vorwahl und Durchwahl eine Landeswahl, Vorwahl und durchwahl, und schneidet dafür die Vorwahl in zwei stücke...

Oder kann man einfach das Trennungszeichen ausschalten?


NC 11.0.1 on webspace with php5.6 ; sync works fine with android
PS: https://help.nextcloud.com/t/question-suggestion-separation-sign-in-phonenumbers-trennungszeichen-in-telefonnummern/8760/3?u=cptechnik


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the display script that formats phone numbers, reproducing the reported 02243 82566 case and comparing it with numbers prefixed by +49. Review the linked help discussion for context. Done means local numbers display without incorrectly splitting the area code, with a clear decision on configurable or disabled separators.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.