205 Commits

Author SHA1 Message Date
Daniel Compton
dabd165295 Extract out subscriptions 2017-11-13 16:22:43 +13:00
Daniel Compton
1c456acaae Add a few re-com utilities 2017-11-13 16:22:36 +13:00
Daniel Compton
8727b556f8 Last of renames to app-db 2017-11-13 13:16:35 +13:00
Matthew Huebert
de58713e5b Add condensed pretty printing, and namespace aware truncation
Fixes #96, Taken from #100 and squashed into one commit. Fixes #100.
2017-11-13 12:50:13 +13:00
Daniel Compton
4a0c4e2673 Add a warning when the host page unloads
Fixes #102
2017-11-13 12:25:02 +13:00
Daniel Compton
e418ca820c Fixup resizer 2017-11-10 15:28:07 +13:00
Daniel Compton
182aefe538 Fixup returning bad ctx from fx 2017-11-10 15:20:26 +13:00
Daniel Compton
6e6744c146 Remove debug 2017-11-10 15:17:28 +13:00
Daniel Compton
de167f208c Fixup traces not being enabled on intial page load
This was relying on side-effects from rendering which no longer ran
in the re-frame world.
2017-11-10 15:13:33 +13:00
Daniel Compton
18331689e6 Add bottom margin to app-db data 2017-11-09 15:17:52 +13:00
Daniel Compton
7b23f85b2f Fixup flexbox styling
Fixes #97
2017-11-09 15:06:50 +13:00
Daniel Compton
94d0b38b04 Pop out traces into an external window
Fixes #92
2017-11-09 13:08:07 +13:00
Daniel Compton
74a0b26a6a Reformat code 2017-11-08 12:52:44 +13:00
Daniel Compton
b21b83c182 Remove paths on click 2017-11-07 14:03:18 +13:00
Daniel Compton
5f6ff4fe9d Rework to use re-frame events rather than reagent 2017-11-06 15:34:32 +13:00
Daniel Compton
cb868cb5ac Use re-frame for settings and config 2017-11-03 16:06:06 +13:00
Daniel Compton
6950c81e6e Move files around 2017-11-03 13:31:46 +13:00
Daniel Compton
900bb414e9 Use mranderson to bundle an isolated copy of re-frame
This allows us to re-frame, while we instrument re-frame.
2017-11-02 16:29:22 +13:00
Daniel Compton
6bd14f1799 Rename events to traces in traces view 2017-11-02 16:05:57 +13:00
Daniel Compton
53ded51dfb Merge branch 'darwin/config' 2017-11-02 11:53:00 +13:00
Daniel Compton
3af7398cdf Comment out header wrapping for now 2017-11-02 11:49:22 +13:00
Matt Huebert
0807a6156f Detect re-frame-trace views via 'devtools outer'
This is more reliable than looking for the namespace, as reagent does not attempt to keep namespace information when compiled with Closure, whereas "devtools outer" is hard-coded as the :display-name for the panel's container and survives compilation/optimization.
2017-11-01 14:34:54 +13:00
Matthew Huebert
a6cb2abdbc Support for React 16 component paths
We rely on reagent.impl.component/component-path to avoid rendering re-frame-trace events to itself (causing infinite loop). This patch copies in a very recent change to Reagent which supports reading of component paths from React 16 components.
2017-10-31 09:47:48 +13:00
Antonin Hildebrand
94b6d64f2b Patch default cljs-devtools styles to wrap normally
We don't want to hard-code styles to make this future-proof.
2017-10-30 19:54:58 +01:00
Antonin Hildebrand
cf81870e13 Don't interfere with app's cljs-devtools prefs
Also properly set :initial-hierarchy-depth-budget
2017-10-30 19:28:05 +01:00
Antonin Hildebrand
77068d3b5d Introduce with-cljs-devtools-prefs macro 2017-10-30 19:25:44 +01:00
Daniel Compton
8ce90653dc Reformat all code 2017-10-30 16:02:22 +13:00
Daniel Compton
74faed83e3 Hide index spans 2017-10-30 14:10:28 +13:00
Daniel Compton
4935d3f50f Rename label to app-db 2017-10-27 16:03:58 +13:00
Daniel Compton
33f9e0966b Rename app-state to app-db 2017-10-27 13:26:27 +13:00
Daniel Compton
0ae40e8fcd Comment out subvis 2017-10-27 09:55:15 +13:00
Daniel Compton
a1af35b316 Limit captured traces to max 4,000 to prevent performance slowdowns
Fixes #91
2017-10-26 16:59:38 +13:00
Daniel Compton
f1bfdc2476 Print full keyword for operation name 2017-10-26 16:57:07 +13:00
Daniel Compton
a0811a03b4 Speed up animations for auto scrolling 2017-10-26 16:04:08 +13:00
Daniel Compton
70d20af6e7 Fix bad merge which set window-width back to a value
Fixes #90
2017-10-26 11:24:17 +13:00
Daniel Compton
a49febb8e4 Add docstring for jsonml->hiccup 2017-10-24 15:28:43 +13:00
Daniel Compton
92e7a2b1bd Make expansion button not change size when expanding
It seems like this needs to be in a variable width font for the size
to stay consistent.
2017-10-24 15:24:30 +13:00
chris (daiyi)
4b70c7f5fc Make search input into a component 2017-10-24 15:24:30 +13:00
chris (daiyi)
58cc6bb1e5 Collapse data trees and subtrees behind one point by default 2017-10-24 15:24:30 +13:00
chris (daiyi)
f4ce962ae3 Add & remove sub-paths into app-state 2017-10-24 15:24:30 +13:00
Saskia Lindner
a9306075b3 Fix hiccup structure 2017-10-24 15:24:30 +13:00
Saskia Lindner
019ebc7748 Add docstring to string->css function 2017-10-24 15:24:30 +13:00
Saskia Lindner
448cee365e Move position of app-state tab 2017-10-24 15:24:30 +13:00
Saskia Lindner
0ab47c5029 Refactor naming for render state tab 2017-10-24 15:24:30 +13:00
Saskia Lindner
8c1d39b006 Refactor jsonml parsing 2017-10-24 15:24:30 +13:00
chris (daiyi)
910483dd53 Toggling data structures with arrows only, not body 2017-10-24 15:24:29 +13:00
Saskia Lindner
49095dcfe3 Refactor function for style string parsing 2017-10-24 15:24:29 +13:00
chris (daiyi)
c18714a9d8 Correctly pass all params in form 2 component 2017-10-24 15:24:29 +13:00
chris (daiyi)
ea2f3d6dab Add toggle arrow indicators next to expandable objects 2017-10-24 15:24:29 +13:00
chris (daiyi)
5a832abab4 Clean jsonml rendering code 2017-10-24 15:24:29 +13:00