From 6ae270dc3c063c344fe9cf0b6dee5d0d3eba6431 Mon Sep 17 00:00:00 2001 From: Omur Date: Fri, 17 Apr 2026 17:52:42 +0300 Subject: [PATCH 1/2] adding icon --- web-report/index.html | 2 +- web-report/package.json | 2 +- web-report/src-e2e/static/assets/icon.svg | 28 +++++++++++++++++++++++ web-report/src/assets/icon.svg | 1 - web-report/src/components/Header.tsx | 12 +++++++++- 5 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 web-report/src-e2e/static/assets/icon.svg delete mode 100644 web-report/src/assets/icon.svg diff --git a/web-report/index.html b/web-report/index.html index c594238..18bc750 100644 --- a/web-report/index.html +++ b/web-report/index.html @@ -2,7 +2,7 @@ - + WFC Reports diff --git a/web-report/package.json b/web-report/package.json index 85e48f9..040f7bc 100644 --- a/web-report/package.json +++ b/web-report/package.json @@ -11,7 +11,7 @@ "copyRunFiles": "cpx webreport.bat \"../target/classes/webreport\" && cpx webreport.command \"../target/classes/webreport\" && cpx webreport.py \"../target/classes/webreport\" && cpx \"src-e2e/static/robots.txt\" \"../target/classes/webreport\"", "lint": "eslint .", "preview": "vite preview", - "debug": "vite build && cpx \"src-e2e/static/*\" \"../target/classes/webreport\" && vite preview", + "debug": "vite build && cpx \"src-e2e/static/**/*\" \"../target/classes/webreport\" && vite preview", "test": "vitest" }, "dependencies": { diff --git a/web-report/src-e2e/static/assets/icon.svg b/web-report/src-e2e/static/assets/icon.svg new file mode 100644 index 0000000..2e851bb --- /dev/null +++ b/web-report/src-e2e/static/assets/icon.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web-report/src/assets/icon.svg b/web-report/src/assets/icon.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/web-report/src/assets/icon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/web-report/src/components/Header.tsx b/web-report/src/components/Header.tsx index 325dce0..99cc941 100644 --- a/web-report/src/components/Header.tsx +++ b/web-report/src/components/Header.tsx @@ -4,6 +4,8 @@ import {Switch} from "@/components/ui/switch.tsx"; import info from "@/assets/info.json"; import {useAppContext} from "@/AppProvider.tsx"; +const ICON_URL = "/assets/icon.svg"; + interface IHeaderProps { date: string; toolNameVersion: string; @@ -37,7 +39,15 @@ export const Header: React.FC = ({date, toolNameVersion, schemaVer
Creation Date: {new Date(date).toUTCString()}
-
Tool: {toolNameVersion}
+
+ Tool: {toolNameVersion} + { (e.currentTarget as HTMLImageElement).style.display = "none"; }} + /> +
Schema Version: {schemaVersion}
From 83ca189cdc89db835b41326302e31e3ce34236c2 Mon Sep 17 00:00:00 2001 From: Omur Sahin Date: Fri, 17 Apr 2026 23:50:02 +0300 Subject: [PATCH 2/2] placeholder icon --- web-report/src-e2e/static/assets/icon.svg | 30 ++--------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/web-report/src-e2e/static/assets/icon.svg b/web-report/src-e2e/static/assets/icon.svg index 2e851bb..393f5e8 100644 --- a/web-report/src-e2e/static/assets/icon.svg +++ b/web-report/src-e2e/static/assets/icon.svg @@ -1,28 +1,2 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + Placeholder \ No newline at end of file