kepazon / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Feature request: Add a clickable 'X' to hide/close/remove the timing tabs. #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Feature: A 'close' button (or hide or collapse or move) of some kind on the 
MvcMiniProfiler overlay so that the miniprofiler stuff can be made to disappear.

Problem: Sometimes the tabs start streaming down the left-hand side if there 
are a lot of profiled requests, and the stream of timing numbers covers other 
important links, buttons, or data, making the profiled page unusable.  There's 
no convenient way for the user to just make the overlay move or disappear to 
access the stuff below.

(Thanks for a terrific tool, and looking forward to seeing you speak at DevDays 
in DC!)

Original issue reported on code.google.com by scott.stafford on 1 Sep 2011 at 3:07

GoogleCodeExporter commented 9 years ago
I believe this feature was just addressed post version 1.9.  Yay!

Original comment by scott.stafford on 23 Sep 2011 at 2:41

GoogleCodeExporter commented 9 years ago
I solved this using jquery ui with the following code:

$('.profiler-results').draggable();

Original comment by wouter.r...@gmail.com on 27 Sep 2011 at 12:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I checked out the "showControls" patch put in post 1.9.  To me, the M | C 
labels are unusual.. I think they mean Minimize and Clear, but it was a little 
unintuitive to use.  Gets the job done, but probably needs a little polish.

Original comment by scott.stafford on 29 Sep 2011 at 5:38

GoogleCodeExporter commented 9 years ago
patch welcome if anyone wants to improve, for now the showControl patch 
addresses this 

Original comment by sam.saff...@gmail.com on 14 Feb 2012 at 5:11