Project

General

Profile

Actions

Feature #35647

open

Allow the user to properly override Setting.display_subprojects_issues on Issue Reports if a project has subprojects

Feature #35647: Allow the user to properly override Setting.display_subprojects_issues on Issue Reports if a project has subprojects

Added by Mischa The Evil over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Issues planning
Target version:
-
Resolution:

Description

I'd like to know if there is interest in a feature like this:

Gif of the POC of the feature.


Files

2021-07-31_10-49-52.gif (341 KB) 2021-07-31_10-49-52.gif Gif of the POC of the feature. Mischa The Evil, 2021-07-31 14:56
0001-Dirty-and-untested-POC-for-35647.patch (7.82 KB) 0001-Dirty-and-untested-POC-for-35647.patch Patch against trunk @ r21131 Mischa The Evil, 2021-08-03 02:31

Related issues 3 (1 open — 2 closed)

Related to Redmine - Defect #35666: Review incorrect usage of Setting.display_subprojects_issuesNewActions
Related to Redmine - Feature #2529: Extend Issue Summary to include subprojectsClosedGo MAEDAActions
Related to Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue summary pageClosedGo MAEDAActions

Updated by Mischa The Evil over 5 years ago Actions #1

  • Description updated (diff)

Updated by Mischa The Evil over 5 years ago Actions #2

  • Related to Defect #35666: Review incorrect usage of Setting.display_subprojects_issues added

Updated by Mischa The Evil over 5 years ago Actions #3

  • Related to Feature #2529: Extend Issue Summary to include subprojects added

Updated by Mischa The Evil over 5 years ago Actions #4

  • Related to Defect #34185: Trackers of subprojects are not displayed in the Issue summary page added

Updated by Mischa The Evil over 5 years ago Actions #5

Here's a dirty and untested patch against current trunk @ r21131 that implements this.

Some notes and warnings on the patch:
  • used argument is currently true/false, while in e.g. activity 1/0 is used
  • argument handling is sub-optimal at best
  • style="margin-bottom: 1.4em;" is currently hard-coded in the _options_form.html.erb partial
  • sub-project parameter support is implemented for categories block, while the block itself doesn't support rendering of sub-project data (see #35664)
  • contains no tests, doesn't modify existing tests and might break existing tests
  • contains some duplication
Actions

Also available in: PDF Atom