Add basic styling for the "Same name and namespace in other branches" widget

Created on 16 July 2023, over 1 year ago
Updated 18 July 2023, over 1 year ago

Problem/Motivation

Currently, the "Same name and namespace in other branches" widget is styled like a link in body text, and is directly adjacent to the API description body text, which makes it difficult to tell that it's an automatically-generated interactive widget, rather than part of the API description text.

Steps to reproduce

Visit a page such as https://api.drupal.org/api/drupal/core%21modules%21node%21node.module/gr... and start reading the text.

Proposed resolution

  • Add a disclosure triangle to indicate that a click will reveal more content, and remove the blue link color to clarify that a click will alter the display on the current page rather than navigating to a different page
  • Add a background and padding to indicate that this content is not part of the page's API description text

Remaining tasks

Review

User interface changes

See above description and screenshots.

API changes

n/a

Data model changes

n/a

πŸ“Œ Task
Status

Closed: won't fix

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States smokris Athens, Ohio, USA

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

Comments & Activities

Production build 0.71.5 2024