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

add login and pro platform to reactflow.com #699

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dimaMachina
Copy link
Contributor

@dimaMachina dimaMachina commented Mar 7, 2025

closes #690

Important

don't forget to setup NEXT_PUBLIC_NHOST_SUBDOMAIN and NEXT_PUBLIC_NHOST_REGION env variables!

  • moved all pro components/pages to reactflow.com

  • magic link works like before

  • No need for a manual new UserProvider (I previously proposed it)

  • NhostClient's storage type changed to cookie so we can authenticate in RSC too

  • accessing /dashboard/... will redirect to /signin (when NOT authenticated)

  • accessing pages from (auth) will redirect to /dashboard (when authenticated)

  • No need to refactor everything to server actions (or did I miss something?)

  • Where dashboard pages should live? I put them in /dashboard

  • Let’s combine Sign In and Sign Out into 1 button? it takes up a lot of space in the header

    image

Copy link

vercel bot commented Mar 7, 2025

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

Name Status Preview Comments Updated (UTC)
example-apps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 2:15am
ui-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 2:15am
xyflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 2:15am

Copy link

vercel bot commented Mar 7, 2025

@dimaMachina is attempting to deploy a commit to the xyflow Team on Vercel.

A member of the Team first needs to authorize it.

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.

Login for the docs
1 participant