 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
-; TODO - Separate concerns!
-; Model at the end:
-; - A map id to card
-; - Collections for each status: each holding the list of IDs they have
-; - Use a reaction to provide for the filtered list of cards (filtered by text)
-
 (def app-state
   (r/atom
     {:cards {}

    }))

(def card-list
  "FRP style zoom on the card-list to render"
  (reaction
    (filter-by-title (:filter @app-state) (:cards @app-state))
  ))

         [:div.card__details
          (:description card)
          [render-tasks (:card-id card) (:tasks card)]
          [render-add-list card]
         ])
       ])
    ))
