Skip to content

Conversation

@pan93412
Copy link
Member

No description provided.

@pan93412 pan93412 self-assigned this Oct 12, 2025
@vercel
Copy link

vercel bot commented Oct 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
admin-frontend Ready Ready Preview Comment Oct 12, 2025 5:59pm

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 upgrades the Next.js application from version 15 to 16, updating dependencies and adapting code to leverage new Next.js v16 features.

  • Upgraded Next.js from 15.6.0-canary.45 to 16.0.0-canary.2
  • Updated React canary versions and several related dependencies
  • Migrated from ppr: "incremental" to cacheComponents: true configuration
  • Replaced dynamic width calculation with static values and improved form watching patterns

Reviewed Changes

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

Show a summary per file
File Description
package.json Updates Next.js to v16 and bumps React, TypeScript, and utility library versions
next.config.ts Replaces deprecated ppr configuration with cacheComponents and updates dev script
components/ui/sidebar.tsx Removes dynamic width calculation in favor of static 90% width
components/data-table/general.tsx Adds "use no memo" directive for Next.js v16 optimization
app/(admin)/me/_components/form.tsx Migrates from form.watch() to useWatch hook pattern
app/(admin)/layout.tsx Updates ViewTransition import and wraps layout in Suspense
app/(admin)/(user-management)/users/_components/update-form.tsx Migrates from form.watch() to useWatch hook pattern

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pan93412 pan93412 merged commit dd46dca into main Oct 12, 2025
3 checks passed
@pan93412 pan93412 deleted the next-16 branch October 12, 2025 18:14
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.

2 participants