Skip to content

Conversation

@petar-i-todorov
Copy link
Contributor

refs #344

Copy link

Copilot AI left a comment

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 the Next.js Telerik Reporting demo to resolve compatibility issues introduced by recent Next.js version upgrades. The changes implement dynamic imports with SSR disabled for the Telerik Report Viewer component and update the Kendo UI theme CDN links to the latest version.

Key Changes:

  • Implemented dynamic import with SSR disabled for the TelerikReportViewer component to ensure client-side-only rendering
  • Updated Kendo UI theme CDN links from version 2022.3.913 to themes/12.0.0 with the classic-opal theme
  • Upgraded @progress/telerik-react-report-viewer package from version ^24.24.1218 to ^28.25.1119

Reviewed changes

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

File Description
nextjs-telerik-rv-example/src/app/page.js Implements dynamic import for TelerikReportViewer with SSR disabled and updates Kendo UI theme CDN references
nextjs-telerik-rv-example/package.json Updates telerik-react-report-viewer dependency to version ^28.25.1119
Files not reviewed (1)
  • nextjs-telerik-rv-example/package-lock.json: Language not supported

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

Copy link

Copilot AI left a comment

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

Files not reviewed (1)
  • nextjs-telerik-rv-example/package-lock.json: Language not supported

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

@petar-i-todorov
Copy link
Contributor Author

petar-i-todorov commented Dec 18, 2025

Our example is not really compatible with https://demos.telerik.com/reporting/api/reports/ as of now, since the demos REST service relies on version 1203, which is not publicly available.

That said, I tested with a local 1119 service, and it seemed to be working as expected (ignore the error, I was too lazy to add a report to the service):
image

import { TelerikReportViewer } from '@progress/telerik-react-report-viewer'
import dynamic from 'next/dynamic'

const TelerikReportViewer = dynamic(() => import('@progress/telerik-react-report-viewer')
Copy link
Collaborator

Choose a reason for hiding this comment

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

no idea what does this line do :)

Copy link
Collaborator

@ighristov ighristov left a comment

Choose a reason for hiding this comment

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

Thanks for fixing it, Pepi!

@petar-i-todorov petar-i-todorov merged commit b63e979 into master Dec 19, 2025
@petar-i-todorov petar-i-todorov deleted the petodoro/update-nextjs-demo branch December 19, 2025 08:36
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