Skip to content

Fix squished drill-down charts (#166)#178

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/drill-down-chart-sizing
Feb 19, 2026
Merged

Fix squished drill-down charts (#166)#178
erikdarlingdata merged 1 commit into
devfrom
feature/drill-down-chart-sizing

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Charts in all 3 drill-down windows (Query Execution History, Query Stats History, Procedure History) were fixed at 250px height
  • Changed to proportional layout: 2* for chart, 3* for grid, with MinHeight=250 on the chart row
  • Charts now scale with window size — ~40% chart / ~60% grid

Test plan

  • Open a query drill-down, verify chart is readable
  • Resize the window, verify chart and grid scale proportionally
  • Test at minimum size, verify chart maintains 250px minimum

🤖 Generated with Claude Code

Charts in query/procedure drill-down windows were fixed at 250px height,
making them hard to read especially on larger monitors. Changed from
fixed height to proportional layout (2* chart / 3* grid) with MinHeight
250 so charts scale with window size while maintaining a minimum.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 0b80ea0 into dev Feb 19, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/drill-down-chart-sizing branch February 19, 2026 23:28
erikdarlingdata added a commit that referenced this pull request Apr 7, 2026
- Rule 1 (Filter): Suppress trivial filters (< 128 reads/10ms actual, < 1.0 cost estimated)
- Rule 3 (Serial Plan): Skip trivial statements with cost < 0.01
- Rule 15 (Join OR): Exclude Merge Interval inside anti/semi joins
- Rule 20 (Local Variables): Skip trivial statements with cost < 0.01
- Rule 26 (Row Goal): Require >= 2x reduction
- ShowPlanParser: Gate XML MemoryGrantWarning at 1 GB
- Scalar UDF: Expanded remediation options (variable assignment, 2019+ inlining)

All changes applied identically to Dashboard and Lite.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
erikdarlingdata added a commit that referenced this pull request Apr 7, 2026
- Suppress for TRIVIAL optimization level (can't go parallel anyway)
- Suppress for 0ms actual elapsed time
- Demote to Info unless user explicitly forced serial (MAXDOP 1 / hint)

Ported from PerformanceStudio #178 round 2 feedback.

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