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 added 10 commits January 19, 2026 17:12
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 <[email protected]>
Deprecated since 17.0.0, use the `@nextcloud/dialogs` package instead.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Instead use components from `@nextcloud/vue`

Signed-off-by: Ferdinand Thiessen <[email protected]>
Instead use Vue components.

Signed-off-by: Ferdinand Thiessen <[email protected]>
…tcloud/vue/components/NcDateTime` instead

Signed-off-by: Ferdinand Thiessen <[email protected]>
Use the DAV client from `@nextcloud/files/dav` instead.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
"jQuery is deprecated and will be removed with Nextcloud 19"
Well... At least it is removed now 😉

Signed-off-by: Ferdinand Thiessen <[email protected]>
@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
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