From 08c7a8a5b59e0b961979633411a09855c802b9bb Mon Sep 17 00:00:00 2001 From: Mick <119439091+mickbrowns1@users.noreply.github.com> Date: Tue, 19 May 2026 11:56:52 -0400 Subject: [PATCH] Add Filter Simulator help panel on Ingest Dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a collapsible "How does this work?" panel explaining: - What the simulator does (live PowerQuery count → GB projection) - When to use it (after spotting a noisy source in Top Sources) - How to fill in Source name (copy from dataSource.name column) - What Event type does (optional narrowing) - How the GB estimate is calculated - Warning that it is read-only — no filters are applied automatically Also updates Source name placeholder to show a concrete example. Co-Authored-By: Claude Sonnet 4.6 --- frontend/index.html | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 667939c..62664d0 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -273,15 +273,30 @@ function renderIngest() {

Loading…

-

Filter Simulator

-

Estimate events and GB eliminated by dropping a source + event type combination.

+
+
+

Filter Simulator

+

Before writing an SDL exclusion filter, use this to see how many events and GB it would remove.

+
+ +
+ + +
- + class="px-4 py-2 text-sm bg-purple-700 hover:bg-purple-600 rounded-lg text-white transition-colors">Simulate
@@ -341,6 +356,11 @@ async function igLoad() { } } +function toggleSimHelp() { + const el = document.getElementById('sim-help') + el.classList.toggle('hidden') +} + async function igSimulate() { setBtn('btn-sim', true) try {