Skip to content

Todor more snippets - #2217

Merged
todorarabadzhiev merged 3 commits into
masterfrom
todor-more-snippets
Jun 25, 2026
Merged

Todor more snippets#2217
todorarabadzhiev merged 3 commits into
masterfrom
todor-more-snippets

Conversation

@todorarabadzhiev

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI 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.

Pull request overview

This PR updates documentation pages to replace inline code blocks with reusable {{source=...}} snippet includes, centralizing examples in shared snippet files for easier maintenance and consistency across the docs set.

Changes:

  • Replaced many embedded code fences (C#/JS/TS/JSON/bash/Razor) with {{source=... region=...}} snippet references.
  • Normalized several docs sections’ indentation/formatting around snippet usage in ordered lists.
  • Updated a few snippet source paths (e.g., MySQL/MsSql config examples) to point at newer snippet files.

Reviewed changes

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

Show a summary per file
File Description
report-items/chart-(obsolete).md Replaces inline NeedDataSource handler sample with shared snippet regions (C#/VB).
embedding-reports/display-reports-in-applications/web-application/react-report-viewer/event-binding.md Replaces inline event-handler example with a snippet include (but currently references an Angular snippet).
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/localization.md Replaces inline IIFE/localization code with shared snippet(s) and adjusts list formatting.
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/how-to-pass-values-to-report-parameters.md Swaps inline jQuery viewer initialization/update code for shared snippet regions.
embedding-reports/display-reports-in-applications/web-application/html5-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md Replaces large inline editor examples with snippet includes (JS + HTML).
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/how-to-pass-values-to-report-parameters.md Minor formatting cleanup (removes an extra blank line).
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md Replaces inline JS samples with shared snippet regions.
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-web-forms-report-viewer/customizing/client-events.md Replaces inline client-event handler code with a shared snippet include.
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-mvc-report-viewer/customizing/how-to-pass-values-to-report-parameters.md Replaces inline parameter update code with a shared snippet include.
embedding-reports/display-reports-in-applications/web-application/html5-asp.net-mvc-report-viewer/customizing/how-to-create-a-custom-parameter-editor.md Replaces inline JS examples with shared snippet regions.
embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/use-blazor-report-viewer-with-rs-net.md Replaces inline getPersonalAccessToken example with a shared snippet include.
embedding-reports/display-reports-in-applications/web-application/blazor-report-viewer/how-to-use-blazor-report-viewer.md Replaces large inline Razor samples with shared snippet regions.
embedding-reports/display-reports-in-applications/web-application/angular-report-viewer/how-to-use-angular-report-viewer-with-angular-cli.md Replaces inline ConnectionStrings JSON snippet with a shared snippet include.
designing-reports/report-designer-tools/web-report-designer/web-report-designer-initialization.md Replaces multiple inline JS initialization/event samples with shared snippet regions.
designing-reports/report-designer-tools/web-report-designer/tools/objectdatasource-wizard.md Replaces inline JSON config sample with a shared snippet include.
designing-reports/report-designer-tools/web-report-designer/overview.md Replaces inline gulp custom ... command block with a shared snippet include.
designing-reports/report-designer-tools/web-report-designer/localizing-the-web-report-designer.md Replaces inline setup snippet embedding with a shared snippet include and adjusts indentation.
designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-blazor-application.md Replaces inline Razor setup sample with a shared snippet include.
designing-reports/report-designer-tools/web-report-designer/how-to-set-up-in-.net-framework-application.md Replaces inline controller/route-registration code samples with shared snippet regions.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-data-providers/using-mysql-data-provider.md Updates snippet source path for MySQL shared-connection config example.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-data-providers/using-microsoft-data-sqlclient-data-proivder.md Replaces inline JSON samples with a shared snippet include (duplicated in two sections).
designing-reports/connecting-to-data/data-source-components/objectdatasource-component/connecting-the-objectdatasource-component-to-a-data-source.md Replaces inline JSON assembly reference snippet with a shared snippet include.
ai-coding-assistant/mcp-server.md Replaces inline JSON env examples with shared snippet includes for license configuration.

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

@petar-i-todorov petar-i-todorov 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.

Looks good to me, thanks for migrating the snippets!

@todorarabadzhiev
todorarabadzhiev merged commit 9f37345 into master Jun 25, 2026
1 check passed
@todorarabadzhiev
todorarabadzhiev deleted the todor-more-snippets branch June 25, 2026 12:33
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