<commit_before>(ns todogo-cljs.views
  (:require [re-frame.core :as re-frame]
            [reagent.core :refer [dom-node]]
            [todogo-cljs.db :refer [create-todo-list
                                    create-todo
                                    get-todo-lists
                                    get-todos
                                    toggle-todo
                                    delete-todo-list
                                    delete-todo]]
            [todogo-cljs.components :as c]))


(defn todo-lists-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        lists (re-frame/subscribe [:todo-lists])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-lg-4 col-md-4"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]]
       c/footer])))

(defn todo-list-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        lists (re-frame/subscribe [:todo-lists])
        todo-list (re-frame/subscribe [:todo-list])
        todos (re-frame/subscribe [:todos])
        todo-text (re-frame/subscribe [:todo-title])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]
        [:div {:class "col-lg-4 col-md-4"}
         (c/create-todo-form @todo-list @todo-text)
         (c/todos @todos)]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}]]
       c/footer])))


(defn todo-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        todo (re-frame/subscribe [:todo])
        todo-list (re-frame/subscribe [:todo-list])
        lists (re-frame/subscribe [:todo-lists])
        todos (re-frame/subscribe [:todos])
        todo-text (re-frame/subscribe [:todo-title])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-form @todo-list @todo-text)
         (c/todos @todos)]
        [:div {:class "col-lg-4 col-md-4"}
         (c/edit-todo-form @todo)]]
       c/footer])))


(defn about-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])]
    [:div {:class "base-container"}<commit_msg>Add breadcrumbs for better navigation<commit_after>(ns todogo-cljs.views
  (:require [re-frame.core :as re-frame]
            [reagent.core :refer [dom-node]]
            [todogo-cljs.db :refer [create-todo-list
                                    create-todo
                                    get-todo-lists
                                    get-todos
                                    toggle-todo
                                    delete-todo-list
                                    delete-todo]]
            [todogo-cljs.components :as c]))


(defn todo-lists-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        lists (re-frame/subscribe [:todo-lists])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-12 "}
         [:ul {:class "breadcrumb"}
          [:li [:span "Home"]]]]
        [:div {:class "col-lg-4 col-md-4"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]]
       c/footer])))

(defn todo-list-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        lists (re-frame/subscribe [:todo-lists])
        todo-list (re-frame/subscribe [:todo-list])
        todos (re-frame/subscribe [:todos])
        todo-text (re-frame/subscribe [:todo-title])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-12 "}
         [:ul {:class "breadcrumb"}
          [:li [:a {:href "#/"} "Home"]]
          [:li [:span (:title @todo-list)]]]]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]
        [:div {:class "col-lg-4 col-md-4"}
         (c/create-todo-form @todo-list @todo-text)
         (c/todos @todos)]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}]]
       c/footer])))


(defn todo-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])
        todo (re-frame/subscribe [:todo])
        todo-list (re-frame/subscribe [:todo-list])
        lists (re-frame/subscribe [:todo-lists])
        todos (re-frame/subscribe [:todos])
        todo-text (re-frame/subscribe [:todo-title])
        todo-list-title (re-frame/subscribe [:todo-list-title])]
    (fn []
      [:div {:class "base-container"}
       (c/nav-bar @main-menu-visible)
       [:div {:class "container"}
        [:div {:class "col-12 "}
         [:ul {:class "breadcrumb"}
          [:li [:a {:href "#/"} "Home"]]
          [:li [:a {:href (str "#/lists/" (:id @todo-list))} (:title @todo-list)]]
          [:li [:span (:title @todo)]]]]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-list-form @todo-list-title)
         (c/todo-lists @lists)]
        [:div {:class "col-lg-4 col-md-4 hidden-sm hidden-xs"}
         (c/create-todo-form @todo-list @todo-text)
         (c/todos @todos)]
        [:div {:class "col-lg-4 col-md-4"}
         (c/edit-todo-form @todo)]]
       c/footer])))


(defn about-panel []
  (let [main-menu-visible (re-frame/subscribe [:main-menu-visible])]
    [:div {:class "base-container"}
{'fraction_non_alphanumeric': 0.18152764461489293, 'fraction_numerical': 0.005433045701502077, 'mean_word_length': 1.869784502521779, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '948740', 'n_tokens_mistral': 2265, 'n_tokens_neox': 2189, 'n_words': 403}