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

refactor(docs): migrate home page to app router #27221

Merged
merged 6 commits into from
Jun 24, 2024
Merged

Conversation

charislam
Copy link
Contributor

@charislam charislam commented Jun 12, 2024

Migrate docs home page to App Router.

Biggest changes touching shared packages are:

  • Need to put use client on a bunch of stuff

  • Need to switch out for next/compat/router (this prevents straight-out erroring if Pages Router isn't mounted, but doesn't provide a replacement for the actual functionality)

  • Checked to make sure I haven't broken meta/OpenGraph

  • Checked responsive styles

  • Checked build size -- minor increase expected, nothing awful

  • Checked load time navigating between routers -- again minor increase and slight flicker expected, nothing awful

  • Checked for console errors -- only ones are 404s on the RSC prefetches, which are expected

Copy link

vercel bot commented Jun 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
database-new ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 10:26pm
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 10:26pm
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 10:26pm
studio-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 10:26pm
zone-www-dot-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 10:26pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
studio ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2024 10:26pm
studio-self-hosted ⬜️ Ignored (Inspect) Visit Preview Jun 24, 2024 10:26pm

Copy link

supabase bot commented Jun 12, 2024

No changes detected in supabase directory.
This pull request has been ignored for the connected project xguihxuzqibwxjnimxev due to its connection settings.
Go to Project Integrations Settings ↗︎ in order to change this behavior.


Branching Preview Branches by Supabase.
Learn more about Supabase for Git ↗︎.

apps/docs/app/layout.tsx Outdated Show resolved Hide resolved
apps/docs/app/page.tsx Show resolved Hide resolved
Copy link
Contributor

@fsansalvadore fsansalvadore left a comment

Choose a reason for hiding this comment

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

Nice. Checked all previews and everything looks good 👍

@charislam
Copy link
Contributor Author

Checked all previews. Also tested log explorer on studio to make sure URL search params still work properly there

@charislam charislam merged commit ac192a5 into master Jun 24, 2024
17 checks passed
@charislam charislam deleted the refactor/app-router-1 branch June 24, 2024 22:47
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.

None yet

2 participants