From 56fa0655d527e4e75848405cf5437cedf3ae02dd Mon Sep 17 00:00:00 2001 From: BC Date: Tue, 31 Jul 2018 19:03:18 -0700 Subject: [PATCH] improving the appear problem. --- resources/public/index.html | 12 ++++++++---- src/clj/auto_ap/yodlee/import.clj | 2 +- src/cljs/auto_ap/views/components/invoice_table.cljs | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/resources/public/index.html b/resources/public/index.html index 8fb393e7..c6dfd850 100644 --- a/resources/public/index.html +++ b/resources/public/index.html @@ -55,31 +55,35 @@ @keyframes flashWarning { from { + background-color: #00d1b2; } to { + background-color: inherit; - background-color: #00d1b2; } } @keyframes flashPrimary { from { - transform: translateY(100%); - opacity: 0; + background-color: #00d1b2; } to { - background-color: #00d1b2; + background-color: inherit; + + } } tbody tr.live-removed { animation: flashWarning 1.0s ease both; + animation-fill-mode: forwards; } tbody tr.live-added { animation: flashPrimary 1.0s ease both; + animation-fill-mode: forwards; } .left-nav { width: 300px; diff --git a/src/clj/auto_ap/yodlee/import.clj b/src/clj/auto_ap/yodlee/import.clj index 9ce0bd9c..44949bb0 100644 --- a/src/clj/auto_ap/yodlee/import.clj +++ b/src/clj/auto_ap/yodlee/import.clj @@ -98,7 +98,7 @@ (mapcat (fn [transaction-group] (map (fn [index {:keys [date description-original high-level-category amount account-id] :as transaction}] - {:id (str date "-" description-original "-" amount "-" index) + {:id (str date "-" description-original "-" amount "-" index "-" company-id) :bank-account-id account-id :date (time/unparse date "YYYY-MM-dd") :amount {:amount amount} diff --git a/src/cljs/auto_ap/views/components/invoice_table.cljs b/src/cljs/auto_ap/views/components/invoice_table.cljs index af1855e4..6cefe61e 100644 --- a/src/cljs/auto_ap/views/components/invoice_table.cljs +++ b/src/cljs/auto_ap/views/components/invoice_table.cljs @@ -169,7 +169,7 @@ :aria-haspopup true :tab-index "0" - :on-blur (delayed-dispatch [::toggle-expense-accounts id]) + #_#_:on-blur (delayed-dispatch [::toggle-expense-accounts id]) :on-focus (dispatch-event [::toggle-expense-accounts id]) } "Accounts"]] [:div.dropdown-menu {:role "menu"}