Project

General

Profile

Actions

Feature #42477

closed

Configurable columns for the lists of child and related issues

Added by Jens Krämer about 1 month ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

The attached patch implements a global setting that allows to select which columns (issue attributes) should be rendered in the list of related and sub-issues on issues#show.

This feature has been previously implemented (with additional configurability on the project level, which we skipped for this patch) by AlphaNodes' redmine_issue_view_columns plugin. At Planio we think that the possibility to configure this on a global level is useful enough to be part of vanilla Redmine, with the option to expand this to the project level once we implement a generalized scheme for such project-specific setting-overrides.

The patch also adds a setting to toggle display of table headers, which may be useful in case ambiguous columns are shown (i.e., multiple date or user fields).


Files


Related issues

Related to Redmine - Feature #17538: Display priority of related issuesClosed

Actions
Related to Redmine - Defect #41828: In mobile view, delete relation svg icon in 'Related Issues' on an issue page, overflow textClosedMarius BĂLTEANU

Actions
Related to Redmine - Patch #15153: Show more information about subtasksNew

Actions
Related to Redmine - Feature #11969: Subtask display fieldsNew

Actions
Actions #1

Updated by Go MAEDA about 1 month ago

Thank you for submitting the patch that implements the useful feature.

After applying the patch, I observed some test failures. Those errors can be fixed by applying the attached patch on top of the original one.

Failure:
SettingsControllerTest#test_get_edit_should_preselect_default_issue_list_columns [test/functional/settings_controller_test.rb:62]:
Expected exactly 0 elements matching "option[value=tracker]", found 1.
Expected: 0
  Actual: 1

bin/rails test test/functional/settings_controller_test.rb:47
Error:
IssuesHelperTest#test_render_issue_relations:
NoMethodError: undefined method `column_content' for an instance of IssuesHelperTest
    app/helpers/issues_helper.rb:246:in `block (2 levels) in render_issue_relations'
    app/helpers/issues_helper.rb:245:in `each'
    app/helpers/issues_helper.rb:245:in `block in render_issue_relations'
    app/helpers/issues_helper.rb:220:in `each'
    app/helpers/issues_helper.rb:220:in `render_issue_relations'
    test/helpers/issues_helper_test.rb:404:in `test_render_issue_relations'

bin/rails test test/helpers/issues_helper_test.rb:397
Actions #2

Updated by Go MAEDA about 1 month ago

Actions #3

Updated by Go MAEDA about 1 month ago

  • Tracker changed from Patch to Feature
  • Target version changed from Candidate for next major release to 6.1.0

Setting the target version to 6.1.0.

Actions #4

Updated by Go MAEDA 29 days ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r23596. Thank you for your contribution.

Actions #5

Updated by Marius BĂLTEANU 23 days ago

  • Related to Defect #41828: In mobile view, delete relation svg icon in 'Related Issues' on an issue page, overflow text added
Actions #6

Updated by Go MAEDA 8 days ago

  • Related to Patch #15153: Show more information about subtasks added
Actions #7

Updated by Go MAEDA 8 days ago

Actions

Also available in: Atom PDF