Commit Graph

472 Commits

Author SHA1 Message Date
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
Daniel Compton e45d8598a6 Update changelog 2017-11-13 12:52:40 +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 d646c1bb4d Update CHANGELOG 2017-11-09 13:10:07 +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 d6cae9e115 Add SVG image 2017-11-08 12:52:32 +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 8ca3b22746 Update d3
Old version of d3 has a bad externs file that can cause Closure compiler to throw.

```
-> Closure - Optimizing ...
Closure compilation failed with 1 errors
--- EXTERNS:/Users/.../.m2/repository/cljsjs/d3/4.2.2-0/d3-4.2.2-0.jar!/cljsjs/d3/common/d3.ext.js:670
Object literal contains illegal duplicate key "scaleSequential", disallowed in strict mode
```
2017-11-02 10:04:52 +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
Daniel Compton 744c48b9d6 Update CHANGELOG 2017-10-31 09:55:18 +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 e6b7f76656 Version 0.1.12-SNAPSHOT 2017-10-27 16:48:42 +13:00
Daniel Compton c365e55f49 Version 0.1.11 2017-10-27 16:48:24 +13:00
Daniel Compton 91b5d7d83b Drop font size lower to fit more in 2017-10-27 16:47:52 +13:00
Daniel Compton 4935d3f50f Rename label to app-db 2017-10-27 16:03:58 +13:00
Daniel Compton 4fd95bd576 Fix the expanded data being off by one pixel
When there are rows of expanded data, if that row itself has an
expansion button, then there would be a 1 pixel difference between it
and the parent row spacing.
2017-10-27 14:38:10 +13:00
Daniel Compton 33f9e0966b Rename app-state to app-db 2017-10-27 13:26:27 +13:00
Daniel Compton 4708a6e95e Version 0.1.11-SNAPSHOT 2017-10-27 09:55:42 +13:00
Daniel Compton 7e8570f5da Version 0.1.10 2017-10-27 09:55:25 +13:00