nextcloud / nextcloud/contacts

Hide *Delete* action for read-only address books

Open
#3,383 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2. developing bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Describe the bug

Some address books can't be deleted

Bildschirmfoto vom 2023-05-15 08-52-16
Bildschirmfoto vom 2023-05-15 08-52-20

Steps to reproduce
  1. Run Nextcloud server master
  2. Open the contacts app
  3. Open the contacts settings
  4. Open the actions menu of the Accounts address book
Expected behavior

No delete action

Actual behavior

I see a delete action

Contact version

5.3.0 Beta 2

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

No response

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

Reproduce the issue by opening the Contacts app, then the contacts settings and the Accounts address book actions menu. Trace the frontend code that builds this menu and its read-only state; done means read-only address books no longer show a Delete action while deletable address books retain it.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.