Skip to content

feat(logs): Wire Seer AI visualization params into logs explore#115585

Draft
isaacwang-sentry wants to merge 1 commit into
masterfrom
codex/logs-ai-visualization-wiring
Draft

feat(logs): Wire Seer AI visualization params into logs explore#115585
isaacwang-sentry wants to merge 1 commit into
masterfrom
codex/logs-ai-visualization-wiring

Conversation

@isaacwang-sentry
Copy link
Copy Markdown
Member

Summary

  • Extract getLogsSeerLocationQuery and getLogsSeerAggregateFields from the LogsTabSeerComboBox component into testable, reusable helpers
  • Add support for Seer returning visualization payloads (chart type + y-axes) and propagate them into aggregate field and sort query params
  • Add unit tests for the extracted query-building logic

Test plan

  • Unit tests added for getLogsSeerLocationQuery covering samples mode, aggregate mode, group-by ordering, and fallback when Seer omits visualizations
  • Manually verify Seer AI queries in logs explore still apply correctly (query, sort, groupBys, visualizations, datetime)

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 14, 2026
@isaacwang-sentry isaacwang-sentry force-pushed the codex/logs-ai-visualization-wiring branch from ecd9e6b to c6d8bea Compare May 14, 2026 20:20
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.52%

Extract reusable helpers (getLogsSeerLocationQuery, getLogsSeerAggregateFields)
from the LogsTabSeerComboBox component so the Seer-to-URL wiring is testable
and decoupled from the React component. Add support for Seer returning
visualization payloads (chart type + y-axes) and propagate them into the
aggregate field and sort query params.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant