From c5c4beabc823da8345f722394e7fe0d122e1e155 Mon Sep 17 00:00:00 2001 From: Rosanna Milner Date: Tue, 3 Feb 2026 13:43:22 +0000 Subject: [PATCH 01/36] add icons for the different result sections --- .../AssistantCheckResults/AssistantNEResult.jsx | 9 ++++++++- .../AssistantScrapeResults/AssistantCommentResult.jsx | 8 +++++++- .../AssistantScrapeResults/AssistantLinkResult.jsx | 8 +++++++- .../AssistantScrapeResults/AssistantMediaResult.jsx | 8 +++++++- .../AssistantScrapeResults/AssistantTextResult.jsx | 8 +++++++- 5 files changed, 36 insertions(+), 5 deletions(-) diff --git a/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx b/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx index 4d698edfd..7d29c7d24 100644 --- a/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx +++ b/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx @@ -3,6 +3,7 @@ import { Trans } from "react-i18next"; import { useSelector } from "react-redux"; import { TagCloud } from "react-tagcloud"; +import Box from "@mui/material/Box"; import Button from "@mui/material/Button"; import ButtonGroup from "@mui/material/ButtonGroup"; import Card from "@mui/material/Card"; @@ -15,6 +16,7 @@ import Tooltip from "@mui/material/Tooltip"; import Typography from "@mui/material/Typography"; import HelpOutlineOutlinedIcon from "@mui/icons-material/HelpOutlineOutlined"; +import LabelIcon from "@mui/icons-material/Label"; import { i18nLoadNamespace } from "@/components/Shared/Languages/i18nLoadNamespace"; import useMyStyles from "@/components/Shared/MaterialUiStyles/useMyStyles"; @@ -131,7 +133,12 @@ const AssistantNEResult = () => { + + {keyword("named_entity_title")} + + } action={ { + + {keyword("collected_comments_title")} + + } action={ { + + {keyword("extracted_urls_url_domain_analysis")} + + } action={ { > + + {title ? keyword(title) : keyword("media_title")} + + } subheader={keyword("media_below")} action={
diff --git a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantTextResult.jsx b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantTextResult.jsx index 401d3e442..bbd77887f 100644 --- a/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantTextResult.jsx +++ b/src/components/NavItems/Assistant/AssistantScrapeResults/AssistantTextResult.jsx @@ -13,6 +13,7 @@ import Tooltip from "@mui/material/Tooltip"; import Typography from "@mui/material/Typography"; import { WarningAmber } from "@mui/icons-material"; +import ArticleIcon from "@mui/icons-material/Article"; import HelpOutlineOutlinedIcon from "@mui/icons-material/HelpOutlineOutlined"; import AssistantTextClassification from "@/components/NavItems/Assistant/AssistantScrapeResults/AssistantTextClassification"; @@ -236,7 +237,12 @@ const AssistantTextResult = () => { > + + {keyword("text_title")} + + } action={ // top right warning and tooltip
From dabbeaa294e31c5367b88e36b6806b4587553d35 Mon Sep 17 00:00:00 2001 From: Rosanna Milner Date: Tue, 3 Feb 2026 15:26:30 +0000 Subject: [PATCH 02/36] add AssistantSummary with icons navigating to correct sections --- .../NavItems/Assistant/Assistant.jsx | 6 + .../AssistantNEResult.jsx | 2 +- .../AssistantCommentResult.jsx | 5 +- .../AssistantLinkResult.jsx | 2 +- .../AssistantMediaResult.jsx | 1 + .../AssistantSummary.jsx | 227 ++++++++++++++++++ .../AssistantUrlDomainAnalysisResults.jsx | 1 + 7 files changed, 241 insertions(+), 3 deletions(-) create mode 100644 src/components/NavItems/Assistant/AssistantScrapeResults/AssistantSummary.jsx diff --git a/src/components/NavItems/Assistant/Assistant.jsx b/src/components/NavItems/Assistant/Assistant.jsx index 18fdb6e65..69a001358 100644 --- a/src/components/NavItems/Assistant/Assistant.jsx +++ b/src/components/NavItems/Assistant/Assistant.jsx @@ -47,6 +47,7 @@ import { } from "@/redux/actions/tools/assistantActions"; import { setError } from "@/redux/reducers/errorReducer"; +import AssistantSummary from "./AssistantScrapeResults/AssistantSummary"; import { TransAssistantHelpFourTooltip, TransAssistantHelpThreeTooltip, @@ -483,6 +484,11 @@ const Assistant = () => { + {/* assistant result summary */} + + + + {/* warnings and api status checks */} {dbkfTextMatch || dbkfImageResult || diff --git a/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx b/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx index 7d29c7d24..27ac344ec 100644 --- a/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx +++ b/src/components/NavItems/Assistant/AssistantCheckResults/AssistantNEResult.jsx @@ -130,7 +130,7 @@ const AssistantNEResult = () => { return ( - + { } return ( - + { } return ( - + { return (