nextcloud / nextcloud/contacts

Add option to disable contactsmenu badge in top right header

Open
#4,217 1 comment 0 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

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.