Closed Bug 1193951 Opened 9 years ago Closed 9 years ago

Improve the button layout of the Sheriff panel

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: KWierso, Assigned: jfrench)

Details

Attachments

(2 files)

Having all of the buttons use a white background color makes it harder to discern which button does what at a glance.

At a minimum, could we get the "Delete" button in the main "Exclusion profiles"  and "Job Exclusions" sections, and the "Reset" button in the "Create/Update Exclusion Profile" section turned red, since those are destructive actions? (Though "Reset" still takes a "Save" click to actually apply the change...)

I'm less concerned about the other buttons, but I guess the "Change" and "Save" buttons could be blue or green or something?
Priority: -- → P3
While making any color changes, I think we could really improve and economize the layout with something like this:

(Change button)
- each first column cell (Name) content, becomes a link - which elicits the "Change" function, and we retire the Change buttons altogether
- if we want we can place a small blue fa-pencil or whatever in front of the name

(Make Default button)
- Make Default buttons are retired, and clicking in the existing "Default" cell (which already contains a green checkbox) changes the default to that row

(Delete button)
- We change that last "Actions" column to "Delete" (maybe a bg for that cell in bootstrap error red/pink) - and use the same grey/red icon we use in the Annotations tab, here also

If you'd like to assign me, happy to have a go at this if Wes is busy :)
Have at it.
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Summary: Can we add some color to the buttons in the sheriffing pane? → Improve the button layout of the Sheriff panel
I made some progress on it this afternoon (attached). Still more work to do. I'd like to remove the panel header and grey boundary area if I can, and use nav-tab for the main links.
Attached file PR 933
Wip PR, will add a review flag when it's ready.
Comment on attachment 8656140 [details] [review]
PR 933

Ready for review.
Attachment #8656140 - Attachment description: PR 933 - wip → PR 933
Attachment #8656140 - Flags: review?(cdawson)
Comment on attachment 8656140 [details] [review]
PR 933

This looks great!!
Attachment #8656140 - Flags: review?(cdawson) → review+
Marking fixed per above merge.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
A note, a change made here will also give the Filter panel a white background (it was medium grey prior), but I think this is the direction we'd like to go anyway, per Filter panel improvements proposed in bug 1202003.
Verified fixed on production. Everything seems well received by RyanVM and sheriffs.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: