nextcloud / nextcloud/contacts
Add option to disable contactsmenu badge in top right header
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 642
- Forks
- 220
- Avg merge
- 14h 39m
- Merged PRs (30d)
- 51
Description
Is your feature request related to a problem? Please describe.
Hello ! By default there are 3 ways to search for contacts : through the contact app page, through unified search, then again through a badge in the header named "contactsmenu".
Describe the solution you'd like
Set a config variable to disable the contactsmenu badge in the header.
Example :
php occ config:app:set contacts header_badge --type=boolean --value=false
Describe alternatives you've considered
Css that only hides it but could be enabled again through the browser.
#contactsmenu{display:none}
Or manually removing the div in corresponding php files but not sustainable through upgrades.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the code that renders the header's contactsmenu badge and inspect how this app currently reads configuration values. Add the header_badge setting described in the issue, then verify that php occ config:app:set contacts header_badge --type=boolean --value=false disables the badge without affecting the other contact search paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php
- Domain
- backend, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100