Bug 438443 - show_bug.cgi should hide flags and groups unless needing to edit them
show_bug.cgi should hide flags and groups unless needing to edit them
Status: CLOSED NEXTRELEASE
Product: Bugzilla
Classification: Community
Component: User Interface (Show other bugs)
3.2
All Linux
low Severity low (vote)
: ---
: ---
Assigned To: PnT DevOps Devs
:
Depends On:
Blocks: RHBZ30UpgradeTracker
  Show dependency treegraph
 
Reported: 2008-03-20 17:56 EDT by David Lawrence
Modified: 2013-06-23 22:14 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-27 23:48:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to hide full list of flags/groups unless you need to edit them (v1) (6.59 KB, patch)
2008-03-20 17:56 EDT, David Lawrence
nelhawar: review+
Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Mozilla Foundation 424215 None None None Never

  None (edit)
Description David Lawrence 2008-03-20 17:56:23 EDT
Similar to how the assigned_to, qa_contact, etc. fields are readonly unless you
click on the (edit) link to the right, the group checkboxes and flag form
fields need to be hidden the same way. We have numerous groups (especially if
you are the admin) and a large number of flags that can display for a single
bug report. These group boxes and flags can take up alot of screen space when
not needed. It would be nice to see just a readonly list of the flags/groups
that are set and then provide an (edit) link that will display the full list of
form fields that can
be edited.

Attaching a patch that does this using the standard hideEditableField()
javascript already available in js/field.js. Prints None Set if no flags or
groups are currently set.

Please let me know what you think.
Dave
Comment 1 David Lawrence 2008-03-20 17:56:23 EDT
Created attachment 298752 [details]
Patch to hide full list of flags/groups unless you need to edit them (v1)
Comment 2 David Lawrence 2008-03-20 17:57:08 EDT
I have this running on https://bugdev.devel.redhat.com/bugzilla if you want to
try it out.

Dave
Comment 3 Noura El hawary 2008-03-23 10:41:50 EDT
Comment on attachment 298752 [details]
Patch to hide full list of flags/groups unless you need to edit them (v1)

Hey Dave, the patch looks good to me , also I tested it and it works nicely.

Noura
Comment 4 David Lawrence 2008-03-24 11:56:47 EDT
Thanks Noura. Checked in.

Note You need to log in before you can comment on or make changes to this bug.