Repository navigation
Conversation
|
From what I can tell running an additional script is necessary to update the HTML dependencies. However, when I run When I run the same command against latest quarto-cli/main the HTML dependency update completes successfully, indicating the changes in this branch introduce a bug. |
|
Looks like it was specific to a had-coded patch in After updating HTML dependencies, I am still seeing unchanged behavior on quarto-cli/6081, though it's possible I missed a necessary step in the update progress? |
|
Did a little poking around, and it turns out that in the pre-patch simplex theme, the .navbar elements were re-ordered, causing an error. Opened a PR against your branch here that successfully completes |
|
You guys are doing a great job of sorting through this - sorry I haven't pitched in with information!
|
|
Thanks for the help @msummersgill and extra context @dragonstyle. I'm actually going close this and send you another (simpler) PR soon. We're going to change the way we bundle component-specific Sass/CSS so that Quarto doesn't need to be responsible for it (see rstudio/bslib#664). One that PR is merged, folks will be able to just upgrade Also, the new PR will just be (mostly) for upgrading Quarto's bundled version of Bootstrap (which we could tie to a different issue). |
Closes #6081 (And possibly other issues connected to
{bslib}).This PR is aimed at getting quarto's Bootstrap Sass to more accurately reflect
{bslib}'s Sass code. Somewhat recently, we started to adding additional components like (cards, value boxes, and sidebars, etc). At least at the moment, the Sass/CSS for these components are added to the page-level Bootstrap dependency (to help reduce the amount of Sass calls would be needed for themable components).This page-level Bootstrap dependency is represented by
bslib::bs_theme(), which has some R-specific logic to pull in more than just Bootstrap alone. To help make it more transparent what else it brings in, rstudio/bslib#655 added ainst/css-precompiled/5/bootstrap.scssfile which captures the Sass code thatbslib::bs_theme()generates. This PR make this file the main entry point for Bootstrap Sass (and also brings in the other files/assets that it imports).Happy to hop on a Zoom/Slack call to go through this if that helps
Disclaimer
I haven't verified this code actually works, but I hope it's enough to get the conversation going. FWIW, when I run
./configure.shlocally, this code path doesn't appear to run, so I'm not quite sure what code I need to run to get these changes into my local install of quarto