Change clicking on a trace to print entire trace to console

This is useful for debugging with more information about the trace.
This commit is contained in:
Daniel Compton 2018-01-29 00:03:39 +13:00
parent 39f038f8d5
commit b87a584589
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file. This change
* The version of Garden that re-frame-trace uses is now bundled as a source dependency so you should no longer get conflicts if you use Garden 2.
* Refactored re-frame-trace trace parsing internals to incrementally parse new traces.
* Clicking on a trace's expanded information now prints the entire trace to the console instead of just the tags.
### Fixed

View File

@ -71,7 +71,7 @@
:tab-index 0}
[:td]
[:td.trace--details-tags {:col-span 2
:on-click #(.log js/console tags)}
:on-click #(.log js/console trace)}
[:div.trace--details-tags-text
(let [tag-str (prn-str tags)]
(str (subs tag-str 0 400)