Skip to content

Clean up two warnings from PR #336#339

Merged
erikdarlingdata merged 1 commit into
devfrom
fix/pr336-warnings
May 18, 2026
Merged

Clean up two warnings from PR #336#339
erikdarlingdata merged 1 commit into
devfrom
fix/pr336-warnings

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Replace deprecated DataGridRow.GetIndex() with the Index property in QueryStoreHistoryControl.HighlightGridRows
  • Remove dead _suppressGridSelectionEvent field — the suppression was only needed for the old ItemsSource-reset highlight path that was refactored away during PR Query history improvments #336 review

Pure cleanup; no behavior change.

Test plan

  • dotnet build -c Debug produces 0 warnings for QueryStoreHistoryControl.axaml.cs
  • Query Store history viewer still highlights grid rows on chart click / box-select
  • Grid row click still highlights chart dots (path through HistoryDataGrid_SelectionChanged)

🤖 Generated with Claude Code

- Replace deprecated DataGridRow.GetIndex() with the Index property
- Remove dead _suppressGridSelectionEvent field; the suppression was
  only needed for the old ItemsSource-reset highlight path, which was
  refactored away

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 18ea22d into dev May 18, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/pr336-warnings branch May 18, 2026 20:00
@erikdarlingdata erikdarlingdata mentioned this pull request May 19, 2026
8 tasks
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.

1 participant