Add an option to hide obsolete attachments

RESOLVED FIXED in Bugzilla 3.0

Status

()

Bugzilla
Attachments & Requests
--
enhancement
RESOLVED FIXED
12 years ago
11 years ago

People

(Reporter: timeless, Assigned: Frédéric Buclin)

Tracking

2.20
Bugzilla 3.0
Bug Flags:
approval +

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

12 years ago
steps:
1. load bug 106386
2. try to figure out which attachments are still worth looking at.

actual results:
i'd suggest sugar, coffee, many breaks.

expected results:
even dependency tree has a hide resolved option. a way to hide obsolete attachments should be available both in the normal show_bug and in the viewall attachments displays.
(Assignee)

Updated

12 years ago
OS: Windows XP → All
Hardware: PC → All

Comment 1

12 years ago
> a way to hide obsolete
> attachments should be available both in the normal show_bug and in the viewall
> attachments displays.

And maybe a user-pref to set the default 'show obsolete attachments' status.
 
(Assignee)

Comment 2

11 years ago
Created attachment 243098 [details] [diff] [review]
patch, v1
Assignee: attach-and-request → LpSolit
Status: NEW → ASSIGNED
Attachment #243098 - Flags: review?(bugzilla-mozilla)
(Assignee)

Updated

11 years ago
Target Milestone: --- → Bugzilla 3.0
(Assignee)

Comment 3

11 years ago
Created attachment 243105 [details] [diff] [review]
patch, v1.1
Attachment #243098 - Attachment is obsolete: true
Attachment #243105 - Flags: review?(bugzilla-mozilla)
Attachment #243098 - Flags: review?(bugzilla-mozilla)
(Assignee)

Updated

11 years ago
Summary: Can't show only non obsolete attachments → Add an option to hide obsolete attachments

Comment 4

11 years ago
Comment on attachment 243105 [details] [diff] [review]
patch, v1.1

>Index: template/en/default/attachment/list.html.tmpl

>+    if (link.innerHTML == "Show Obsolete") {

Nit: innerHTML is non-standard (although well supported). Change such references to link.firstChild.nodeValue.
Attachment #243105 - Flags: review?(bugzilla-mozilla) → review+

Updated

11 years ago
Flags: approval?
Flags: approval? → approval+
(Assignee)

Comment 5

11 years ago
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.33; previous revision: 1.32
done
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Updated

11 years ago
Keywords: relnote

Comment 6

11 years ago
Added to the release notes on bug 349423.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.