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

Migration to Bootstrap 5 #216

Merged
merged 3 commits into from
Dec 7, 2023
Merged

Migration to Bootstrap 5 #216

merged 3 commits into from
Dec 7, 2023

Conversation

oneiros
Copy link
Collaborator

@oneiros oneiros commented Nov 7, 2023

Supersedes #207

This replaces Bootstrap with the most recent version.

Since this a complete overhaul of the CSS framework, some visual changes were unavoidable, especially with the accordion component that has been completely rewritten from scratch. In other places I tried to mimick the old behavior as good as possible (without spending too much time on it). So overall I would say the difference is not too bad.

I also took the liberty to remove our dependency on jQuery, since bootstrap no longer requires it.

Copy link
Member

@rwaffen rwaffen left a comment

Choose a reason for hiding this comment

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

LGTM

config/initializers/assets.rb Outdated Show resolved Hide resolved
rwaffen
rwaffen previously approved these changes Nov 8, 2023
Since Bs5 no longer depends on jQuery, and we do not use it
anywhere else, this also removes that dependency.

Some visual changes were unavoidable, but overall I took
care not to change too much at once and existing users should
feel right at home.
... as the dependency on jquery was removed.
With the old BS4 code, the primary color was applied
automatically in this case. With the new accordion
component in BS5 we need to add it explicitly.
@oneiros
Copy link
Collaborator Author

oneiros commented Dec 7, 2023

Rebased and fixed one small regression that @tuxmea found.

@tuxmea tuxmea merged commit 9eb4bc9 into main Dec 7, 2023
9 checks passed
@tuxmea tuxmea deleted the bootstrap5 branch December 7, 2023 16:13
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.

3 participants