Skip to content

fix(threat-hunt): remove default query to prevent flash on MCP invocation#33

Merged
KDKHD merged 2 commits into
mainfrom
issues/30
May 26, 2026
Merged

fix(threat-hunt): remove default query to prevent flash on MCP invocation#33
KDKHD merged 2 commits into
mainfrom
issues/30

Conversation

@KDKHD

@KDKHD KDKHD commented May 15, 2026

Copy link
Copy Markdown
Member

Fixes #30

  • Remove hardcoded default query/results from the threat-hunt editor to prevent a flash before MCP tool results arrive
  • Consolidate all inline SVG icon components into the shared icons.tsx module, removing duplicates across views
Screen.Recording.2026-05-15.at.14.56.49.mov

KDKHD added 2 commits May 15, 2026 14:24
…P invocation

Initializing state with a hardcoded query caused it to briefly appear in
the editor before the MCP tool result arrived and replaced it. Start with
an empty editor and no pre-populated results instead.

Fixes #30
…s module

EntityIcon and FactIcon moved from AlertCard.tsx and case-management/App.tsx
into icons.tsx. Duplicate AppGlyph/FullscreenIcon/ExitFullscreenIcon definitions
removed from threat-hunt and sample-data — all views now import from
src/shared/components/icons/icons.tsx.
@KDKHD KDKHD requested a review from davethegut May 18, 2026 10:42

@davethegut davethegut left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@KDKHD KDKHD merged commit a07d59c into main May 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Threat-hunt MCP tool shows an incorrect ES|QL query in the embedded UI right before my query runs

2 participants