Skip to content

chore: upgrade jQuery UI from 1.12.1 to 1.14.2#1116

Closed
labmecanicatec wants to merge 0 commit intoLibreBooking:developfrom
labmecanicatec:jQueryUI_Update
Closed

chore: upgrade jQuery UI from 1.12.1 to 1.14.2#1116
labmecanicatec wants to merge 0 commit intoLibreBooking:developfrom
labmecanicatec:jQueryUI_Update

Conversation

@labmecanicatec
Copy link
Collaborator

  • 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.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

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.

2 participants