Contacts: Add tel: links for phone numbers

Created on 6 Apr 2017  路  3Comments  路  Source: nextcloud/contacts

I regularly look up phone numbers from my computer. To place the call I have to copy&paste the number in skype/hangouts/etc (or use Join to send it to my phone in my case).

A simple link with 'href="tel:PHONENUMBER"' would suffice to be able to call numbers with any application by just clicking it but I'm not sure what would be the best place to put it. The options are:

  • add a toggle to switch between editing the number and showing a clickable link (adds an extra click to many workflows)
  • add a "call" button next to the trash icon
  • somehow make the number in the input clickable (possible but not recommended)
  • add a modifier for clicks on the number (shift+click = place call)

In my opinion, adding a "call"-button in templates/detailItems/tel.html should be the best solution since it wouldn't interfere with any logic and there doesn't seem to be any space restrictions/wrapping issues around the trash icon.

Since this is my first project for nextcloud, it would be great to get some input if this is possible, wanted and what might be the best approach.

1. to develop feature parity good first issue low

Most helpful comment

@skjnldsv sounds good to me, I imagine something like this:

2017-04-19-093643_399x57

I'm fine with setting the default input type to tel.

Edit: Maybe a bit unrelated but we could hide the icons (tel, link, ...), while the respective fields are selected, to simplify input on mobile devices.

All 3 comments

I would prefer the extra call button

@irgendwie Like we do with the website field?

Also (unrelated, but not entirely) it could be great to set the default input type to "tel" for the mobile users :)

@skjnldsv sounds good to me, I imagine something like this:

2017-04-19-093643_399x57

I'm fine with setting the default input type to tel.

Edit: Maybe a bit unrelated but we could hide the icons (tel, link, ...), while the respective fields are selected, to simplify input on mobile devices.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Spartachetto picture Spartachetto  路  3Comments

Peque picture Peque  路  3Comments

ArnY picture ArnY  路  5Comments

Kalytis picture Kalytis  路  4Comments

kangaroo72 picture kangaroo72  路  4Comments