Vote #80483
完了Layout of the custom field edit page is different between the single edit page and the batch edit page
0%
説明
If you select and edit multiple issues, the custom fields are arranged vertically.
On the other hand, if you select and edit one issue, the custom field is divided into left and right.
single editing:
!single_edit.png!
multiple editing(Before fix):
!bulk_edit_before_fix.png!
Applying this patch will cause the custom field to be split into left and right for multiple edits in Issue.
multiple editing(After fix):
!bulk_edit_after_fix.png!
The attached patch implements this feature.
journals
The patch changes the logic for rendering custom fields in bulk edit page to be the same as in app/views/issues/_form_custom_fields.html.erb.
I think it improves consistency.
--------------------------------------------------------------------------------
It is just as you say.
Modify app/views/issues/bulk_edit.html.erb and app/views/issues/_form_custom_fields.html.erb to reduce duplication.
--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
I think full-width custom fields need to be considered in the bulk edit page.
*Editing a single issue:*
!{border: 1px solid grey; width: 747px;}.single-edit-layout@2x.png!
*Bulk edit:*
!{border: 1px solid grey; width: 924px;}.bulk-edit-layout@2x.png!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I've attached 3 patches that fix the problem reported here and also, adds the JS toolbar in this page for full width custom fields with text formatting enabled. Should some fixes made here backported to minor versions?
--------------------------------------------------------------------------------
All tests pass: https://gitlab.com/redmine-org/redmine/pipelines/132967327
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Committed the patch series. Thank you.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
blocks,Closed,33256,Show wiki toolbar for spent time custom fields with text formatting enabled
blocks,Closed,33255,Issue auto complete doesn't work for custom fields with text formatting enabled on issue bulk edit page