Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teal - bs345 #727

Merged
merged 31 commits into from
Sep 27, 2022
Merged

teal - bs345 #727

merged 31 commits into from
Sep 27, 2022

Conversation

Polkas
Copy link
Contributor

@Polkas Polkas commented Sep 5, 2022

linked to #719

  • update the options vignette
  • create the new vignette for bslib
  • inject the bslib provided by the end user with options

@Polkas Polkas added the core label Sep 5, 2022
@Polkas Polkas changed the title 709 bs345@main teal - bs345 Sep 5, 2022
@Polkas
Copy link
Contributor Author

Polkas commented Sep 8, 2022

@nikolas-burkoff thanks for comments, during our call:)
TODO some images to add

R/module_teal.R Outdated Show resolved Hide resolved
vignettes/teal-bs-themes.Rmd Outdated Show resolved Hide resolved
Maciej Nasinski and others added 4 commits September 14, 2022 09:05
vignettes/teal-bs-themes.Rmd Outdated Show resolved Hide resolved
vignettes/teal-bs-themes.Rmd Outdated Show resolved Hide resolved
inst/css/custom.css Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@Polkas Polkas marked this pull request as ready for review September 19, 2022 08:01
@github-actions
Copy link
Contributor

github-actions bot commented Sep 19, 2022

Unit Tests Summary

    1 files    11 suites   14s ⏱️
108 tests 108 ✔️ 0 💤 0
211 runs  211 ✔️ 0 💤 0

Results for commit 997c3d1.

♻️ This comment has been updated with latest results.

R/utils.R Outdated
Comment on lines 23 to 25
#' Resolve the expected bootstrap version
#' @keywords internal
get_teal_bs_version <- function() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to support both R option as well as sys env. I would say that for the app users the latter one is more accessible through the config panel in RSConnect. That's true for each of our settings.
If added, please explain the order in the docs / vignette. A good example could be found here: https://rstudio.github.io/renv/reference/config.html#details

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it is true for only settings that could be expressed as a character

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could not support sys env as we are expecting bslib::bs_theme which is quite complex object. sys env supports only base types like string.

Copy link
Collaborator

@mhallal1 mhallal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty

Copy link
Contributor

@donyunardi donyunardi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added test cases to increase the coverage.
Everything else looks good to me.

@asbates
Copy link
Contributor

asbates commented Sep 26, 2022

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants