Patch #21705
Option for long text custom fields to be displayed using full width
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Custom fields | |||
Target version: | 3.4.0 |
Description
- Testing Steps
- Release Notes
- 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.
Related issues
Associated revisions
Option for long text custom fields to be displayed under the description field (#21705).
Based on patch by Marius BALTEANU.
Adjust rendering of custom fields in PDF (#21705).
generate i18n keys (#21705)
Omit blank fields as we do for the description (#21705).
Omit blank fields in PDF too (#21705).
Fix PDF formatting (#21705).
Patch by Greg T.
Changes overflow to auto (#21705).
Patch by Greg T.
History
#1
Updated by Marius BALTEANU about 5 years ago
- add missing class "attribute" to custom field div
- 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.
#2
Updated by Toshi MARUYAMA almost 5 years ago
- Related to Feature #3543: Improve 'long text' custom fields added
#3
Updated by Marius BALTEANU about 4 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.
#4
Updated by Kush Suryavanshi about 4 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.
#5
Updated by Maxim Krušina about 4 years ago
+1 ... plz can be this merger to production?
#6
Updated by Go MAEDA about 4 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.
#7
Updated by Maxim Krušina about 4 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)
#8
Updated by Jean-Philippe Lang almost 4 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.
#9
Updated by Go MAEDA almost 4 years ago
- Duplicated by Feature #10021: Enhanced Large Text Field for Issues added
#10
Updated by Go MAEDA almost 4 years ago
- Duplicated by Patch #19122: Layout problems for long text custom fields added
#11
Updated by Go MAEDA almost 4 years ago
- Duplicated by Feature #8447: support for custom fields to be structured like description field added
#12
Updated by Go MAEDA almost 4 years ago
- Related to Feature #25052: Allow to disable description field in tracker setting added
#13
Updated by Greg T almost 4 years ago
- File overflow.patch
added
Please change overflow to auto (see #3543#note-20)
#14
Updated by Go MAEDA almost 4 years ago
- File 21705-table-overflow.png added
- Status changed from Closed to Reopened
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.
#15
Updated by Greg T almost 4 years ago
- File pdf_custom_field.patch
added
Thanks for reopening. I add another patch fixing PDF formatting.
#16
Updated by Jean-Philippe Lang almost 4 years ago
- Status changed from Reopened to Closed
Both patches committed, thanks.
#17
Updated by Mischa The Evil over 3 years ago
@Marius 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.
#18
Updated by Mischa The Evil over 3 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
#19
Updated by Marius BALTEANU over 3 years ago
Mischa The Evil wrote:
@Marius 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.
#20
Updated by Mischa The Evil almost 3 years ago
- Related to Feature #28085: Wiki Toolbar on Full Width Custom Fields added