From b472d4d0a7f7f5ea60722e8604f2c4dd610895bb Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Mon, 27 Nov 2023 12:25:15 +0100 Subject: [PATCH 1/3] docs: Fix server-side processing example. --- DESCRIPTION | 2 +- NEWS.md | 4 ++++ R/reactable-server.R | 3 +-- man/reactable-extras-server.Rd | 3 +-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 728f556..f229650 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: reactable.extras Title: Extra Features for 'reactable' Package -Version: 0.2.0 +Version: 0.2.0.9000 Authors@R: c( person("Recle", "Vibal", role = c("aut", "cre"), email = "opensource+recle@appsilon.com"), diff --git a/NEWS.md b/NEWS.md index 55f3502..d1d9ab7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# reactable.extras (development) + +- Fix server-side processing example. + # reactable.extras 0.2.0 First release. diff --git a/R/reactable-server.R b/R/reactable-server.R index 34aafae..b37ff5e 100644 --- a/R/reactable-server.R +++ b/R/reactable-server.R @@ -213,8 +213,7 @@ get_data_on_page <- function(data, page_number, total_pages) { #' mpg = reactable::colDef(name = "Miles per Gallon"), #' cyl = reactable::colDef(name = "Cylinders"), #' disp = reactable::colDef(name = "Displacement") -#' ), -#' rows_per_page = 7 +#' ) #' ) #' } #' ) diff --git a/man/reactable-extras-server.Rd b/man/reactable-extras-server.Rd index 07799cd..990ae60 100644 --- a/man/reactable-extras-server.Rd +++ b/man/reactable-extras-server.Rd @@ -49,8 +49,7 @@ if (interactive()) { mpg = reactable::colDef(name = "Miles per Gallon"), cyl = reactable::colDef(name = "Cylinders"), disp = reactable::colDef(name = "Displacement") - ), - rows_per_page = 7 + ) ) } ) From 46aa1630664c49c7a231dc6ef0f2747449d8c0a9 Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Fri, 8 Dec 2023 10:50:59 +0100 Subject: [PATCH 2/3] chore: Fix documentation CSS. --- pkgdown/extra.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 7a26c10..e06a19c 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -10,9 +10,17 @@ background-color: var(--primary-color) !important; } -.navbar-dark .navbar-nav .active>.nav-link { +#navbar > ul.navbar-nav > li.nav-item > a { + color: rgba(255, 255, 255, 0.55); +} + +.navbar-dark .navbar-nav .active > .nav-link { background-color: var(--primary-color) !important; - color: #fff; + color: #fff !important; +} + +.navbar-brand { + color: #fff !important; } .navbar-dark input[type="search"] { From 2b3dc43fee514bf5ae327db52e5b149234cc1da4 Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Fri, 8 Dec 2023 10:51:19 +0100 Subject: [PATCH 3/3] docs: Add changelog to the documentation page. --- pkgdown/_pkgdown.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index 525c221..0e97a5f 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -31,7 +31,7 @@ url: https://appsilon.github.io/reactable.extras/ navbar: bg: primary structure: - left: [home, tutorials, reference] + left: [home, tutorials, reference, changelog] right: [search, github, twitter, mastodon] components: home: @@ -51,6 +51,10 @@ navbar: icon: fa-file-code-o text: "Reference" href: reference/index.html + changelog: + icon: fa-newspaper-o + text: "Changelog" + href: news/index.html github: icon: fa-github fa-lg href: https://github.com/Appsilon/reactable.extras