Show panel on first launch
This commit is contained in:
parent
76adc43e66
commit
47c83c5d34
|
@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This change
|
||||||
|
|
||||||
## [0.2.1] - Unreleased
|
## [0.2.1] - Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Set default behaviour on first launch to show the re-frame-10x panel instead of keeping it hidden. This will help people better debug their setup when they are configuring re-frame-10x.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
* Bug where under certain rare circumstances relating to the structure of your app-db, the Event panel could throw an error when transitioning from one epoch to another.
|
* Bug where under certain rare circumstances relating to the structure of your app-db, the Event panel could throw an error when transitioning from one epoch to another.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
(defn init-db [debug?]
|
(defn init-db [debug?]
|
||||||
(let [panel-width% (localstorage/get "panel-width-ratio" 0.35)
|
(let [panel-width% (localstorage/get "panel-width-ratio" 0.35)
|
||||||
show-panel? (localstorage/get "show-panel" false)
|
show-panel? (localstorage/get "show-panel" true)
|
||||||
selected-tab (localstorage/get "selected-tab" :app-db)
|
selected-tab (localstorage/get "selected-tab" :app-db)
|
||||||
filter-items (localstorage/get "filter-items" [])
|
filter-items (localstorage/get "filter-items" [])
|
||||||
app-db-paths (into (sorted-map) (localstorage/get "app-db-paths" {}))
|
app-db-paths (into (sorted-map) (localstorage/get "app-db-paths" {}))
|
||||||
|
|
Loading…
Reference in New Issue