Daniel Compton
6128ec1901
Improve appearance of subscriptions panel
2017-11-23 10:03:03 +13:00
Daniel Compton
39d29f6252
Add bright yellow text when tracing is not enabled.
2017-11-22 15:02:52 +13:00
Daniel Compton
629406291f
Depend on app-db for changes
2017-11-22 14:14:58 +13:00
Daniel Compton
77613b6fd2
Add initial subs panel
2017-11-21 14:45:18 +13:00
Daniel Compton
8b5f380232
Automatically expand app-db path when adding it to browser
2017-11-21 14:40:46 +13:00
Daniel Compton
9395e12c48
Show disposed subscriptions in the subs section
2017-11-17 15:52:57 +13:00
Daniel Compton
a6bf2be052
Save and load JSONML expansions to localstorage
2017-11-16 15:36:59 +13:00
Daniel Compton
87e5679ebb
Persist app-db expansions
...
Uses the path through the hiccup as the expansion path. This means that
if the hiccup layout changes, the wrong item can be expanded. However
it is still better than the alternative, and can be improved in the
future.
Fixes #105
2017-11-16 15:33:07 +13:00
Daniel Compton
4d2db30dee
Refactor CSS creation
2017-11-16 14:01:05 +13:00
Daniel Compton
fa4fca778c
Check if JSONML object has body before expanding
2017-11-16 13:53:23 +13:00
Daniel Compton
7a8662edea
Refactor naming to match JSONML spec
2017-11-16 13:49:52 +13:00
Daniel Compton
1a8ba45cad
Print commas in cljs-devtools headers
2017-11-16 12:59:51 +13:00
Daniel Compton
19f52b49aa
Refactor get object and config
2017-11-16 12:46:41 +13:00
Daniel Compton
9391d1c162
Preserve ordering of paths by storing as a list, not a set
2017-11-15 15:56:39 +13:00
Daniel Compton
0c42aff532
Use a re-com input box for searching
2017-11-14 15:52:43 +13:00
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