(ns faceboard.state
  (:require [faceboard.logging :refer [log log-err log-warn log-info]]
            [faceboard.data.sample_board :refer [sample-board]]))

(defonce app-state
  (atom
    {:model {}
     :ui    {:view           :blank
             :view-params    nil
             :editor-path    nil
             :loading?       0
             :extended-set   #{}
             :filters        {:expanded-set #{:countries}
                              :active       {:countries #{}
                                             :tags      #{}
                                             :socials   #{}}}}
     :anims {}
     :cache {:tabs {}}}))
(ns faceboard.state
  (:require [faceboard.logging :refer [log log-err log-warn log-info]]
            [faceboard.data.sample_board :refer [sample-board]]))

(defonce app-state
  (atom
    {:model {}
     :ui    {:view           :blank
             :view-params    nil
             :editor-path    nil
             :loading?       0
             :extended-set   #{}
             :filters        {:expanded-set #{:countries :socials :tags}
                              :active       {:countries #{}
                                             :socials   #{}
                                             :tags      #{}}}}
     :anims {}
     :cache {:tabs {}}}))
Expand all filter sections by default
Expand all filter sections by default

AlexeyMK/faceboard,AlexeyMK/faceboard