Increase visible size of Path and To fields

Created on 24 April 2024, 8 months ago

Problem/Motivation

Very long file names cannot be displayed in full on the Add redirect or Edit redirect screens. This creates cognitive load (accessibility issue) and makes it harder to proofread (usability issue). It would be better if the full file name could be displayed, or at least as much real estate as is available be taken up by the entry field.

Steps to reproduce

1. Login as someone with permission to add and edit redirects
2. Go to /admin/config/search/redirect/add
3. In the Path field, paste sites/default/files/reports-and-documents/2024/04/sfmta_public_notice_-_impasse_resolution_proceeding_04.25.24_-_updated.pdf
4. In the To field, paste

Desired result option one, if feasible: The field experience to accommodate the four file name in the visible field, including growing in the number of visible Rose if necessary.

Desired result option two, if option one is not feasible: The field occupies the full width of the available page area. The Path field is moved down to a line by itself to accommodate this.

Undesirable result: The text shrinks to accommodate the full file name in the visible field.

Actual result: The visible portion of the file name is truncated to the field width, as shown in the following screen print:

Proposed resolution

Implement a self-growing field area for the Path and To fields if at all feasible. If that is not feasible, move the Past field to a row by itself and expand both the Path and the To field to take up the full width of the page.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.9

Component

User interface

Created by

🇺🇸United States charles belov San Francisco, CA, US

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

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024