Project

General

Profile

Actions

Patch #2959

closed

Only display active versions in context menu submenu

Added by Brad Beattie over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-03-12
Due date:
% Done:

0%

Estimated time:

Description

The attached patch removes completed versions from the issues context menu. If a project has some 20 completed versions, this list starts to get awfully long.


Files

patch.txt (997 Bytes) patch.txt Brad Beattie, 2009-03-12 17:53

Related issues

Related to Redmine - Feature #1245: close versionsClosedJean-Philippe Lang2008-05-16

Actions
Actions #1

Updated by Paul Rivier over 15 years ago

This is a desirable feature IMO, but I am not sure that "being passed" or "being completed" fully qualify a version for being "desactivated". This could maybe be a setting like
Version are desactivated when they are :
  • passed
  • passed and completed
  • manually (need an additionnal property to be manually switched on Versions)

But for sure, being able to keep the version dropdown menu clean it a very important thing.
Thank you for this patch.

Actions #2

Updated by Brad Beattie over 15 years ago

Yeah, I see what you're saying. I just took the code that was being used to hide versions from the project roadmap page for consistency. One is changed, both should be, y'know? In that sense, what you're proposing is a separate feature request. Related, but separate.

Actions #3

Updated by Jean-Philippe Lang over 15 years ago

See #1245. Let me know what you think of this proposal.

Actions #4

Updated by Brad Beattie over 15 years ago

Jean-Philippe Lang wrote:

See #1245. Let me know what you think of this proposal.

I've commented on that proposal. Ultimately, I don't think it impacts this patch issue much. Currently, the way versions are being detected as closed isn't by a boolean, but by whether the issues in the version are all closed. All I've done in this patch is added that code to the context menu.

If the method of detecting closed status changes, then this patch could change too, yeah?

Actions #5

Updated by Jean-Philippe Lang over 15 years ago

IMHO, there's no reason to filter completed versions in the context menu and not in the 'Target version' drop down list on the issue form. I understand this can be a problem when you have lots of versions. But before changing this behaviour (not being able to assign an issue to a completed version) I think it would be better to explicitly mark versions as completed.

Actions #6

Updated by Paul Rivier over 15 years ago

Hello Jean-Philippe

See #1245. Let me know what you think of this proposal.

I'm totally happy with this proposal, it makes sens, does not look intrusive and will answer our expressed needs. Thank you very much.

Actions #7

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from New to Closed

Obsoleted by r3020.

Actions

Also available in: Atom PDF