Make all pod expansions independent of each other

Fixes #134
This commit is contained in:
Daniel Compton 2018-01-27 23:35:34 +13:00
parent 2b414ff9f2
commit d9d8ec049d
3 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. This change
### Fixed ### Fixed
* External windows not loading * External windows not loading
* All app-db and subscription path expansions are now independent of each other [#134](https://github.com/Day8/re-frame-trace/issues/134).

View File

@ -225,7 +225,7 @@
(number? data) (number? data)
(boolean? data) (boolean? data)
(nil? data))) [:div {:style {:margin "10px 0"}} (prn-str data)] (nil? data))) [:div {:style {:margin "10px 0"}} (prn-str data)]
@expanded? (jsonml->hiccup (cljs-devtools-header data) (conj [] 0)))]]))) @expanded? (jsonml->hiccup (cljs-devtools-header data) (conj path 0)))]])))
(defn tag [class label] (defn tag [class label]
[rc/box [rc/box

View File

@ -171,7 +171,9 @@
:overflow-x "auto" :overflow-x "auto"
:overflow-y "hidden"} :overflow-y "hidden"}
:children [[components/simple-render :children [[components/simple-render
(:value pod-info)]]])] (:value pod-info)
["sub-path" path]
]]])]
[animated/component [animated/component
(animated/v-box-options {:enter-animation "accordionVertical" (animated/v-box-options {:enter-animation "accordionVertical"
:leave-animation "accordionVertical" :leave-animation "accordionVertical"