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

Get rid of jquery UI #18739

Closed
4 tasks
PVince81 opened this issue Sep 1, 2015 · 22 comments
Closed
4 tasks

Get rid of jquery UI #18739

PVince81 opened this issue Sep 1, 2015 · 22 comments

Comments

@PVince81
Copy link
Contributor

PVince81 commented Sep 1, 2015

Libs

Apps

  • LDAP wizard
  • calendar
    • jqueryui-timepicker
  • contacts
    • jqueryui-timepicker
  • gallery
    • jquery.ui.touch-punch
@jancborchardt
Copy link
Member

cc @georgehrke @raghunayyar @libasys for Calendar – if jQuery UI is still used there, get rid of it.

@blizzz use the tabs as in the sidebar. No accordion of possible. If needed, do it similarly as in the Proxy app or in the installation with simple JS expanding cc @LukasReschke

@georgehrke
Copy link
Contributor

What's about the date picker when setting an expiration date for a share?

@jancborchardt
Copy link
Member

Can we isolate that or get it from a library instead? If that’s the only part we use of jQuery UI then it doesn’t warrant pulling in the whole thing.

@raghunayyar
Copy link
Member

@jancborchardt for calendar we intend to move to popover in rework as soon as we get rid of jquery UI in core.

@libasys
Copy link
Contributor

libasys commented Sep 9, 2015

what's about sortable, drag & drop and so on, all primary usefull functions?

@jancborchardt
Copy link
Member

@libasys can you analyze where those functions are used? And those are from jQuery UI, not simply jQuery?

@jancborchardt
Copy link
Member

@raghunayyar then basically already move to popover now because we will definitely get rid of jQuery UI for 9.0.

@libasys
Copy link
Contributor

libasys commented Sep 9, 2015

@jancborchardt
Copy link
Member

@libasys where are they used?

@libasys
Copy link
Contributor

libasys commented Sep 9, 2015

i think many community apps use this functions! progressbar as example for the import dialog!
drag, drop & sortables in contacts app and so on!
you can't say get rid of jquery ui, this lib is since a few year in the core integrated! what should community apps devs do in future? i think the first point is get rid of jquery ui dialog but not get rid of jquery ui! the second step get rid of tables for more fluid & responsive design!

@jancborchardt
Copy link
Member

@libasys yeah, what I was saying is that we should try to isolate which parts of jQuery UI we actually use. And then only ship those.

@oparoz
Copy link
Contributor

oparoz commented Oct 6, 2015

libasys where are they used?

You can't drag and drop in the files app without it

i think the first point is get rid of jquery ui dialog but not get rid of jquery ui!

It doesn't really matter as it's a library which can be included in the apps themeselves. It's more of a problem when core JS stuff is thrown away.

@PVince81 PVince81 modified the milestones: 9.1-next, 9.0-current Feb 11, 2016
@georgehrke
Copy link
Contributor

What's the state on this? Will jQuery UI be removed with 9.1?

@PVince81 PVince81 modified the milestones: 9.1-current, 9.2-next Jun 15, 2016
@PVince81
Copy link
Contributor Author

PVince81 commented Dec 9, 2016

No, there are still too many components using it unfortunately... Need to sort these out first.

@felixheidecke

@PVince81 PVince81 added this to the backlog milestone Apr 6, 2017
@PVince81 PVince81 removed this from the 10.0 milestone Apr 6, 2017
@PVince81
Copy link
Contributor Author

PVince81 commented Jul 3, 2018

@felixheidecke please investigate whether we can/should update to the latest jquery.ui version and how much time it would need to migrate (find out with migration guide and function usage)

@PVince81
Copy link
Contributor Author

@felixheidecke can you prepare and run your script for the two jquery.ui migrations ? we need to evaluate how much work this is compared to getting rid of jquery.ui altogether

@PVince81
Copy link
Contributor Author

PVince81 commented Aug 3, 2018

@felixheidecke bad things will already happen when updatingjust from jquery-ui 1.10.0 to 1.10.4, see #30088 (comment)

The worse part is that OC has a file jquery-ui-fixes.css that overrides styles which will likely change in future versions. So when updating we'd need to adjust these hacks.

@PVince81
Copy link
Contributor Author

PVince81 commented Aug 3, 2018

@felixheidecke let's compare how much time we'd need to update jquery.ui including the existing OC hacks (jquery-ui-fixes.css) with the time it would take to replace all components with non-jquery-ui ones...

@PVince81
Copy link
Contributor Author

PVince81 commented Aug 9, 2018

Updated plan: we carry on with updating jquery.ui and will fix jquery.ui.fixes.

Considering that Phoenix is the future, it's not worth investing time trying to replace the jquery.ui plugins with alternatives.

@PVince81
Copy link
Contributor Author

This was referenced Aug 27, 2018
@PVince81
Copy link
Contributor Author

Ticket for the jquery ui upgrade: #32484

@felixheidecke
Copy link
Contributor

@PVince81 can we close this as there is a new upgrade Issue instead of getting rid?

@PVince81 PVince81 closed this as completed Nov 6, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants