Changelog
Source:NEWS.md
shinydashboardPlus 2.0.4
CRAN release: 2024-04-09
Minor change
- Fix #181.
- Update github actions.
- Icon change in
dashboardHeader()
. Thanks @zhanxw. - Allow hyperlink in User block. Thanks @robertkck.
- Fix multiple fontawesome icon issues (deprecated names in fontawesome 6).
shinydashboardPlus 2.0.3
CRAN release: 2021-09-15
This release is a patch to fix an issue preventing the release of Shiny 1.7.0. Thanks @wch.
Minor change
- Internal change regarding the waiter package but no user impact. Thanks @JohnCoene.
Bug fix
- Fix #150: Warning when using controlbarMenu.
shinydashboardPlus 2.0.2
CRAN release: 2021-07-16
- Simple patch to fix wrong .Rbuildignore rule.
- Update internal file structure.
- Clean NOTE: https://cran.rstudio.com//web/checks/check_results_shinydashboardPlus.html
shinydashboardPlus 2.0.1
CRAN release: 2021-04-26
This release is a patch without major changes.
Minor change
- Fix #132: Option to disable the “scroll to top” button in
dashboardPage()
Bug fix
- Fix #127:
shiny::navlistPanel()
indashboardControlbar()
not behaving as expected. - Fix #112:
userBox()
is not working. Introduced in 2.0.0.
shinydashboardPlus 2.0.0
CRAN release: 2021-03-07
This release is a major step for shinydashboardPlus. It is also a significant breaking change compared to the latest CRAN version. Overall this release will simplify the transition from shinydashboard to shinydashboardPlus and bring more consistency, more interactivity between components. Below is the changelog.
Breaking changes
- Change maxstar and grade in
starBlock()
tomax
andvalue
. - Remove footerPadding from
boxPlus()
to align with bs4Dash - Remove all sidebar related parameters from
boxPlus()
. This is now part of the newboxPlusSidebar()
- remove dropdownIcon parameter from
boxPlus()
. It is now part of thedropdownItemList()
- Remove all label params from
boxPlus()
. This is to reduce the number of parameters of cards. Now part ofboxPlusLabel()
- In
dropdownItemList()
icon must be provided asshiny::icon()
and not a simple string containing the icon name. This is to be consistent with {shinydashboard} - Replace left_text and right_text by left and right, respectively in
dashboardFooter()
- Remove all sidebar related parameters of
dashboardPagePlus()
. They now belong todashboardSidebarPlus()
to Align with {shinydashboard} - In
dashboardSidebarPlus()
: replace rightSidebar by controlbar (align with {bs4Dash}). Rename enable_preloader to preloader and loading_duration to duration - Rename
rightSidebar()
todashboardControlbar()
to align with {bs4Dash} - Remove enable_rightSidebar from
dashboardHeaderPlus()
. This is now part ofdashboardControlbar()
as disable like in {shinydashboard}. rightSidebarIcon becomes controlbarIcon that acceptsshiny::icon
instead of a simple string containing the icon name to be consistent with {shinydashboard}. left_menu becomes leftUi like in {bs4Dash} - Remove
rightSiderbarMenu()
,rightSidebarTablist()
,rightSidebarTabItem()
,rightSidebarPanel()
andrightSidebarTabContent()
. They are now replaces bydashboardControlbar()
,controlbarMenu()
andcontrolbarItem()
- Remove
rightSidebarMenuItem()
,menuIcon()
andmenuInfo()
- Rename
boxPlus()
tobox()
,dashboardPagePlus()
todashboardPage()
anddashboardHeaderPlus()
todashboardHeader()
-
dropdownBlock()
icon expects ashiny::icon()
and not a simple string containing the icon name. This is to be consistent with {shinydashboard} - In
gradientBox()
icon expects ashiny::icon()
and not a simple string containing the icon name. This is to be consistent with {shinydashboard} - In
descriptionBlock()
icon expects ashiny::icon()
and not a simple string containing the icon name. This is to be consistent with {shinydashboard} - Rework
navPillsItem()
: pillName becomes left, pillText becomes right, pillColor becomes color, pillIcon becomes icon and expects ashiny::icon()
. Add inputId so that the item behaves like an action button - Rework
productListItem()
: productTitle becomes title, productPrice becomes subtitle, priceColor becomes color - In
timelineItem()
,timelineStart()
andtimelineEnd()
, icon expects ashiny::icon()
and not a simple string containing the icon name. This is to be consistent with {shinydashboard} - In
userListItem()
, user_name becomes title, description becomes subtitle -
dropdownItemList()
becomesboxDropdown()
.dropdownItem()
becomesboxDropdownItem()
-
userPostToolItemList()
becomesuserPostTagItems()
.userPostToolItem()
becomesuserPostTagItem()
- Remove
boxProfileItemList()
.boxProfile()
gets a new parameter bordered, inherited from the oldboxProfileItemList()
- In
boxProfile()
, title becomes mandatory -
title and description mandatory in
boxProfileItem()
- In
boxComment()
: src and title are mandatory -
widgetUserBox()
becomesuserBox()
for more naming consistency - Remove
gradientBox()
for consistency with {bs4Dash} - Add icon, gradient and boxToolSize to
box()
-
title mandatory in
userBox()
. Remove background. Replace backgroundUrl by backgroundImage. Reworked type parameter - Restore
accordion()
id. We should distinguish between TRUE inputs (sliderInput) and secondary inputs (that you can use for interactivity)… -
color becomes status in
accordionItem()
. This is to be consistent with AdminLTE2 classes and {shinydashboard} - In
attachmentBlock()
: src becomes image and titleUrl becomes href. image is mandatory - In
socialButton()
: url becomes href and type becomes icon (expectshiny::icon
) - In
productListItem()
: src becomes image to be consistent with {shinydashboard} - In
timelineItemMedia()
: src becomes image to be consistent with {shinydashboard} - In
userListItem()
: src becomes image to be consistent with {shinydashboard} - In
userPost()
: src becomes image to be consistent with {shinydashboard}. image and author are mandatory - In
userPostMedia()
: src becomes image to be consistent with {shinydashboard}. image is mandatory - Reworked
verticalProgress()
toprogressBar()
- In
userMessage()
: src becomes image to be consistent with {shinydashboard}. side becomes type (semantic) - In
dashboardUser()
: src becomes image to be consistent with {shinydashboard} - In
userBox()
: src becomes image to be consistent with {shinydashboard} - In
socialBox()
: src becomes image to be consistent with {shinydashboard} - In
boxComment()
: src becomes image to be consistent with {shinydashboard} - In
boxProfile()
: src becomes image to be consistent with {shinydashboard} - In
boxDropdownItem()
: url becomes href to be consistent with {shinydashboard}. name is removed - Rework preloader feature: remove duration and preloader now expects a list…
- In
navPillsItem()
: active becomes selected
New features
- Completely redesigned pkgdown website with much better documentation
- New
updateUserMessages()
function - New
updateAccordion()
to toggleaccordion()
on the client - Automatic “scroll to top” feature to quickly go to the top of the dashboard
- Use waiter for custom preloaders
- Add inputId to
taskItem()
,notificationItem()
andmessageItem()
- New id and icon to
boxDropdownItem()
, that behaves like an action button if passed - New
updateNavPills()
to programmatically change the selected item innavPills()
- Add freshTheme parameter to
dashboardPage()
. This allows to use the awsesome fresh package. See here for more details. - Add
skinSelector()
to allow dynamically change the dashboard skin on the client side. - Add
updateControlbarMenu()
to programmatically change the selected controlbar item - Add id to
dashboardControlbar()
to be able to useupdateControlbar()
- Add id to
dashboardSidebar()
to be able to useupdateSidebar()
- New
dashboardSidebar()
(reworked shinydashboard sidebar) - New
boxLabel()
to add text labels inbox()
- New
boxSidebar()
: access the status via input$id. AddupdateBoxSidebar()
to toggle the box sidebar - new
options
parameter todashboardPage()
. See here for the list of available options - Toggle
box()
withupdateBox()
(see #10 and #69, @happyshows and @daatali)
Minor change
- Add headerBorder to
box()
- add width to
accordion()
(default to 12) - Simplified dependencies code (No end-user impact)
Bug fixes
- Fix #102: dashboardUser not displayed when using shinydashboard::sidebarMenuOutput. ensureActivatedTab was not in the global scope, whereas it was needed by the output binding code
- Fix #107:
collapsed = FALSE
not working for dashboardControlbar. - Fix #56: When controlbar is expanded/collapsed, a plot does not fit in body.
- Fix #78: Menu Item with Sub Menu Item Arrow Not Rotating.
- Fix #105: box animation speed. Allow user defined options to prevail over internals.
- Fix #57: broken default
input$sidebarCollapsed
. - Fix #86: controlbar should also trigger a window resize, like the left shinydashboard sidebar. Thanks @ajfisher83
- Fix ugly layout of the box body (wrong padding and margins) when one puts a sidebar in
box()
… -
title is mandatory in
accordionItem()
(Setting title to NULL would prevent the item to be able to collapse …)
shinydashboardPlus 0.7.5
CRAN release: 2020-07-15
Breaking Changes
-
accordion()
id becomes inputId.accordionItem()
id parameter is removed - rework
appButton()
: this is a classic shiny actionButton, with improved styling. - change title_url in titleUrl in
attachmentBlock()
change number_color, number_icon, margin_bottom and rightBorder to camelcase params indescriptionBlock()
- numberIcon in
descriptionBlock()
only need the name of the icon (‘times’) instead of the full class (like fa fa-times) ## New features - add
userMessages()
anduserMessage()
- add
dashboardBadge()
: use in elements likeappButton()
. This is different fromdashboardLabel()
Minor Change
- Fix #52: add collapsed arg to
widgetUserBox()
. Thanks @terpsrule - Fix #40: add sidebar_icon argument to
boxPlus()
. Thanks @jmw86069 for the suggestion
Bug Fixes
- Fix #61: uniqueness of
accordion()
id. Thanks @RegaCaska - Fix #23: rework id arg in
flipBox()
. Thanks @vinpogo - Add class btn-box-tool to close button in
widgetUserBox()
. Prevent from ugly rendering - Fix #51: change card sidebar z-index so that it is not displayed on top of the page preloader. Thanks @leungi
- Fix #53: missing title in demo message card
- Fix #55: when no image is provided, no circle is displayed. Thanks @nschwamm
- Replace http links by https
- Fix #36: make sure that a
carousel()
item is displayed when it is generated via a shiny Output function. Thanks @daattali for the report
shinydashboardPlus 0.7.0
CRAN release: 2019-04-08
Breaking Changes
- remove all CSS functions, namely
setShadow()
,setPulse()
,setShake()
andsetZoom()
, since they are contained in shinyEffects
New features
- 6 new color statuses for
boxPlus()
headers: navy, teal, orange, maroon, black and purple - add new argument .items to
rightSidebar()
: useful if we do not want to embed elements in tabs. - add
dashboardFooter()
- add
dashboardUser()
,dashboardUserItem()
,renderUser()
anduserOutput()
- add
carousel()
andcarouselItem()
- new argument to dashboardPagePlus: sidebar_fullCollapse enable the sidebar to be fully collapsed as in shinydashboard. Fix #24, thanks @serkserk
- by default, opening the right sidebar shifts the body content to the left, similarly as the left sidebar
major changes
- shindashboardPlus is now moved on RinteRface
shinydashboardPlus 0.6.0
CRAN release: 2018-09-20
New features
- add new
flipBox()
- new sidebar in the
boxPlus()
function: set up with the following arguments “enable_sidebar”, “sidebar_content”, “sidebar_width”, “sidebar_background” and “sidebar_start_open” - new “left_menu” argument in the
dashboardHeaderPlus()
to include elements in the left part of the navbar. (In addition to what you can already do in the right part with shinydashboard) - new
dropdownBlock()
to include shiny input elements in a navbar left menu (optimized for all screen sizes) - new “fixed” argument to the navbar (
dashboardHeaderPlus()
). If TRUE, the navbar is fixed-top. (static-top by default) - new
setZoom()
function (similar assetShadow()
) - new
setPulse()
function - new
setShake()
function - add “enable_preloader” and “loading_duration” to
dashboardPagePlus()
(custom preloader) - update the
shinydashboardPlusGallery()
- add a “style” argument to
dashboardLabel()
- change the website images
- add “collapsed argument” to
userPost()
to show or hide comments when the application starts. ## Bug fixes - now
appButton()
open a new window when clicked - now
socialButton()
open a new window when clicked - do not show comments when there are no comments in
socialBox()
- do not show the footer when it is NULL in
socialBox()
- add style overflow-y auto to
socialBox()
in case there are more than 2 comments (avoid “infinite” height boxes) - on mobiles (or small screens), navbar left menu items display inline, instead of column…
- disable
timelineItem()
footer when NULL - center images in
userPostMedia()
- fix #8 thanks to @scottyraymond (
dropdownBlock()
icon not displaying)
shinydashboardPlus 0.5.0
CRAN release: 2018-07-05
Bug fixes
- Fix an important issue in the
rightSidebar()
. When the function was called without any element, it triggered an error because the number of items was 0 - clicking on
starBlock()
,navPillsItem()
and thesocialBlock()
title does not reload or redirect at the top of the page - clicking on the
attachmentBlock()
link open a new page in a new tab (target = “_blank”) - correct vignettes title (https://cran.r-project.org/package=shinydashboardPlus) ## Breaking changes
- change argument name in
dropdownItem()
(boxPlus()
): “target” is replaced by “url”. - Widely simplify the
rightSidebar()
function: removerightSidebarTabList()
,rightSidebarTabItem()
andrightSidebarPanel()
from the user interface. See here to discover how to set up a newrightSidebar()
## Major changes - add a “width” argument to the
rightSidebar()
(set to 230 pixels by default) to improve customization. - new function
setShadow()
to set shadow and hover effects on any elements - add an “active” argument to
rightSidebarTabContent()
: see #4 - add a “sidebar_background” argument to
dashboardPagePlus()
- new
verticalProgress()
bars! - new functions in the
rightSidebar()
:rightSidebarMenu()
,rightSidebarMenuItem()
,menuIcon()
andmenuInfo()
(seeshinydashboardPlusGallery()
) - new dropdown menu for
boxPlus()
: adddropdownItemList()
,dropdownItem()
anddropdownDivider()
functions (seeshinydashboardPlusGallery()
) - add “width” and “height” args to
timelineItemMedia()
anduserPostMedia()
- remove useless content ## New Side content
- add a pkgdown website
- add cran downloads to readme
shinydashboardPlus 0.2.0
CRAN release: 2018-05-08
- new timelines:
timeLineBlock()
either inside or outside a box - new userPost function:
userPostToolItemList()
,userPostToolItem()
,userPostMedia()
,userPostToolItem()
- new boxProfile function:
boxProfileItemList()
,boxProfileItem()
- update
shinydashboardPlusGallery()
- add
shinydashboardPlusGallery()
- update all examples
- some minor fixes
- NOTE: mailForm is not working at the moment!
shinydashboardPlus 0.1.0
- new right sidebar:
rightSidebar()
- improved classic boxes:
boxPlus()
- new boxes:
gradientBox()
,widgetUserBox()
,socialBox()
- new box elements:
boxPad()
,attachmentBlock()
,descriptionBlock()
,productList()
,navPills()
,todoList()
,userList()
,boxComment()
- new buttons:
appButton()
andsocialButton()
(NOTE: these are not inputButtons!) - additional elements:
starBlock()
,loadingState()
,blockQuote()
,dashboardLabel()
- switch between shinydashboard and shinydashboardPlus:
dashboardHeaderPlus()
,dashboardPagePlus()