From e77fe469da01fee5ce231fed8a7b3a8a423af3a0 Mon Sep 17 00:00:00 2001 From: TERR-inss Date: Mon, 9 Feb 2026 19:32:35 -0500 Subject: [PATCH] add direct link to FAQ in web UI where rayhunter log analysis returns warnings --- .../web/src/lib/components/AnalysisView.svelte | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/daemon/web/src/lib/components/AnalysisView.svelte b/daemon/web/src/lib/components/AnalysisView.svelte index 9262371..990b4ae 100644 --- a/daemon/web/src/lib/components/AnalysisView.svelte +++ b/daemon/web/src/lib/components/AnalysisView.svelte @@ -24,7 +24,23 @@ {@const metadata: ReportMetadata = entry.analysis_report.metadata}
{#if !current} -
+ {@const numWarnings: number = entry.get_num_warnings() || 0} +
+ {#if numWarnings} +
+ Your Rayhunter device raised {`${numWarnings}`} warning{`${ + numWarnings > 0 ? 's' : '' + }`}! + Read the FAQ to learn what you can do about it +
+ {:else} +
+ {/if}
{/if}