rstudio / rstudio/bslib

Add a `nav_get(target)` function to obtain the currenly selected nav_panel of a target nav container

Open
#649 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

It's currently possible to select, insert, remove, show or hide a nav panel of a parent container, but it isn't possible to query what panel is currently selected.

This feature would be useful for programmatically updating page contents based on the query result.

Contributor guide

No contributing guide indexed for this repository

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

Start by reading the existing APIs for selecting, inserting, removing, showing, and hiding a nav_panel in a target nav container. Trace how the proposed nav_get(target) entry point would identify the currently selected panel, then verify that the result supports programmatic page updates and matches the existing navigation behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, sass, scss
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.