Too much redundant information displayed in links between versions on api.drupal.org

Created on 30 April 2019, over 5 years ago
Updated 5 July 2024, 2 months ago

When trying to switch between versions of a class or function, the pages repeats a lot of information that is identical between them, making it too difficult to scan for the information that is actually different, namely the version of core:

As you can see in the image above, even the current version being viewed is quite subtle.

I propose that this switcher between versions should be much more prominent, and clearly display the current version, with alternate versions displayed in a dropdown (or perhaps in a simplified details element, more clearly styled). For example:

Feature request
Status

Active

Version

2.0

Component

User interface

Created by

🇨🇦Canada mandclu

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.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇪🇸Spain fjgarlin

    I feel like after doing the branch clean up and also changing the styling of the element, this doesn't seem like a big issue:

  • 🇪🇸Spain fjgarlin

    Though I agree that maybe it's a lot of information not really needed, as it is same name and namespace already).
    Maybe something like this feels "cleaner"?

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I would use a select form element like in the first screenshot on comment #5 and as the issue summary suggests. It should be clear it takes to the same page, but for a different Drupal version.

Production build 0.71.5 2024