daniloalvessouza / webgrind

Automatically exported from code.google.com/p/webgrind
Other
0 stars 0 forks source link

Enhancement: patch submission to configure the display of the trace list dropdown #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load up webgrind and look at drop down on the top.  It is prefixed with
the invokeurl.  I want this to be configurable.  I've supplied a patch to
do this.

The existing code for this is here (in templates/index.phtml, line 271):
<option value="<?php echo $trace['filename']?>"><?php echo
$trace['invokeUrl']?> (<?php echo $trace['filename']?>) [<?php echo
$trace['filesize']?>]</option>

2. What is the expected output? What do you see instead?
Output should be displayed based on format supplied in config.php

What version of the product are you using? On what operating system?
1.0

Please provide any additional information below.
I would like that to be configurable.  The patch file attached provides
this functionality.  The new functionality allows the user to configure
that display with the following options:

%i - invoked url
%f - trace file name
%s - size of trace file
%m - modified time of file name (in dateFormat specified above)

and used like so:

static $traceFileListFormat = '%i (%f) [%s]';

Please let me know if you have any questions or need any changes to it.

Original issue reported on code.google.com by tom.mele...@gmail.com on 25 May 2009 at 4:54

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for this, added in r170

Original comment by gugakf...@gmail.com on 27 Oct 2010 at 10:59