MantisBT

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011385mantisbtcustom fieldspublic2010-01-12 08:382012-09-02 10:22
Reporteram-gtz 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.2.0rc2 
Target Version1.3.xFixed in Version 
Summary0011385: Put custom fields on top of the report page (before category)
DescriptionWe needed to insert custom fields on top of the report page instead of putting after the built-in fields of mantis.

Additional InformationThe attached patch shows custom fields with a negative sequence number on top of the report. Custom fields with a sequence >=0 are shown as usual.
Tagspatch
Attached Filespatch file icon custom-fields-on-top.patch [^] (5,980 bytes) 2010-01-12 08:38 [Show Content]
patch file icon issue11385-custom-field-order-patchrev2.patch [^] (6,073 bytes) 2010-01-14 01:42 [Show Content]
jpg file icon Horizontal.JPG [^] (51,636 bytes) 2010-03-04 21:24

- Relationships
related to 0004227acknowledged Roadmap 1.0 - Templates 
has duplicate 0014404closedatrol custom fields above Category field on Report Issue page 
related to 0006220new Change order of fields 

-  Notes
User avatar (0024143)
am-gtz (reporter)
2010-01-14 01:42

I fixed some minor mistakes in my patch.
User avatar (0024201)
am-gtz (reporter)
2010-01-20 04:15

This patch is now maintained on mantisforge:

http://git.mantisforge.org/w/mantisbt/gtz-et.git?a=shortlog;h=refs/heads/issue11385 [^]
User avatar (0024266)
am-gtz (reporter)
2010-01-28 02:01

I added a related patch:

0001-Autofocus-the-first-element-in-the-form-instead-of-c.patch

Autofocus the first element in the form instead of category_id. Handlers of EVENT_REPORT_BUG_FORM_TOP may have added elements before the category!
User avatar (0024461)
squarebox (reporter)
2010-02-22 20:16

Just a general comment that i too didn't like the placement of the custom fields after the built in fields and would like a more robust way to dictate where in the page to display the custom fields. Where as am-gtz placed his custom field above category, i've placed mine above the reporter field.

This flexibility change would probably require all fields to be assigned a sequence number so that users could specify exactly where to display the custom fields. It may be easier to think of it in terms of group of fields instead of individual fields in terms of ordering. For instance being able to the custom field in front of Id, Reporter, summary, or attached files would be significantly easier to code and still provide a great deal of customizability.
User avatar (0024463)
am-gtz (reporter)
2010-02-23 00:48

As squarebox mentioned, it would be much more flexible to be able to place custom fields at each position.

We need to place some custom fields on top, and some on the bottom --- so it is not sufficient to just specify the pos. of all custom fields as a whole.
User avatar (0024559)
dhx (developer)
2010-02-26 21:03

AFAIK Paul (grangeway on this bug tracker) is currently reimplementing columns_api/etc so that you can select and reorder fields on the view/update/report/etc pages in the same way you can select and reorder columns on view_all_bug_page. This would provide all the flexibility requested by squarebox in a more standardised way than the patch attached to this bug report uses.
User avatar (0024645)
squarebox (reporter)
2010-03-04 21:24
edited on: 2010-03-04 21:26

would like to add 1 more request if possible, the ability to display the custom fields horizontally as well as vertically. There may be the need by some people who may want to have it displayed vertically on the edit screen and horizontally in the display screen, albeit weird from an HCI perspective.

i.e. horizontally like ID, Project, Category
Vertically being fields that consume a whole row like reporter and assigned to

this is of some use when you have small custom fields that display nicely horizontally.

I've attached a screenshot of the customization i did to display custom fields in my environment.

User avatar (0024646)
am-gtz (reporter)
2010-03-05 01:23

Yes ... I agree. In general I would suggest to make those forms not so <table> dependent and try to go for <div>s to allow a better floating and customization.

@dhx: Did you see any mantis issue concerning grangeway's developments? Is he reading this one?
User avatar (0024676)
squarebox (reporter)
2010-03-08 20:16
edited on: 2010-03-08 20:22

this is probably relate if not a duplicate of bug 0006220, albeit a bug that's 5 years old...

as well as encompasses bug 0006785

and should probably be added to bug 0004227

just mentioning these cause they haven't been touched in ages and might be a good oppurtunity to close out alot of similiar outstanding bugs and such.


- Issue History
Date Modified Username Field Change
2010-01-12 08:38 am-gtz New Issue
2010-01-12 08:38 am-gtz File Added: custom-fields-on-top.patch
2010-01-14 01:42 am-gtz File Added: issue11385-custom-field-order-patchrev2.patch
2010-01-14 01:42 am-gtz Note Added: 0024143
2010-01-14 08:07 dhx Tag Attached: patch
2010-01-20 04:15 am-gtz Note Added: 0024201
2010-01-28 02:01 am-gtz Note Added: 0024266
2010-02-07 07:27 dhx Target Version => 1.3.x
2010-02-22 20:16 squarebox Note Added: 0024461
2010-02-23 00:48 am-gtz Note Added: 0024463
2010-02-26 21:03 dhx Note Added: 0024559
2010-03-04 21:24 squarebox Note Added: 0024645
2010-03-04 21:24 squarebox File Added: Horizontal.JPG
2010-03-04 21:26 squarebox Note Edited: 0024645 View Revisions
2010-03-05 01:23 am-gtz Note Added: 0024646
2010-03-08 20:16 squarebox Note Added: 0024676
2010-03-08 20:17 squarebox Note Edited: 0024676 View Revisions
2010-03-08 20:22 squarebox Note Edited: 0024676 View Revisions
2010-06-07 13:52 atrol Relationship added related to 0006220
2012-06-22 03:52 atrol Relationship added has duplicate 0014404
2012-06-22 03:54 atrol Relationship added related to 0004227


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.1051 seconds.
memory usage: 2,857 KB
Powered by Mantis Bugtracker