Open
Bug 1307796
Opened 8 years ago
Updated 7 years ago
Add Custom Field Form is Ugly
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
NEW
People
(Reporter: dylan, Assigned: h2014313059)
Details
Attachments
(2 files, 6 obsolete files)
1.88 MB,
image/png
|
Details | |
11.76 KB,
patch
|
dylan
:
review-
|
Details | Diff | Splinter Review |
Navigate to /editfields.cgi?action=add It will look like the attached. I don't think admin UI needs to be pretty, but this is really unusable. The templates for custom fields are overly engineered. I *think* the main stuff is in https://github.com/bugzilla/bugzilla/blob/master/template/en/default/admin/custom_fields/edit-common.html.tmpl It would also be acceptable to completely redo this form starting from https://github.com/bugzilla/bugzilla/blob/master/template/en/default/admin/custom_fields/create.html.tmpl
Comment 1•8 years ago
|
||
"this is really unusable" how? It's pretty easy to create a new custom field from the current UI. You don't even comment on what is difficult exactly.
Assignee | ||
Comment 2•8 years ago
|
||
the icon image is not visible
Attachment #8799653 -
Flags: review?(dylan)
Reporter | ||
Comment 3•8 years ago
|
||
Comment on attachment 8799653 [details] [diff] [review] UI_FORM Review of attachment 8799653 [details] [diff] [review]: ----------------------------------------------------------------- This won't work, because we can't write a full html document here. CSS will go into various files, probably skins/global.css or similar.
Attachment #8799653 -
Flags: review?(dylan) → review-
Assignee | ||
Comment 4•8 years ago
|
||
Head header is not working. Made the required CSS file
Attachment #8800143 -
Flags: review?(dylan)
Assignee | ||
Comment 5•8 years ago
|
||
Attachment #8799653 -
Attachment is obsolete: true
Attachment #8800144 -
Flags: review?(dylan)
Reporter | ||
Comment 6•8 years ago
|
||
Comment on attachment 8800143 [details] [diff] [review] Custom Form per discussion earlier this morning.
Attachment #8800143 -
Flags: review?(dylan) → review-
Reporter | ||
Updated•8 years ago
|
Attachment #8800144 -
Attachment is obsolete: true
Attachment #8800144 -
Flags: review?(dylan)
Reporter | ||
Updated•8 years ago
|
Assignee: ui → h2014313059
Assignee | ||
Comment 7•8 years ago
|
||
Attachment #8803225 -
Flags: review?(dylan)
Attachment #8803225 -
Flags: feedback?(dylan)
Assignee | ||
Comment 8•8 years ago
|
||
Attachment #8800143 -
Attachment is obsolete: true
Attachment #8803225 -
Attachment is obsolete: true
Attachment #8803225 -
Flags: review?(dylan)
Attachment #8803225 -
Flags: feedback?(dylan)
Attachment #8803228 -
Flags: review?(dylan)
Reporter | ||
Comment 9•8 years ago
|
||
Comment on attachment 8803228 [details] [diff] [review] Custom Form Review of attachment 8803228 [details] [diff] [review]: ----------------------------------------------------------------- The styling is going in the right direction, but it looks like not all the fields made it when you removed the tables. ::: Bugzilla/Constants.pm @@ +235,5 @@ > # run-time, to reduce the number of requests required to render a page. > # Setting this to a false value can help debugging. > +#use constant CONCATENATE_ASSETS => $ENV{PLACK_ENV} ? $ENV{PLACK_ENV} ne "development" : 0; > + > +use constant CONCATENATE_ASSETS => 0; #change made This can go now, since we fixed bug 1309884 ::: app.psgi @@ +37,5 @@ > skins > ); > > +if (Bugzilla::Constants::CONCATENATE_ASSETS) { warn "asset concat on" } > + remove this debugging code too ::: skins/standard/global.css @@ +1615,4 @@ > background-repeat: no-repeat !important; > background-position: right 8px center !important; > } > + remove this empty line ::: template/en/default/admin/custom_fields/create.html.tmpl @@ +50,3 @@ > <input type="hidden" name="action" value="new"> > <input type="hidden" name="token" value="[% token FILTER html %]"> > + <input type="submit" id="create" value="Create" style = "margin-left : 35%; width : 150px;"> nit: you should move this style into the CSS. #create { margin-left: 35%; width: 150px; } ::: template/en/default/admin/custom_fields/edit-common.html.tmpl @@ +1,2 @@ > + > + Remove these two empty lines @@ -34,5 @@ > - </tr> > - > - <tr> > - <th><label for="desc">Description:</label></th> > - <td> looks like you accidentally removed some fields, like enter_bug here @@ -46,5 @@ > - <td> > - <input type="checkbox" id="new_bugmail" name="new_bugmail" value="1" > - [%- " checked" IF field.mailhead %]> > - </td> > - </tr> and new_bugmail @@ -69,5 @@ > - <input type="checkbox" id="obsolete" name="obsolete" value="1" > - [%- " checked" IF field.obsolete %]> > - </td> > - </tr> > - this one too ::: template/en/default/global/header.html.tmpl @@ +113,4 @@ > [% END %] > > [% SET css_sets = css_files(style_urls, yui, yui_css) %] > + <!-- CONCAT ASSETS: [% constants.CONCATENATE_ASSETS %] --> remove debugging code
Attachment #8803228 -
Flags: review?(dylan) → review-
Assignee | ||
Comment 10•8 years ago
|
||
New Patch for Custom Field
Attachment #8803228 -
Attachment is obsolete: true
Attachment #8804824 -
Flags: review?(dylan)
Reporter | ||
Comment 11•8 years ago
|
||
Comment on attachment 8804824 [details] [diff] [review] file3.patch This is still missing fields; I sent a sketch of what the HTML should be like. I think the CSS is getting close.
Attachment #8804824 -
Flags: review?(dylan) → review-
Assignee | ||
Comment 12•8 years ago
|
||
Attachment #8804824 -
Attachment is obsolete: true
Attachment #8807436 -
Flags: review?(dylan)
Reporter | ||
Comment 13•7 years ago
|
||
Comment on attachment 8807436 [details] [diff] [review] Added missing fields Review of attachment 8807436 [details] [diff] [review]: ----------------------------------------------------------------- r-, it's missing a field fields and has whitespace nits. We'll discuss it further after we get your dev env re-setup.
Attachment #8807436 -
Flags: review?(dylan) → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•