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

Adjust bootstrap to 5.x #5621

Closed
wants to merge 4 commits into from
Closed

Adjust bootstrap to 5.x #5621

wants to merge 4 commits into from

Conversation

b10n1k
Copy link
Contributor

@b10n1k b10n1k commented May 6, 2024

Remove asset files not in current version and adjust some CSS variables as per documentation.

@kalikiana
Copy link
Member

https://progress.opensuse.org/issues/159408 I'm guessing

@kalikiana
Copy link
Member

Alternative to #5514? In the Unblock the q came up if we can't re-use the existing PR

Copy link

Great PR! Please pay attention to the following items before merging:

Files matching assets/stylesheets/**:

  • Consider providing screenshots in a PR comment to show the difference visually

This is an automatically generated QA checklist based on modified files.

Copy link
Contributor

mergify bot commented May 28, 2024

This pull request is now in conflicts. Could you fix it? 🙏

@Martchus
Copy link
Contributor

I'll resolve conflicts and try to continue here.

@Martchus Martchus force-pushed the 159171 branch 3 times, most recently from d2ebae3 to 88f8f15 Compare May 29, 2024 14:37
Copy link
Contributor

mergify bot commented May 29, 2024

This pull request is now in conflicts. Could you fix it? 🙏

Remove asset files not in current version and adjust certain usages as per
documentation.

Related ticket: https://progress.opensuse.org/issues/159408

Signed-off-by: ybonatakis <ybonatakis@suse.com>
Related ticket: https://progress.opensuse.org/issues/159408

Signed-off-by: ybonatakis <ybonatakis@suse.com>
* Fix generally invalid HTML
* Use regular JavaScript APIs as shown in the Bootstrap 5 documentation
  instead of jQuery APIs when it was not too much extra effort
* Disable smooth scrolling in unit tests as it disturbs our tests (because
  elements are then no longer immediately in the view port and thus not
  immediately clickable - and even if it worked we want our tests to be as
  fast as possible)
* Remove the remains of the Litera theme completely as those definitions
  didn't seem to do much anymore anyway
* Adapt usage of Bootstrap APIs where necessary and also tests where
  necessary
* Workaround UTF-8 byte order mark being added by AssetPack in the middle
  of the CSS document in production mode (which is not a new problem but
  has apparently a more severe impact with Bootstap 5)

Related ticket: https://progress.opensuse.org/issues/159408
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

3 participants