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

Add experimental/incomplete Bootstrap 5 support to existing components #1499

Merged
merged 4 commits into from
May 13, 2021

Conversation

simonihmig
Copy link
Contributor

@simonihmig simonihmig commented May 13, 2021

This change pretends that BS5 components require the same markup as BS4. This should be true for many components, but not all. Follow up PRs will be created to address the latter cases, see #1494.

But at least this is better than what we had before, as the macros checked for only 3 or 4 and would leave the markup for BS5 broken basically everywhere. And this allows us to iterate step by step on fixing the remaining issues, with BS5 already enjoying full CI coverage.

@jelhan This was mostly a find-and-replace job, so no line by line review required. But would like to hear if you approve this approach here!

This change *pretends* that BS5 components require the same markup as BS4. This should be true for many components, but not all. Follow up PRs will be created to address the later cases, see #1494.

But at least this is better than what we had before, as the macros checks for only 4 or 5 would leave the markup for BS5 broken basically everywhere. And allows us to iterate step by step on fixing the remaining issues, with BS5 already enjoying full CI coverage.
@jelhan
Copy link
Contributor

jelhan commented May 13, 2021

I like the approach. Wondering if we should name it isNotBS3. This would highlight that we could remove when dropping support for Bootstrap 3. And might be easier to read than isBS45. But not having strong opinion about.

@simonihmig
Copy link
Contributor Author

Wondering if we should name it isNotBS3

I like, updated it!

CI seems to be green now finally (except for #1498)

@simonihmig simonihmig merged commit eb0e4f8 into master May 13, 2021
@simonihmig simonihmig deleted the bs5-tests branch May 13, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants