nextcloud / nextcloud/contacts

Allow custom events with X-ABDATE property

Open
#223 8 comments 9 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

Google uses X-ABDATE extension in its vcard on gmail to manage generic dates (events).
The format is the same and already managed, for the phone number, by nextcloud.

phone number e.g. (working)
item1.TEL:0123456789
item1.X-ABLABEL:foo

X-ABDATE e.g. (not working)
item2.X-ABDATE:1997-10-02
item2.X-ABLABEL:bar

If I export a contact from google and import it in nextcloud, the X-ABDATE information remain in the vcard but isn't shown in the frontend.
I think it would be nice to be able to see this information.

It is also possible to import it into android by using the specific extension:
X-ANDROID-CUSTOM:vnd.android.cursor.item/contact_event;1997-10-02;0;bar;;;;;;;;;;;;
This extension works from android 4 to 7. I personally tested it.

I hope you decide to implement this extension.

Cheers


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

No files or tests are named in the issue. Start by tracing the contact import and frontend display paths for vCards, then inspect how X-ABDATE and X-ABLABEL are currently preserved or rendered. Done means imported X-ABDATE values appear as custom contact events with their labels, while existing phone-number extensions continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.