Open Bug 2043229 Opened 1 month ago Updated 6 days ago

Display a "Show External" button beneath attachments list to display all attachments that would redirect such as Github and Phabricator

Categories

(bugzilla.mozilla.org :: User Interface, enhancement)

Production
enhancement

Tracking

()

ASSIGNED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

I would like to have certain attachments, such as Phabricator and Github attachments, automatically not display in the attachments list by default. The Phabricator links have their own table above attachments and eventually Github links will have the same. This will make displaying the normal attachment rows redundant. They should still be accessible if needed (to edit, etc.) but not shown by default.

  • Create a new config parameter in the Attachments panel of editparams.cgi to allow a comma/space separated list of content types to not show by default in the attachments list
  • If the content type is in the list, do not show the attachment row by default in the attachments table.
  • When clicking on "Show External", all rows will display that would normally be hidden due to content type.
  • If the external attachment is obsolete such as when a Phabricator revision is abandoned, only display if the user also clicks "Show Obsolete".
  • After clicking "Show External", the button will change to "Hide External" which can be clicked to re-hide the appropriate rows. This is similar to how "Show Obsolete" and "Hide Obsolete" work already.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: