Use radios for the choice of redirect method on the homonyms configuration

Created on 28 June 2023, over 1 year ago
Updated 30 June 2023, over 1 year ago

Problem/Motivation

UX recommendations (e.g. https://www.nngroup.com/articles/listbox-dropdown/) favor radio buttons over dropdowns (select element) when the number of choices is less than 5, for better discoverability.

Since there are only 4 redirect statuses available we want to convert that select element to a radios element.

Bonus points if the radio checkboxes are inline, left-aligned with some margin between them, not just pressed against each other as would be the default.

Steps to reproduce

Navigate to /admin/config/content/g2/controllers, open the Homonyms disambiguation page details.

Proposed resolution

Replace the elements. Ideally, add a #theme, a template, and some CSS in a new g2-admin CSS library so that it is only loaded on those admin pages and not by default.

Remaining tasks

Do it.

User interface changes

Radios instead of a select.

API changes

None.

Data model changes

None.

📌 Task
Status

Fixed

Version

1.0

Component

User interface

Created by

🇫🇷France fgm Paris, France

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024