rstudio / rstudio/flexdashboard

navbar dropdown list for custom links

Open
#159 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
848
Forks
298
PR merge metrics
No merged PRs in 30d

Description

Hi,
Thank for the amazing dashboard, it really made me love to code.
I have added multiple links in the navbar and become very long and can't distinguish between the external links and the flexdashboard pages.
I was hoping to find a way to collapse it in single dropdown list

the navbar code looks so far like below

navbar:
    - { title: "Data", icon: "fa-database", href: "http://www.google.com", target: "_blank"}
    - { title: "Data", icon: "fa-database", href: "http://www.websitex.com", target: "_blank"}
    - { title: "Data", icon: "fa-database", href: "http://www.websitey.com", target: "_blank"}

I've tried to achieve the same result using the level 1 headers, but it seems there isn't any hyperlink option there.
Thank you in advance

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

The issue identifies the navbar configuration and provides a sample navbar block; start by locating the code that renders custom navbar links and reviewing how level-1 headers are handled. Done means custom links can be grouped into one dropdown while preserving their external destinations and target behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.