rstudio / rstudio/flexdashboard

Click on dashboard title to bring back to home page per default

Open
#449 0 comments 0 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

I would like that clicking on the dashboard title in the navbar brings back to the home page, rather than using a redundant home navbar button.

It is possible to do this using the following jQuery hack after the YAML:

<script>
   document.querySelector(".navbar-header").innerHTML =
            "<a href=\"#home\" class=\"navbar-brand navbar-inverse\">Dashboard Title</a>";
</script> 

Would you consider adding this as a feature?

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 YAML area and the .navbar-header element as the relevant entry point. Start by locating how the dashboard navbar title and home button are generated; done means clicking the title returns to the home page and the redundant home navbar button is no longer needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Feature
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.