Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The version selector on this issue goes back to 4.7.x-1.0 and has over 20 options.
For Views it goes back to 4.6 and has a scrollbar on my laptop.
Proposed resolution
Only show supported branches in the version selector. This would reduce the number options down to 2-4 for the vast majority of projects.
Comments
Comment #2
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedCould make sense to remove them eventually (once they've been unsupported for a while); not sure about doing it right away since it would prevent issues like #2687401: [core] Sessions don't work on PostgreSQL after updating to Drupal 6.38 from being filed against the right branch.
Then there are issues like #1016008: Drupal 5 PHP 5.3/5.4 compatibility patch which was filed right around when Drupal 5 was marked unsupported, but could easily have been filed much much later - and which (sadly) I made use of several years later.
What would happen when someone comments on an old issue? Would the version selector just keep the already-selected unsupported version, but not show any of the others?
Comment #3
catch#2687401: [core] Sessions don't work on PostgreSQL after updating to Drupal 6.38 should probably be filed against https://www.drupal.org/project/d6lts at this point. Had there been a D5LTS project then #1016008: Drupal 5 PHP 5.3/5.4 compatibility patch could have been filed against that.
Yes that bit's tricky - what you described sounds like a good solution. Allow issues to stay at the current version, or move to a supported branch, but not move between unsupported branches or backwards.
Comment #4
drummI suggest considering clearly labeling these with an optgroup. This removes any extra considerations in updating old issues (need the usual allowed values, plus the current value) and allows issues to move around in old versions for the edge cases that need it.
Comment #5
catchAn optgroup would be a good step forward.
Comment #6
drummA problem here is that 9.0.x-dev is technically not supported. If we keep that under “Unsupported”, #2691889: Add option to remove tagged releases from the version selector should land first, so 9.x isn’t too far down. I could also see splitting unsupported into something like “Future” and “Unsupported”.
Comment #7
xjmWhile an optgroup would be a step, part of the advantage of this issue would be in removing options from the form so that we can add support for multiple branches without it being overwhelming. Optgroups are generally bad for usability. Maybe old branches could be under an "Unsupported..." multiselector in the long term or something? But yeah, issues getting accidentally updated from 4.6.x to the latest version would be disruptive, so it makes sense to avoid that.