Add options to customize sidebar collapse icon and location
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
It would be great if we could change the look and location of the collapse icon for sidebars. More specifically I think it would be good if we could
- change the icon
- change the location of the icon
Maybe the sidebar could have an argument icon similar to many Shiny components. For the location, I think options of 'top', 'middle', and 'bottom' would suit most people's needs.
Example usage:
layout_sidebar(
sidebar = sidebar("Sidebar"),
icon = icon("bars"),
icon_position = "top",
"Main contents"
)
Contributor guide
No contributing guide indexed for this repository
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
Start by tracing the existing sidebar collapse behavior exposed through layout_sidebar() and sidebar(). Determine where the collapse icon and its placement are defined, then verify that callers can select a custom icon and the top, middle, or bottom positions; done means each option renders correctly without changing the default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, r, scss
- Domain
- design, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100