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

feat(vendor-core): update to jquery 3 #479

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

Conversation

MariaAga
Copy link
Member

BREAKING CHANGE:
Updates jquery,datatables,select2. replaces jquery.cookie with js-cookie

Copy link
Member

Choose a reason for hiding this comment

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

Out of interest, why pin to these specific versions instead of a wider range? And would the latest jquery version work?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, I'm not sure why I used that version, gonna run some tests and update this

Copy link
Member Author

Choose a reason for hiding this comment

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

updated, had to do one small change for the in the core pr as focusout was removed

@MariaAga
Copy link
Member Author

Moved to using js-cookie directly instead of from the jquery module theforeman/foreman#10250

"jquery-ujs": "~1.2.0",
"jquery.cookie": "~1.4.1",
"js-cookie": "3.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this here if foreman core depends on it? I'm not sure where we are with the whole removal of foreman-js.

Copy link
Member Author

Choose a reason for hiding this comment

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

nope, forgot to remove it. removed now. were still using foreman-js

BREAKING CHANGE:
Updates jquery,datatables,select2. removes jquery.cookie
@ekohl
Copy link
Member

ekohl commented Jan 9, 2025

I don't feel qualified to review this given how little I've done in the frontend but would love to see progress on this. How can we get this merged? Is it something we want in this cycle? So merge it this month? Do we need to coordinate with various plugins?

@MariaAga
Copy link
Member Author

@ekohl were waiting for @sjha4 or @jeremylenz to review it

@ekohl ekohl requested a review from jeremylenz January 10, 2025 11:46
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