Provider URL text field value is partially obscured on configuration form

Created on 17 March 2022, over 3 years ago
Updated 23 August 2025, about 2 months ago

Problem/Motivation

The embed_provider text field (Provider URL) inherits the default Textfield #maxlength and #size attributes of 128 and 60 respectively. The example URL with an API token is 90 characters long. Real provider URLs can have even higher character counts. Therefore, the right-most 30+ characters of the URL are typically hidden from view.

After spending some time troubleshooting a "Unable to retrieve [URL] at this time" and corresponding GuzzleHttp 403 exception, I discovered a misconfigured Provider URL on one of our development sites. This was caused by a misconfigured API token, but it was obscured by the default text field size. For this reason, I have categorized this issue as a user interface "Bug report" rather than a "Feature request".

Proposed resolution

Add a #size attribute of 128 characters to the text field (equivalent to the default #maxlength value).

User interface changes

See description above. Here is a screenshot with the change.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States amanire

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

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.71.5 2024