Project

General

Profile

Actions

Patch #21705

closed

Option for long text custom fields to be displayed using full width

Added by Marius BĂLTEANU about 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

There are many cases when the long text custom fields can contain a lot of text that makes the issue page view not so friendly for the users. For example, in our company, we have 3 fields with a lot of text:
  1. Testing Steps
  2. Release Notes
  3. Acceptance Criteria

Issue page now only with first 2 fields:

The attached patch add a new option called show_under_description for long text custom fields that if is checked, render that fields under the description field.

If you find this change useful, I can add tests to the patch. Also, any feedback regarding the patch or this functionality is welcome.

I think that this issue is related to #3543, but with another implementation.


Files

under_desc.png (337 KB) under_desc.png Marius BĂLTEANU, 2016-01-12 22:29
default.png (377 KB) default.png Marius BĂLTEANU, 2016-01-12 22:29
option_to_show_fields_under_description.patch (5.61 KB) option_to_show_fields_under_description.patch Marius BĂLTEANU, 2016-01-12 22:39
option_to_show_fields_under_description_v2.patch (6.89 KB) option_to_show_fields_under_description_v2.patch Marius BĂLTEANU, 2016-01-19 18:46
option_to_show_issue_custom_fields_on_full_width.patch (19.6 KB) option_to_show_issue_custom_fields_on_full_width.patch Marius BĂLTEANU, 2016-12-29 16:01
overflow.patch (702 Bytes) overflow.patch Greg T, 2017-02-17 12:38
21705-table-overflow.png (60.5 KB) 21705-table-overflow.png Go MAEDA, 2017-02-18 04:48
pdf_custom_field.patch (559 Bytes) pdf_custom_field.patch Greg T, 2017-02-20 11:07

Related issues

Related to Redmine - Feature #3543: Improve 'long text' custom fieldsClosed2009-06-25

Actions
Related to Redmine - Feature #25052: Allow to disable description field in tracker settingClosedJean-Philippe Lang

Actions
Related to Redmine - Feature #26081: Allow full_width_layout long-text custom fields to appear in the issue list like 'Description' (as a block column)ClosedGo MAEDA

Actions
Related to Redmine - Feature #28085: Wiki Toolbar on Full Width Custom FieldsClosed

Actions
Related to Redmine - Defect #35195: Long Text label name is not displayedClosedMarius BĂLTEANU

Actions
Has duplicate Redmine - Feature #10021: Enhanced Large Text Field for IssuesClosed

Actions
Has duplicate Redmine - Patch #19122: Layout problems for long text custom fieldsClosed

Actions
Has duplicate Redmine - Feature #8447: support for custom fields to be structured like description fieldClosed2011-05-26

Actions
Actions #1

Updated by Marius BĂLTEANU about 8 years ago

I've updated the patch with two changes:
  1. add missing class "attribute" to custom field div
  2. wrap the value of the custom fields which text formatting enabled in DIV with wiki class

The patch was tested against 3.2.0.stable.15067 and doesn't break any test from my checks.

Actions #2

Updated by Toshi MARUYAMA about 8 years ago

  • Related to Feature #3543: Improve 'long text' custom fields added
Actions #3

Updated by Marius BĂLTEANU about 7 years ago

New version of the patch:
- renamed the custom field setting from "show under description" to "full width layout" (I wasn't able to find a better name)
- the setting "full width layout" applies in both views: show and edit issue.
- the option is now displayed only for "Issues custom fields" of type "Long text"
- added tests
- some refactoring.

There are some users in the related ticket (#3543) which require to have this feature implemented so any feedback is welcome.

Actions #4

Updated by Kush Suryavanshi about 7 years ago

This is one of those features that I didn't know I needed it until I saw it. This is very useful. Thanks Marius.

Actions #5

Updated by Maxim Krušina about 7 years ago

+1 ... plz can be this merger to production?

Actions #6

Updated by Go MAEDA about 7 years ago

  • Target version set to 3.4.0

Passed all tests. Looks good to me.
I hope this feature will be included in 3.4.0.

Actions #7

Updated by Maxim Krušina about 7 years ago

PS: there is also plugin: - latest fork: https://github.com/mi-yo/redmine_multi_column_custom_fields
but it has some issues (not 100% style, in edit mode the field is still just 1-column)

Actions #8

Updated by Jean-Philippe Lang about 7 years ago

  • Subject changed from Option for long text custom fields to be displayed under the description field to Option for long text custom fields to be displayed using full width
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Patch is committed with some changes (custom field store was used instead of adding a column for the setting). The PDF output was modified as well.

Actions #9

Updated by Go MAEDA about 7 years ago

  • Has duplicate Feature #10021: Enhanced Large Text Field for Issues added
Actions #10

Updated by Go MAEDA about 7 years ago

  • Has duplicate Patch #19122: Layout problems for long text custom fields added
Actions #11

Updated by Go MAEDA about 7 years ago

  • Has duplicate Feature #8447: support for custom fields to be structured like description field added
Actions #12

Updated by Go MAEDA about 7 years ago

  • Related to Feature #25052: Allow to disable description field in tracker setting added
Actions #13

Updated by Greg T about 7 years ago

Please change overflow to auto (see #3543#note-20)

Actions #14

Updated by Go MAEDA about 7 years ago

Greg T wrote:

Please change overflow to auto (see #3543#note-20)

This is a screenshot of the issue reported by Greg T. Tables are displayed in a different appearance in description field and custom field.

Actions #15

Updated by Greg T about 7 years ago

Thanks for reopening. I add another patch fixing PDF formatting.

Actions #16

Updated by Jean-Philippe Lang about 7 years ago

  • Status changed from Reopened to Closed

Both patches committed, thanks.

Actions #17

Updated by Mischa The Evil almost 7 years ago

Marius Ionescu BALTEANU: can you maybe take a look at #26081. It still needs work, but I think it could be a nice improvement on top of this issues' feature.

Actions #18

Updated by Mischa The Evil almost 7 years ago

  • Related to Feature #26081: Allow full_width_layout long-text custom fields to appear in the issue list like 'Description' (as a block column) added
Actions #19

Updated by Marius BĂLTEANU almost 7 years ago

Mischa The Evil wrote:

Marius Ionescu BALTEANU: can you maybe take a look at #26081. It still needs work, but I think it could be a nice improvement on top of this issues' feature.

Agree with you, I'll try to create a patch this month.

Actions #20

Updated by Mischa The Evil about 6 years ago

  • Related to Feature #28085: Wiki Toolbar on Full Width Custom Fields added
Actions #21

Updated by Marius BĂLTEANU almost 3 years ago

  • Related to Defect #35195: Long Text label name is not displayed added
Actions

Also available in: Atom PDF