Skip to content

Commit 9d02164

Browse files
committed
Use core.async 1.9.808-alpha1
1 parent 969fb26 commit 9d02164

8 files changed

Lines changed: 24 additions & 12 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Flow Monitor provides a web-based interface for visualizing, monitoring, and int
1010

1111
With Flow Monitor, you can observe the structure of your flow, track the state of processes and the async channels between them, control process execution by pausing and resuming them, inject data into channels, and view any errors or messages that emerge from the flow.
1212

13-
1413
## Installation
1514

1615
Add the following dependency to your project:

deps.edn

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{:paths ["src" "resources"]
22
:deps {org.clojure/clojure {:mvn/version "1.12.0"}
3-
org.clojure/core.async {:git/url "https://github.com/clojure/core.async.git"
4-
:sha "ceaa94bfe1158d4c2f1013d2bf77309bf81edb17"}
3+
org.clojure/core.async {:mvn/version "1.9.808-alpha1"}
54
metosin/reitit {:mvn/version "0.6.0"}
65
http-kit/http-kit {:mvn/version "2.7.0"}
76
com.cognitect/transit-clj {:mvn/version "1.0.329"}

resources/public/assets/css/site.css

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/public/assets/css/site.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/public/assets/js/compiled/main.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/clojurescript/flow_monitor_ui/routes/index/view.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@
217217
(>dis [::component/set-modal-visibility true]))}
218218
[:img {:src "assets/img/inject_icon.svg"}]]
219219
[:div.action-button
220-
{:on-click (fn [evt]
220+
{:class (when (-> errors count zero? not) "error")
221+
:on-click (fn [evt]
221222
(swap! global-state assoc :active-tab :errors)
222223
(swap! global-state assoc :active-proc-pid proc)
223224
(.add (.-classList (.-body js/document)) "modal-open")

src/clojurescript/sass/_colors.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ $light-10: #DFE3E8; // unused
1414
$light-11: #E0E0E0; // unused
1515
$light-12: #CCCCCC; // unused
1616
$light-13: #64826A; // unused
17-
$light-14: #64826A; // unused
18-
$light-15: #64826A; // unused
17+
$light-14: #721414;
18+
$light-15: #64826A;
1919
$light-16: #7DA196;
2020
$light-17: #181818;
2121
$light-18: #7da19687;
2222
$light-19: #F7DEC4;
2323
$light-20: #52606D;
24-
$light-21: #E4E7EB;
24+
$light-21: #E4E7EB;

src/clojurescript/sass/site.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,13 @@ body.modal-open {
268268
transition: background 0.2s;
269269
z-index: 10;
270270

271+
&.error {
272+
background: $light-14;
273+
&:hover {
274+
background: color.adjust($light-14, $lightness: 5%);
275+
}
276+
}
277+
271278
&:hover {
272279
background: color.adjust($light-20, $lightness: 15%);
273280
}

0 commit comments

Comments
 (0)