Skip to content

Plan viewer: PerformanceStudio's Parameters insight card #4598

Closed

Description

@erikdarlingdata

Part of #4511, plan viewer parity with PerformanceStudio's (PS) desktop plan viewer.

PS desktop's insights strip has a Parameters card (src/PlanViewer.App/Controls/PlanViewerControl.Parameters.cs, 252 lines on PS dev). It lists the plan's parameters with their compiled and runtime values, and flags differences. It uses masked statement text where it reads the query (erikdarlingdata/PerformanceStudio@dcec793), with the card system's InsightParamsBrush accent and quiet state. PM's viewer has no parameters display.

PM's plan model already carries the data (PlanStatement.Parameters: name, data type, compiled value, runtime value). The port is the card and its logic, copied from PS's Parameters.cs with its texts, ordering and flags, placed in the strip with #4573's card system.

Pure helper and pins: the row list and flags built from a statement's parameters, the sniffing and mismatch flags, and the masked-text read. The layout goes in a screenshot plan. The viewer control is shared, so Lite gets it too.

Depends on #4573's PR. At 08f3e3c4e. PS reference: its dev branch at 85492a1.

Activity

  1. erikdarlingdata commented on Sep 28, 2026

    @erikdarlingdata
    OwnerAuthor

    Closed by the watcher: delivered in PR #4604, merged to dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions