Over at #311949-24: Provide us with core developer releases I proposed that for some projects, it might be nice to group the version options under the core compatibility heading for the corresponding release nodes. So, instead of:

6.x-1.0
6.x-1.0-beta1
6.x-1.0-rc1
6.x-1.x-dev
5.x-1.2
5.x-1.1
5.x-1.x-dev
...

We'd have something like:

6.x
  6.x-1.0
  6.x-1.0-beta1
  6.x-1.0-rc1
  6.x-1.x-dev
5.x
  5.x-1.2
  5.x-1.1
  5.x-1.x-dev

Furthermore, it'd be nice if maintainers could somehow sort these groupings, to hide the less relevant releases from the top of the list. In the case of #311949, that'd mean putting the 7.x options below 6.x and 5.x (but probably about 4.7.x -- who knows).

This is related to #97568: allow maintainers to restrict choices for "Version" in new issues/replies but different enough that I wanted to make a separate issue about it.

Comments

catch’s picture

Once they're grouped, we could also run http://drupal.org/project/hierarchical_select to make it nicer narrowing down too.

drumm’s picture

Assigned: Unassigned » drumm
Issue summary: View changes
drumm’s picture

Status: Active » Needs review
StatusFileSize
new85.67 KB
new42.66 KB
new138.13 KB

I plan to deploy this along with #3089291: Group issue version “series” by branch instead of API compatibility soon.

Here are examples for the core, semver_example, and automatic_updates project:

Core semver_example automatic_updates

drumm’s picture

Project: Project issue tracking » Project
Version: 5.x-2.x-dev » 7.x-2.x-dev
Component: User interface » Releases
Issue tags: +affects drupal.org

This code is in project_release.

dww’s picture

StatusFileSize
new404.59 KB

Looks great, thanks! Glad to see this issue finally getting some love. ;)

We could sure use it in here... here's the project_issue version selector for comparison....

Only local images are allowed.

  • drumm committed 70d713b on 315583-version-options
    Issue #315583: Group and sort version options on the issue form
    

  • drumm committed 70d713b on 7.x-2.x
    Issue #315583: Group and sort version options on the issue form
    
drumm’s picture

Status: Needs review » Fixed

This is fixed in project module, for Drupal.org deployment, watch #3089291: Group issue version “series” by branch instead of API compatibility.

drumm’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.