Skip to content

Fix change report generation - #279

Merged
diegopinate merged 4 commits into
masterfrom
diegop/fix-report-generation
Aug 27, 2026
Merged

Fix change report generation#279
diegopinate merged 4 commits into
masterfrom
diegop/fix-report-generation

Conversation

@diegopinate

Copy link
Copy Markdown
Collaborator

Fixes related to change report generation:

  1. Fix properties in change report not being populated correctly
  2. Handle nested properties in report
  3. Fix changed models report to appropriately find source filenames when applicable

@diegopinate
diegopinate requested a review from a team as a code owner August 27, 2026 15:00
@changeset-bot

changeset-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6df991e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@itwin/changed-elements-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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 fixes change report generation in changed-elements-react by improving property extraction from Presentation content (including nested/related content) and by refining how model source filenames are determined for the changed models report.

Changes:

  • Deduplicates wanted Presentation fields and adds nested-content-aware display value extraction when populating report properties.
  • Updates the Presentation stub ruleset used to fetch content descriptors/content for selected instances.
  • Reworks the model source filename lookup query and adds a changeset for the patch release.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/changed-elements-react/src/api/ReportGenerator.ts Improves property field selection/deduping and correctly reads display values from nested/related content for report population.
packages/changed-elements-react/src/api/ModelReportGenerator.ts Refactors the ECSQL used to map models to source filenames via ExternalSourceAspect queries.
.changeset/tricky-rocks-heal.md Adds a patch changeset describing the change report generation fixes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread packages/changed-elements-react/src/api/ModelReportGenerator.ts
@diegopinate
diegopinate merged commit f2519b0 into master Aug 27, 2026
4 checks passed
@diegopinate
diegopinate deleted the diegop/fix-report-generation branch August 27, 2026 16:01
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