Skip to content

Add column filters and context menus to drill-down history windows#213

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/drill-down-filters-206
Feb 20, 2026
Merged

Add column filters and context menus to drill-down history windows#213
erikdarlingdata merged 1 commit into
devfrom
feature/drill-down-filters-206

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Added popup column filter buttons to all columns in all 3 drill-down history windows (QueryStatsHistory, QueryExecutionHistory, ProcedureHistory)
  • Added right-click context menus (Copy Cell, Copy Row, Copy All Rows, Export to CSV) — these were missing entirely from drill-down windows
  • Every DataGrid in the application now has consistent filtering and context menu behavior

Closes #206

Test plan

  • Query Stats tab — double-click row, verify filter buttons + context menu in history window
  • Query Store tab — double-click row, verify filter buttons + context menu in history window
  • Procedure Stats tab — double-click row, verify filter buttons + context menu in history window
  • Apply a filter, confirm button turns gold, data filters correctly
  • Right-click — Copy Cell, Copy Row, Copy All Rows, Export to CSV all work

🤖 Generated with Claude Code

…ows (#206)

All three drill-down windows (QueryStatsHistory, QueryExecutionHistory,
ProcedureHistory) now have popup filter buttons on every column and
right-click context menus for copy cell/row/all rows and CSV export,
matching the behavior of all other DataGrids in the application.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 7cc54b9 into dev Feb 20, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/drill-down-filters-206 branch February 20, 2026 16:40
erikdarlingdata added a commit that referenced this pull request Apr 9, 2026
…round 3)

PlanAnalyzer (Dashboard + Lite):
- Rules 3 & 20: SubTreeCost threshold 0.01 → 1.0 (CTFP is integer)
- Rule 3: Smarter MaxDOPSetToOne — 3-branch logic with query text check
- Rule 5: AllocatesResources gate on zero-rows warning (Hash/Sort/Spool)
- Rule 11: Enriched scan-with-predicate (cost %, elapsed %, selectivity)
- Rule 12: IsFunctionOnColumnSide — fix non-SARGable false positive
- Rules 25/31: GetWaitStatsAdvice for targeted parallelism advice
- New Rule 32: Scan cardinality misestimate (actual plans)
- New Rule 33: CE guess detection (estimated plans)

ShowPlanParser (Dashboard + Lite):
- Fix multi-statement batch parsing (iterate all <Statements> children)
- Add synthetic root nodes for DECLARE/ASSIGN statements

Closes #816. Syncs from PerformanceStudio PR #213.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
erikdarlingdata added a commit that referenced this pull request Apr 9, 2026
PlanAnalyzer (Dashboard + Lite):
- Rules 3 & 20: SubTreeCost threshold 0.01 → 1.0 (CTFP is integer)
- Rule 3: Smarter MaxDOPSetToOne — 3-branch logic with query text check
- Rule 5: AllocatesResources gate on zero-rows warning (Hash/Sort/Spool)
- Rule 11: Enriched scan-with-predicate (cost %, elapsed %, selectivity)
- Rule 12: IsFunctionOnColumnSide — fix non-SARGable false positive
- Rules 25/31: GetWaitStatsAdvice for targeted parallelism advice
- New Rule 32: Scan cardinality misestimate (actual plans)
- New Rule 33: CE guess detection (estimated plans)

ShowPlanParser (Dashboard + Lite):
- Fix multi-statement batch parsing (iterate all <Statements> children)
- Add synthetic root nodes for DECLARE/ASSIGN statements

Closes #816. Syncs from PerformanceStudio PR #213.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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