Closed Bug 1417666 Opened 8 years ago Closed 8 years ago

Improve field filter clearing workflows

Categories

(Tree Management :: Treeherder: Frontend, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jfrench, Assigned: jfrench)

Details

Attachments

(1 file)

I noticed a couple of possible minor improvements for the field filter bar. 1) we have an unused function removeAllFieldFilters() and a viable place to use it in the field filter bar by replacing the inert 'i' Active Filters icon with a clickable equivalent. This will allow users to clear lots of field filters with a single-click if they wish. Currently the have to close them individually. 2) if we re-ordered the small 'x' closure buttons from the end of each filter to the front of each filter, the user will be able remove multiple filters sequentially without having to move their mouse to arbitrary points on screen (similar to removing jobs from the pinboard). An added benefit it associates the close icon with the corresponding field (and tooltip), rather than the field's value.
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Comment on attachment 8928703 [details] [review] [treeherder] tojon:clear-filterbar > mozilla:master It seems there's a generalized problem w/Travis right now, but I'm comfortable putting this up for review anyway.
Attachment #8928703 - Flags: review?(cdawson)
> It seems there's a generalized problem w/Travis right now This is now fixed on master, if it helps :-)
Cool, ty! :) I'll push a new SHA shortly to trigger another Travis run.
Ok, we have a passing Travis now for this PR. This is ready for review at your leisure.
Comment on attachment 8928703 [details] [review] [treeherder] tojon:clear-filterbar > mozilla:master Still some things we might want to add, so r- the PR for now for camd.
Attachment #8928703 - Flags: review?(cdawson) → review-
Heh, I was just about to do that. Thanks bud. :)
Comment on attachment 8928703 [details] [review] [treeherder] tojon:clear-filterbar > mozilla:master Ok I've tested everything except `nojobs`, and the Non-field filters in isolation or in combinations with all Field filters all appear to be cleared correctly with the new Clear all icon. I'll put this back up for review.
Attachment #8928703 - Flags: review- → review?(cdawson)
Comment on attachment 8928703 [details] [review] [treeherder] tojon:clear-filterbar > mozilla:master This is awesome, man. Thanks for doing this! :)
Attachment #8928703 - Flags: review?(cdawson) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: