Closed
Bug 365247
Opened 18 years ago
Closed 18 years ago
Port the attachment table UI used in b.m.o upstream
Categories
(Bugzilla :: User Interface, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
(Keywords: polish, ue)
Attachments
(1 file, 2 obsolete files)
6.11 KB,
patch
|
bugzilla-mozilla
:
review+
|
Details | Diff | Splinter Review |
I think we all agree to say that the attachment table UI used in b.m.o is nicer than what we currently have in 2.23.3. mkanat and I both think we should take it for 3.0.
Assignee | ||
Comment 1•18 years ago
|
||
Compare https://landfill.bugzilla.org/prodpatches/show_bug.cgi?id=1#a0 and http://landfill.bugzilla.org/qa30/show_bug.cgi?id=1#a0 and you will understand why we cannot release 3.0 without this fix. ;)
Flags: blocking3.0?
Keywords: ue
Assignee | ||
Comment 2•18 years ago
|
||
Compared to the attachment table on b.m.o, this patch doesn't display the number of obsolete attachments (because I don't see why this information is useful), and if there is currently no attachment, the "View All" text is not displayed at all.
Assignee | ||
Comment 3•18 years ago
|
||
This patch removes a whitespace before a comma and now only displays the MIME type of the attachment if its content has not been deleted. The reason is that all deleted attachments have their MIME type changed to text/plain, so there is no useful information here.
Attachment #251447 -
Attachment is obsolete: true
Attachment #251450 -
Flags: review?(bugzilla-mozilla)
Attachment #251447 -
Flags: review?(bugzilla-mozilla)
Comment 4•18 years ago
|
||
Comment on attachment 251450 [details] [diff] [review] patch, v1.1 >Index: template/en/default/attachment/list.html.tmpl >@@ -73,39 +68,41 @@ >+ <a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]" >+ title="View the content of the attachment"> >+ [% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %] >+ </a> IMO you should not link to deleted attachments. Optionally, maybe a good idea to show deleted attachments like obsolete ones (crossed out line in it). Ideally I'd even like it if the deleted attachments could be hidden by a (renamed?) Hide Obsolete link . >+ [% IF attachment.datasize %] >+ ([% attachment.datasize FILTER unitconvert %], [..] >+ [% ELSE %] >+ [% attachment.contenttype FILTER html %]) Should use [%+ or something like to to ensure a space is left after the comma in "$attachment.datasize,". >Index: skins/standard/global.css >+#attachment_table th, .bz_attach_footer { >+ background-color: #E0E0E0; Nit: I think some validators whine when setting background-color without a font-color (or color?) as well.
Attachment #251450 -
Flags: review?(bugzilla-mozilla) → review-
Assignee | ||
Comment 5•18 years ago
|
||
Linkify the attachment description for non-deleted attachments only + add a missing whitespace before the content type of the attachment.
Attachment #251450 -
Attachment is obsolete: true
Attachment #252208 -
Flags: review?(bugzilla-mozilla)
Updated•18 years ago
|
Attachment #252208 -
Flags: review?(bugzilla-mozilla) → review+
Updated•18 years ago
|
Flags: approval?
Assignee | ||
Updated•18 years ago
|
Flags: blocking3.0?
Flags: approval?
Flags: approval+
Assignee | ||
Comment 6•18 years ago
|
||
Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.31; previous revision: 1.30 done Checking in template/en/default/attachment/list.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/attachment/list.html.tmpl,v <-- list.html.tmpl new revision: 1.36; previous revision: 1.35 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 9•17 years ago
|
||
The correct bug number for those release notes is actually bug 349423.
You need to log in
before you can comment on or make changes to this bug.
Description
•