rstudio / rstudio/flexdashboard
Click on dashboard title to bring back to home page per default
Open
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
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
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