Skip to content
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

Migrate to Next.JS #15

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft

Migrate to Next.JS #15

wants to merge 40 commits into from

Conversation

kguzek
Copy link
Owner

@kguzek kguzek commented Dec 31, 2024

resolves #14

- separate context providers into components
- rename all files to kebab-case
- use @ for the base /src/ path
- break a bunch of stuff related to routing and outlet contexts
* the app is now in the same state as when using pure React
* screwed up some styles (e.g. navbar)
* started process of migrating to tailwind
@kguzek kguzek linked an issue Dec 31, 2024 that may be closed by this pull request
@kguzek kguzek self-assigned this Dec 31, 2024
@kguzek kguzek added the enhancement New feature or request label Dec 31, 2024
@kguzek kguzek requested a review from Copilot January 5, 2025 04:49

Choose a reason for hiding this comment

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

Copilot reviewed 256 out of 270 changed files in this pull request and generated 1 comment.

Files not reviewed (14)
  • .prettierrc: Language not supported
  • Dockerfile: Language not supported
  • package.json: Language not supported
  • public/index.html: Language not supported
  • src/App.tsx: Evaluated as low risk
  • src/app/admin/users/[uuid]/page.tsx: Evaluated as low risk
  • src/app/admin/users/user-card.tsx: Evaluated as low risk
  • src/app/admin/users/page.tsx: Evaluated as low risk
  • src/app/admin/users/[uuid]/user-editor.tsx: Evaluated as low risk
  • postcss.config.mjs: Evaluated as low risk
  • src/app/admin/logs/filtered-logs.tsx: Evaluated as low risk
  • src/app/admin/content-manager/pages-form.tsx: Evaluated as low risk
  • src/app/admin/page.tsx: Evaluated as low risk
  • src/app/error/[code]/page.tsx: Evaluated as low risk
Comments suppressed due to low confidence (2)

src/app/admin/logs/page.tsx:34

  • Ensure that searchParams is resolved correctly before accessing the date property. Add a check to handle the resolution of searchParams.
const { date } = await searchParams;

src/app/[...page]/page.tsx:10

  • The use of 'any' type for 'params' is ambiguous. It should be replaced with a more specific type.
params: Promise<{ page: any }>
Repository owner deleted a comment from Copilot bot Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate to Next.js
1 participant