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 3 months ago. Updated 2 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

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.

2021-07-31_10-49-52.gif - Gif of the POC of the feature. (341 KB) Mischa The Evil, 2021-07-31 14:56

0001-Dirty-and-untested-POC-for-35647.patch Magnifier - Patch against trunk @ r21131 (7.82 KB) Mischa The Evil, 2021-08-03 02:31


Related issues

Related to Redmine - Defect #35666: Review incorrect usage of Setting.display_subprojects_issues New
Related to Redmine - Feature #2529: Extend Issue Summary to include subprojects Closed 2009-01-19
Related to Redmine - Defect #34185: Trackers of subprojects are not displayed in the Issue su... Closed

History

#1 Updated by Mischa The Evil 3 months ago

  • Description updated (diff)

#2 Updated by Mischa The Evil 2 months ago

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

#3 Updated by Mischa The Evil 2 months ago

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

#4 Updated by Mischa The Evil 2 months ago

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

#5 Updated by Mischa The Evil 2 months ago

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

Also available in: Atom PDF