bslib icon indicating copy to clipboard operation
bslib copied to clipboard

Add support for shinydashboard

Open giadasp opened this issue 3 years ago • 1 comments

I really like your package but I saw that it does not work for the dashboardPage of shinydashboard. Are you thinking to extend the package also for that? It would be very helpful! Thank you

Giada

giadasp avatar Apr 28 '21 15:04 giadasp

Adding to this issue - I am able to use bslib::bs_theme() from a module that is called in my shinydashboard, but it seems to break some components of the dashboard. Text sizes are very inconsistent across the dashboard (dropdown menu text & tab text is large, text beside radio buttons and checkboxes is unreadably small), and the dashboard bar across the top of the page becomes disjointed and very wide. I'm assuming this is because the themes are not designed/optimized for use with a Shiny dashboard?

amanda-hi avatar Jan 14 '22 01:01 amanda-hi

Just adding a comment here for information for anyone in future, as I originally had the same (slightly naive) question. {shinydashboard} uses AdminLTE v2 which uses Bootstrap 3, so newer versions of Bootstrap - e.g. the default for bslib::bs_theme() - are not compatible with {shinydashboard}.

i.e. see the note at the top of this page.

Edit: see also

chrisbrownlie avatar Dec 21 '22 12:12 chrisbrownlie

The next upcoming release (0.5.0) takes a significant step towards providing a new toolkit for creating dashboards. See the new getting started article to learn more https://rstudio.github.io/bslib/articles/dashboards.html

Also, if you feel like there is anything critical that {shinydashboard} provides that {bslib} doesn't (yet) provide, please let us know!

cpsievert avatar Jun 03 '23 15:06 cpsievert

Actually, instead of continuing this discussion in an issue thread, I'd like to welcome everyone to contribution here https://github.com/rstudio/bslib/discussions/618

(Closing this issue since we likely won't be aiming to support {shinydashboard}, but instead supersede it)

cpsievert avatar Jun 05 '23 22:06 cpsievert

This issue has been automatically locked. If you have found a related problem, please open a new issue (with a reproducible example or feature request) and link to this issue. :raising_hand: Need help? Connect with us on Discord or Posit Community.

github-actions[bot] avatar Aug 07 '23 05:08 github-actions[bot]