Skip to content

Feat/ Enhance TableHeatMap with Gradient Middle Feature#221

Merged
Demonkratiy merged 20 commits into
microsoft:mainfrom
ansaganie:features/add-middle-color-for-gradient-calculation
Jun 12, 2026
Merged

Feat/ Enhance TableHeatMap with Gradient Middle Feature#221
Demonkratiy merged 20 commits into
microsoft:mainfrom
ansaganie:features/add-middle-color-for-gradient-calculation

Conversation

@ansaganie

@ansaganie ansaganie commented May 20, 2026

Copy link
Copy Markdown
Contributor
  1. Re-group setting under "General" formatting pane
  2. Add an optional "Gradient Middle" value for gradient scale calculation
image

Copilot AI review requested due to automatic review settings May 20, 2026 06:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds support for an optional user-defined “gradient middle” color in the heatmap, and reorganizes the visual’s General formatting settings into grouped sections.

Changes:

  • Added new formatting properties/strings/capabilities for enabling and selecting a middle gradient color.
  • Updated color generation logic to produce a 3-stop gradient when the middle color is enabled.
  • Refactored General settings to a composite card with groups (palette / gradient / gradient scale).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
stringResources/en-US/resources.resjson Adds localized strings for new General groups and the gradient-middle toggle/color picker.
src/visual.ts Implements 3-stop gradient color generation (start/middle/end) and auto-derivation of the middle color.
src/settings.ts Converts General settings card to a composite card with groups and conditional visibility for the middle color picker.
capabilities.json Exposes activateGradientMiddle and gradientMiddle formatting properties to Power BI.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/settings.ts Outdated
Comment thread src/visual.ts Outdated
Comment thread src/visual.ts Outdated
Comment thread src/visual.ts Outdated
Comment thread stringResources/en-US/resources.resjson Outdated
@ansaganie ansaganie changed the title Enhance TableHeatMap with Gradient Middle Feature Feat/ Enhance TableHeatMap with Gradient Middle Feature May 20, 2026
Copilot AI review requested due to automatic review settings June 1, 2026 06:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/visual.ts Outdated
Comment thread src/heatmapUtils.ts
Comment thread src/settings.ts Outdated
@ansaganie ansaganie marked this pull request as ready for review June 1, 2026 06:13
Copilot AI review requested due to automatic review settings June 1, 2026 06:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/heatmapUtils.ts
Comment thread src/visual.ts Outdated
Comment thread test/visualTest.ts Outdated
@ansaganie ansaganie requested a review from Copilot June 2, 2026 16:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Comment thread src/visual.ts
Comment thread src/visual.ts Outdated
Comment thread test/visualTest.ts Outdated
Comment thread src/visual.ts
Comment thread src/visual.ts
@ansaganie ansaganie requested a review from Copilot June 2, 2026 17:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Comment thread src/visual.ts
Comment thread src/settings.ts Outdated
Comment thread src/settings.ts Outdated
Comment thread test/visualTest.ts
Comment thread src/heatmapUtils.ts
Comment thread src/visual.ts Outdated
Comment thread stringResources/en-US/resources.resjson Outdated
Copilot AI review requested due to automatic review settings June 8, 2026 14:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Comment thread src/settings.ts
Comment thread src/heatmapUtils.ts
Comment thread test/visualTest.ts
Comment thread src/heatmapUtils.ts
Copilot AI review requested due to automatic review settings June 10, 2026 05:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Comment thread src/settings.ts Outdated
Comment thread src/visual.ts Outdated
Comment thread src/settings.ts
Comment thread src/heatmapUtils.ts
@ansaganie ansaganie requested a review from Copilot June 10, 2026 07:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/heatmapUtils.ts
Comment thread src/visual.ts Outdated
Comment thread src/heatmapUtils.ts
Copilot AI review requested due to automatic review settings June 12, 2026 10:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Comment thread src/visual.ts
Comment thread src/visual.ts
Comment thread src/heatmapUtils.ts
@Demonkratiy Demonkratiy merged commit aa7a1e4 into microsoft:main Jun 12, 2026
3 checks passed
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.

3 participants