Skip to content

Re-organize Next.js Manual Setup page #12487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
inventarSarah opened this issue Jan 28, 2025 · 1 comment
Closed

Re-organize Next.js Manual Setup page #12487

inventarSarah opened this issue Jan 28, 2025 · 1 comment
Assignees
Labels

Comments

@inventarSarah
Copy link
Collaborator

SDK

JavaScript SDK

Description

We want to rework the Manual Setup page into the Next.js quick start guide (manual setup).
And ideally, the wizard and manual quick start guides lead to the same results.

However, currently, the manual setup page contains a lot of advanced topics that are not part of the quick start -> we want to move this content to other, more suitable pages

Suggested Solution

identify the information we want to move away from the Manual Setup page and find new homes for them (add to existing pages or create new ones)

consider: does it make sense to create pages under a "Next.js Features" page (see React) and have the next.js-specific information there

@inventarSarah
Copy link
Collaborator Author

inventarSarah commented Jan 30, 2025

I looked at the “Manual Setup” page to identify the content that is different from the wizard installer. At each point I suggested a possible new location for the content.

Move to Options Page

Extend Sentry Webpack Plugin Options

Configure Tunneling to avoid Ad-Blockers

Configure Server-side Auto-instrumentation

Move to API Page

Until we have an API page, we will keep the following content and move it later:

Instrument Next.js Server Actions

Configure Server-side Auto-instrumentation

  • wrapApiHandlerWithSentry, wrapGetInitialPropsWithSentry, wrapGetServerSidePropsWithSentry, wrapGetStaticPropsWithSentry , wrapErrorGetInitialPropsWithSentry, wrapAppGetInitialPropsWithSentry, wrapDocumentGetInitialPropsWithSentry
  • Status:

Move to other Pages

React Render Errors in App Router

Paragraph below first code sample:

"Note that if you create Next.js error.js files, these files will take precedence ..." + Code example

Configure Source maps

  • Status: move manual setup source maps options #12783
    • Disable sourcemaps -> Done; in build options
    • hideSourceMaps -> Done; removed; removed SDK version 9
    • widenClientFileUpload -> Done; in build options already (add expandable with more details)

@github-actions github-actions bot locked and limited conversation to collaborators Mar 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant