bobbingwide / oik-bwtrace

debug trace for WordPress
https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/
GNU General Public License v2.0
6 stars 1 forks source link

Improve the [bwtrace] shortcode #69

Open bobbingwide opened 6 years ago

bobbingwide commented 6 years ago

The output from the [bwtrace] shortcode, which is displayed in the oik trace options admin page is no longer much use.

option= Processing
none Displays an image link to the oik trace options admin page plus reset button
view Displays a link to the most recent browser trace file
reset Creates the Trace reset button which is used to reset the browser trace file

The link to the trace options page is a rather old image. oik-trace_48

Requirement

option= Change? Processing
none Yes Display a button link to the oik trace options admin page. No reset button
view No Displays a link to the most recent browser trace file
reset No Creates the Trace reset button which is used to reset the browser trace file
logs Added Display a summary of the different trace logs

option=logs

Sample output ( from qw/oikcom )

Type Path Files Size From To
daily bwtrace.vt 161 3,956,420 2017-05-17 2018-04-27
browser bwtraces.loh 1095 1,908,844,717 2018-03-12 2018-04-27
ajax bwtrace.ajax 969 228,329,472 2018-03-13 2018-04-16
rest bwtraces.rest 1141 1,544,215,267 2018-03-27 2018-04-16
cli bwtraces.cli 112 100,209,273 2018-03-11 2018-04-03

Proposed solution

Pre-requisite is to move the shortcodes from oik to oik-bwtrace. See https://github.com/bobbingwide/oik/issues/105

bobbingwide commented 5 years ago

Requirements update