Skip to content

Conversation

@cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Aug 15, 2023

Closes #743

For reference, here are the Bootstrap changes twbs/bootstrap@v5.2.2...v5.3.1

Notable "breaking" changes

  • As a part of this update, I decided to move logic in tools/patches/033-accordion-defaults.patch (which made opinionated styling decisions about accordions in a "global" way) to inst/builtin/bs5/shiny/, effectively meaning that accordions will go back to the usual Bootstrap styling by default (at least until we make bs_theme(preset="shiny") the default)

TODO

  • Resolve patch conflicts
  • Can we get away without 027-navbar-active-color-bs5-legacy?
  • radios and checkboxes look broken, maybe something went wrong with 023-shiny-forms patch?
  • Make sure bs_theme_preview() works

@cpsievert cpsievert marked this pull request as ready for review August 22, 2023 14:10
Copy link
Member

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

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

I read through the changes and this all looks good to me! I'm okay taking this now and addressing fixes in smaller PRs, if any arise.

Similarly, I don't think we should set preset = "shiny" yet since I'm sure we'll have to make some adjustments there after this (or at least it might save us some work if we're lucky).

@cpsievert cpsievert merged commit a4e487c into main Aug 22, 2023
@cpsievert cpsievert deleted the bootstrap-v5.3.1 branch August 22, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade Bootstrap from 5.2 to 5.3

3 participants