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 Bootstrap 5 support #191

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add Bootstrap 5 support #191

wants to merge 1 commit into from

Conversation

guruofgentoo
Copy link
Member

@guruofgentoo guruofgentoo commented May 22, 2023

Switch to Bootstrap 5 by default, add two config keys to make selecting bootstrap version for template support a bit easier.

  • select bootstrap version via KEG_BOOTSTRAP_MAJOR_VERSION config (default 5)
  • select whether bootstrap is used at all via KEG_TEMPLATE_FLAVOR config (default bootstrap)
  • use tomselect for bootstrap 5+, in place of select2 (to remove jQuery dependency)

refs #188

BC BREAK Apps that want to stay on Bootstrap 4 will need to set KEG_BOOTSTRAP_MAJOR_VERSION to 4. Apps could also begin extending the horizontal.html form template instead of horizontal-b4.html, but that change is not required.

- select bootstrap version via KEG_BOOTSTRAP_MAJOR_VERSION config (default 5)
- select whether bootstrap is used at all via KEG_TEMPLATE_FLAVOR config (default bootstrap)
- use tomselect for bootstrap 5+, in place of select2 (to remove jQuery dependency)
refs #188
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #191 (8e47e4c) into master (aa60cd6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #191   +/-   ##
=======================================
  Coverage   96.17%   96.17%           
=======================================
  Files          33       33           
  Lines        3840     3840           
=======================================
  Hits         3693     3693           
  Misses        147      147           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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.

None yet

1 participant