diff --git a/app/web/src/App.jsx b/app/web/src/App.jsx
index 2f58ae6..4c21830 100644
--- a/app/web/src/App.jsx
+++ b/app/web/src/App.jsx
@@ -3,7 +3,7 @@ import {
ActionIcon, AppShell, Burger, ColorSwatch, Group, Loader, NavLink, ScrollArea, Text, Tooltip, useComputedColorScheme, useMantineColorScheme,
} from "@mantine/core";
import { useDisclosure } from "@mantine/hooks";
-import { IconChartLine, IconFolder, IconMoon, IconSatellite, IconSun } from "@tabler/icons-react";
+import { IconChartLine, IconCircleCheck, IconCircleDashed, IconFolder, IconMoon, IconSatellite, IconSun } from "@tabler/icons-react";
const Data = lazy(() => import("./pages/Data.jsx")); // Plotly, loaded only here
const Stations = lazy(() => import("./pages/Stations.jsx"));
@@ -49,7 +49,8 @@ function Header({ mobile, desktop, toggle }) {
}
// The analyses of the Data page (labeling/auto/analyses/), read again every 3 s: one folder per station, open by default if
-// it has one running, and inside one analysis per range; a click opens Data on its station and its days, and shows its report there
+// it has one running, and inside one analysis per range (a green tick: its labels validated); a click opens Data on its
+// station and its days, and shows its report there
// The range of an analysis on one line: "01.11 · 10:30–11:40" within the day, otherwise "04.11 21:12 – 07.11 14:12" (UTC)
const dayMonth = t => `${t.slice(8, 10)}.${t.slice(5, 7)}`, hour = t => t.slice(11, 16);
const range = a => (a.start.slice(0, 10) === a.end.slice(0, 10)
@@ -72,12 +73,16 @@ function Analyses({ open }) {
Analyses (UTC)
{stations.map(st => {
const its = list.filter(a => a.station === st), busy = its.some(a => a.state === "running");
+ const validated = its.filter(a => a.validated).length;
// the chevron of the folder stays Mantine's: a rightSection would take its place, and rotate with it
return (
}
- label={{st}{its.length}{busy && }}>
+ label={{st}{validated}/{its.length}{busy && }}>
{its.map(a => (
open(a)} leftSection={}
+ rightSection={a.validated ?
+
+ : a.state === "done" && }
label={{range(a)}} />
))}