nextcloud / nextcloud/contacts

Customizable tel: handling

Open
#2,033 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Phone numbers are presented as an anchor with tel: scheme.

Different browsers implements tel: differently, and sometimes none of them are useful.

In some context, like with a SIP PBX, is useful to make a call via a web url.

Now I simply edit the js file changing how the url is made, i.e.: tel:01234567 -> https://pbxserver/call?num=01234567

If the phone number anchor href could be made configurable could be a nice addition.

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 locating the JavaScript that builds phone-number anchor hrefs and trace how those links are generated. Define where the URL pattern can be configured, preserve the current tel: behavior by default, and consider the work complete when a custom web URL can be used without editing the JavaScript.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.