Project

General

Profile

Actions

Feature #26081

closed

Allow full_width_layout long-text custom fields to appear in the issue list like 'Description' (as a block column)

Added by jb cbdse almost 7 years ago. Updated about 5 years ago.

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

0%

Estimated time:
Resolution:
Fixed

Description

I see that issue #21705 will allow for long text custom fields to be edited and viewed more similarly to the Description field. The examples given are "Description, Release Notes, Testing Steps", etc.

I don't believe that patch will add the feature I am looking for.

When performing a query, after "Group results by" there is an option for "Show". The only choice is "Description". Choosing this will show the description full width beneath each row. I found that this is controlled by a variable in the QueryColumn class called @inline. The QueryCustomFieldColumn class extends the QueryColumn class and hard-codes the @inline variable to 'true'. I would like to be able to "Show" long text custom fields similar to the Description.

This would allow, say, a query where "status is 'testing'" and have the search results show 'Testing steps' beneath each item. Or, a query where "version is 3.3" and show "Release Notes" beneath each item.

Currently when you select "description", the description is shown, but without a label. If you can choose custom fields, then the text would need a label. Such as "Release notes: blah"

I haven't been able to test this against trunk. I wasn't able to get a copy of trunk working, so I don't know for sure if this was also resolved in addition to #21705.

I've tried to search thoroughly if this has already been requested or implemented some other way, and I can't find anything. I also did a search for every instance of "call_hook" in the code, and I don't think this can be implemented with a plugin.


Files

26081.patch.txt (1.25 KB) 26081.patch.txt patch to set @inline = false on 'long text' columns and display in search results with a label jb cbdse, 2017-06-01 16:52
0002-Styles-for-block-column-name.patch (1.03 KB) 0002-Styles-for-block-column-name.patch Marius BĂLTEANU, 2019-02-03 20:42
0001-Show-full-width-layout-custom-fields-as-block-column.patch (5.13 KB) 0001-Show-full-width-layout-custom-fields-as-block-column.patch Marius BĂLTEANU, 2019-02-03 20:42
block_columns.png (62.6 KB) block_columns.png Marius BĂLTEANU, 2019-02-03 20:45

Related issues

Related to Redmine - Patch #21705: Option for long text custom fields to be displayed using full widthClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #32768: Internal Error when issue text custom field is shown in Spent time query resultsClosedGo MAEDA

Actions
Related to Redmine - Defect #32859: Issue list: long text custom field missing in PDF exportClosedGo MAEDA

Actions
Related to Redmine - Defect #33169: Issues CSV export does not include custom fields with "Full width layout" enabledClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF