Skip to content

Added renderingEvents#567

Merged
kullJul merged 6 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/change-templates
Apr 24, 2026
Merged

Added renderingEvents#567
kullJul merged 6 commits intomicrosoft:mainfrom
kullJul:dev/v-ikulagina/change-templates

Conversation

@kullJul
Copy link
Copy Markdown
Contributor

@kullJul kullJul commented Mar 31, 2026

7.0.4

  • Treated renderingEvents issue as an error when certification-audit and certification-fix are used.
  • Switched to a new webpack plugin.
  • Added rendering events to the visual templates.
  • Updated packages.
image

Comment thread templates/visuals/default/src/visual.ts Outdated
}
catch (error) {
console.log('Error in update method', error);
this.events.renderingFailed(error);
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.

Rendering events are expected to receive an options argument, and failure events could benefit from a second reason parameter.
renderingFailed(options, String(error))
Please update similar cases throughout the codebase accordingly.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

done

@kullJul kullJul merged commit 5ebdb09 into microsoft:main Apr 24, 2026
6 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