chore: upgrade jQuery UI from 1.12.1 to 1.14.2#1116
Closed
labmecanicatec wants to merge 0 commit intoLibreBooking:developfrom
Closed
chore: upgrade jQuery UI from 1.12.1 to 1.14.2#1116labmecanicatec wants to merge 0 commit intoLibreBooking:developfrom
labmecanicatec wants to merge 0 commit intoLibreBooking:developfrom
Conversation
Collaborator
labmecanicatec
commented
Mar 7, 2026
- Remove legacy jQuery UI 1.12.1 CSS, JS, and image assets, including the Smoothness theme.
- Add jquery-ui.1.14.2.min.js and metadata.json to the 1.14.2 directory.
- Update CSS and template files (Web/css/librebooking.css, Web/css/schedule.css, tpl/globalheader.tpl) to reference the new version.
- Reduce the need for jQuery Migrate to handle legacy code.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the frontend jQuery UI dependency from 1.12.1 to 1.14.2 by removing the legacy vendored assets, adding the new 1.14.2 minified JS, and updating templates/CSS that referenced the old version.
Changes:
- Switch jQuery UI script references (local + CDN) to 1.14.2.
- Remove legacy jQuery UI 1.12.1 Smoothness/theme CSS asset(s) and related CSS overrides.
- Add vendored jQuery UI 1.14.2 minified JavaScript and update vendor metadata.
Reviewed changes
Copilot reviewed 3 out of 33 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
tpl/globalheader.tpl |
Updates jQuery UI script URLs to 1.14.2 and removes jQuery UI CSS includes. |
Web/css/schedule.css |
Removes datepicker centering rule and adjusts formatting. |
Web/css/librebooking.css |
Removes .ui-widget font override and keeps .ui-autocomplete z-index styling. |
Web/assets/vendor/jquery-ui/1.14.2/metadata.json |
Updates the recorded jQuery UI version to 1.14.2. |
Web/assets/vendor/jquery-ui/1.14.2/js/jquery-ui.1.14.2.min.js |
Adds the new vendored jQuery UI 1.14.2 minified bundle. |
Web/assets/vendor/jquery-ui/1.12.1/css/jquery-ui.1.12.1.custom.min.css |
Removes the legacy jQuery UI 1.12.1 theme CSS asset. |
You can also share your feedback on Copilot code review. Take the survey.
14d1078 to
caeb2d4
Compare
b3cbbaf to
42c98d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.