Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jan 20, 2026

Summary

jQuery is deprecated and will be removed in Nextcloud 19

Well no it was not. But it is now with Nextcloud 34.

This PR removed all jQuery UI related code:

  • jQuery UI itself
  • UI API which was extending jQuery UI:
    • OC.Dialogs.fileexists -> use @nextcloud/dialogs instead
    • OC.Notifications -> use @nextcloud/dialogs instead
    • OC.Apps -> use @nextcloud/vue components
    • OC.*menu* -> use @nextcloud/vue components
    • .live-relative-timestamp -> use NcDateTime from @nextcloud/vue
    • snapper -> use NcAppNavigation from @nextcloud/vue
  • Remove jQuery
    • Remove code that extended jQuery
      • Backbone
      • OC.Files.Client

TODO

Requires this first:

Checklist

@susnux susnux added 2. developing Work in progress 3. to review Waiting for reviews technical debt ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Jan 20, 2026
@susnux susnux added this to the Nextcloud 34 milestone Jan 20, 2026
@susnux susnux removed the 3. to review Waiting for reviews label Jan 20, 2026
@susnux susnux force-pushed the chore/drop-jquery branch from 5550b87 to d8189c4 Compare January 21, 2026 23:18
@susnux susnux force-pushed the chore/drop-jquery branch from d8189c4 to 85965c0 Compare January 25, 2026 12:36
@susnux susnux force-pushed the chore/drop-jquery branch 2 times, most recently from a30f4cf to 08f5601 Compare January 27, 2026 02:52
susnux added 11 commits January 27, 2026 14:03
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
It is deprecated since 29.0.0.
Instead use `openConflictPicker` from the `@nextcloud/upload` (Vue 2).
Or from `@nextcloud/dialogs` (every other framework like Vue 3 etc).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Deprecated since 17.0.0, use the `@nextcloud/dialogs` package instead.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Instead use components from `@nextcloud/vue`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Instead use Vue components.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…tcloud/vue/components/NcDateTime` instead

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Use the DAV client from `@nextcloud/files/dav` instead.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
"jQuery is deprecated and will be removed with Nextcloud 19"
Well... At least it is removed now 😉

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the chore/drop-jquery branch from 08f5601 to 89dc2be Compare January 27, 2026 13:06
@susnux susnux self-assigned this Jan 27, 2026
@susnux susnux added the pending documentation This pull request needs an associated documentation update label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress pending documentation This pull request needs an associated documentation update ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move away from jQuery and jQuery UI

2 participants