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 added 10 commits January 22, 2026 00:17
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>
@susnux susnux force-pushed the chore/drop-jquery branch from 5550b87 to d8189c4 Compare January 21, 2026 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress ♻️ 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