Remove JavaScript from Views configuration form now that it is only CSS

Created on 1 June 2024, 25 days ago
Updated 15 June 2024, 11 days ago

Problem/Motivation

📌 Make drupal.tableheader only use CSS for sticky table headers Needs review allowed the sticky header in table feature to be done with CSS only instead of JavaScript.

In https://git.drupalcode.org/project/drupal/-/blob/10.3.x/core/modules/vie...

    $form['sticky'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Enable Drupal style "sticky" table headers (JavaScript)'),
      '#default_value' => !empty($this->options['sticky']),
      '#description' => $this->t('(Sticky header effects will not be active for preview below, only on live output.)'),
    ];

The checkbox title still mentions JavaScript.

Proposed resolution

The (JavaScript) in the checkbox title should be removed.

Remaining tasks

- do the change in MR
- review
- approval

User interface changes

A checkbox title will be updated.

Before: Enable Drupal style "sticky" table headers (JavaScript)

After: Enable Drupal style "sticky" table headers

API changes

None

Data model changes

None

Release notes snippet

Needed?

📌 Task
Status

Fixed

Version

10.3 ✨

Component
UI text  →

Last updated 4 days ago

No maintainer
Created by

🇫🇷France Grimreaper France 🇫🇷

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024