kamens/gae_mini_profiler — Issue #15: minimize/close button
Author: singingwolfboy
Created: 2012-01-12 20:18:32+00:00
State: open

When using gae_mini_profiler on a page that does a lot of AJAX requests (polling the server, for example), the profiler corner list quickly becomes quite long. This list should include a button that the developer can click to make it take up almost no room on the page and to stop displaying new information, for situations where you're debugging something else unrelated to AJAX request timing.

Ideally, the button should cause the list to scroll up out of sight above the top of the page; still collecting profiling information, but totally invisible. If the user moves the mouse to the top left of the page and hovers for a few (three?) seconds, a small tab pulls down with a button. If the user moves the mouse away from the tab, it goes up above the page again; if the user clicks the button, the entire profiler corner list descends, with all the information that the profiler has collected so far (even while the profiler was invisible).

A button to disable the profiler entirely might also be useful. If clicked, the profiler corner list scrolls up out of sight, and then the profiler javascript disables itself until the next page load.