[Meta] Remove JQueryUI dependencies

Created on 27 April 2021, about 3 years ago
Updated 5 June 2024, 23 days ago

Problem/Motivation

In light of Drupal core's ongoing efforts to phase out jQuery UI components in favor of more modern, maintained, and accessible libraries, there's a clear signal towards the ecosystem's evolution away from jQuery UI. This module, relying on several jQuery UI components, needs to adapt to ensure compatibility with future Drupal versions and to embrace the performance, accessibility, and maintenance benefits of modern JavaScript practices.

Steps to Reproduce

N/A - This is a strategic initiative rather than a response to a specific issue.

Proposed Resolution

To align with Drupal core's modernization efforts, the proposed resolution for this module involves:

  • Identifying which jQuery UI components are crucial for the module's functionality.
  • Researching and selecting modern, actively maintained alternatives to these components.
  • Refactoring the module to integrate these alternatives, ensuring backward compatibility where possible.

Remaining Tasks

  - jquery_ui:jquery_ui
  - jquery_ui_slider:jquery_ui_slider
  - jquery_ui_touch_punch:jquery_ui_touch_punch
  - jquery_ui_datepicker:jquery_ui_datepicker
  • Select appropriate replacements for these dependencies by considering the following related issues:
  • Remove JQuery as a dependency and add Casey's patch https://www.drupal.org/files/issues/2023-08-29/3210944-13.patch to that issue.
  • Update documentation.
  • Implement the replacements and test thoroughly for functionality and performance.
  • Create new release to celebrate this acheivement
  • User Interface Changes

    While the goal is to minimize direct UI changes, improvements in performance and accessibility may lead to minor adjustments in the user experience.

    API Changes

    Refactoring to remove jQuery UI dependencies may result in API changes. Detailed documentation will be provided to guide developers through any necessary adjustments.

    Data Model Changes

    No changes to the data model are anticipated as part of this initiative.

    🌱 Plan
    Status

    Fixed

    Version

    7.0

    Component

    Code

    Created by

    heddn Nicaragua

    Live updates comments and jobs are added and updated live.
    Sign in to follow issues

    Merge Requests

    Comments & Activities

    Not all content is available!

    It's likely this issue predates Contrib.social: some issue and comment data are missing.

    Production build 0.69.0 2024