Skip to content

Added new warning icon for missing data#181

Merged
Demonkratiy merged 7 commits into
microsoft:mainfrom
v-aidaba:warning-icon
Jun 29, 2026
Merged

Added new warning icon for missing data#181
Demonkratiy merged 7 commits into
microsoft:mainfrom
v-aidaba:warning-icon

Conversation

@v-aidaba

@v-aidaba v-aidaba commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@Demonkratiy Demonkratiy requested a review from Copilot November 5, 2025 11:07

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

This PR adds a new data gap detection feature to the Power BI Multi-KPI visual, allowing users to detect and display warnings about missing days in time-series data. The feature parallels the existing stale data functionality.

  • Adds data gap detection with configurable warning messages
  • Displays gap indicators in the subtitle section with tooltips
  • Provides per-series gap information when multiple series have different gaps

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/utils/dataGapDetector.ts New utility class that detects gaps in time-series data and formats warning messages
src/settings/descriptors/dataGapDescriptor.ts New settings descriptor for data gap configuration including colors and message template
src/converter/data/dataRepresentation.ts Adds IDataGapInfo interface to store gap detection results
src/converter/data/dataConverter.ts Integrates gap detection into data processing pipeline
src/visualComponent/subtitleWarningComponent.ts Adds rendering logic for data gap warnings with tooltips
src/visualComponent/rootComponent.ts Passes data gap settings to subtitle component
src/settings/settings.ts Registers data gap descriptor in settings model
capabilities.json Defines data gap properties in Power BI capabilities
styles/styles.less Adds CSS styling for data gap icon
stringResources/en-US/resources.resjson Adds localized strings for data gap feature

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

Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread src/visualComponent/subtitleWarningComponent.ts Outdated
Comment thread stringResources/en-US/resources.resjson Outdated
Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread src/utils/dataGapDetector.ts Outdated
@Demonkratiy Demonkratiy requested a review from Copilot November 6, 2025 12:15

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 14 out of 15 changed files in this pull request and generated 2 comments.


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

Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread src/settings/descriptors/dataGapDescriptor.ts Outdated
Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread CHANGELOG.md Outdated

@Demonkratiy Demonkratiy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the feature — the structure mirrors Stale Data nicely. A few things to address before merge: a JSON syntax error in the string resources, the gap icon currently being identical to the Stale Data icon, and a double-counting edge case in the gap detector. Details inline.

Comment thread stringResources/en-US/resources.resjson Outdated
Comment thread styles/styles.less Outdated
Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread src/utils/dataGapDetector.ts Outdated
Comment thread capabilities.json
Comment thread CHANGELOG.md Outdated
- Bump runner to ubuntu-latest and actions (checkout@v4, setup-node@v4)

- Update Node matrix to 20.x/22.x, add npm cache

- Reorder steps (ci before audit/outdated), drop dead eslint script

- Add concurrency with cancel-in-progress

- Add ChromeHeadlessCI launcher (--no-sandbox) for Ubuntu 24.04 sandbox
@Demonkratiy Demonkratiy merged commit da19582 into microsoft:main Jun 29, 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.

4 participants