Closed Bug 1210148 Opened 11 years ago Closed 11 years ago

Possibly refactor Sheriff, Filter, and other panels to use bootstrap modal

Categories

(Tree Management :: Treeherder, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jfrench, Unassigned)

Details

Will mentioned this a few days back, so just jotting down for posterity. To be more bootstrappy we might consider using $modal like Perfherder does. Perhaps for the: o Sheriff Panel o Filter Panel o Onscreen Help Panel o Info Panel (?) o others?.. I'm not sure if it plays nice with every piece of treeherder functionality (shortcuts, navigation, directives, custom behaviors) but if there's some demonstrated gain perhaps it's worthwhile to consider.
Yeah, I feel especially interesting about this bug, please tell me if there are anything i could help :)
The nice thing about the way things are currently done with the sheriff/filter panels is that you can immediately see the effects of your changes without having to dismiss the modal. I think I may have suggested doing this for the shortcut thing (or at least asking why it wasn't done this way), but I thought we decided it basically works fine the way it is. I'm kinda inclined to leave things as they are, unless there's a clear benefit in changing them. "If it ain't broke, don't fix it."
Yup, I agree with Will. This was just a marker bug to capture the discussion. The shortcut dialogue and its overlay panel observes the model already (to dismiss it via the 'esc' shortcut) so I think we are fine here. That was one of the reasons I used the sheriff/filter panel style of implementation, other than just implementation consistency with the other panels.
Ok, let's wontfix this then. :)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.