rstudio / rstudio/bslib

Toolbar: Add `toolbar_badge()`

Open
#1,316 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triage:accepted Priority: Low
Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

We need some UI functions for adding status text to toolbars. I think badges are likely the best analog in Bootstrap and will naturally handle padding and backgrounds.

https://getbootstrap.com/docs/5.3/components/badge/

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 with the Bootstrap badge documentation linked in the issue, then inspect bslib's existing toolbar UI functions to find the relevant entry point and conventions. Done means toolbar_badge() is available for adding status text to toolbars and follows the badge behavior described in the issue; no specific files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, scss
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.