nextcloud / nextcloud/contacts

Non-sharable address book shows share dialog

Open
#1,499 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

While working on https://github.com/nextcloud/server/pull/19075 I saw that for each address book the sharing icon is displayed and when you click it, you get to chose a recipient. However, some address books are not sharable. This might not apply to Nextcloud ABs, but as soon as we have ABs from apps, that might change.

To Reproduce
Steps to reproduce the behavior:

  1. Check out https://github.com/nextcloud/server/pull/19075
  2. Open Contacts
  3. Open settings menu

Expected behavior
No sharing icon or dialog for non-sharable ABs.

Actual behavior
Sharing for all ABs.

Screenshots
Bildschirmfoto von 2020-03-04 15-16-51

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 checking pull request 19075 and the Contacts settings menu where the sharing icon appears. Trace how address books are rendered and how the sharing dialog is opened. Done means non-sharable address books show neither a sharing icon nor a sharing dialog, while sharable address books retain the existing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.