You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Neon project transfer confirmation page and refactor transfer confirmation components
- Introduced a new `neon-transfer-confirm-page.tsx` for handling project transfer confirmations specific to Neon, maintaining legacy UI and behavior.
- Refactored existing `transfer-confirm-page.tsx` to support a new `TransferConfirmMissingCodeView` for handling cases where the transfer code is missing.
- Updated integration pages for both Neon and custom transfers to utilize the new components, enhancing code organization and reusability.
- Added a new `project-transfer-confirm-view.tsx` component to standardize the UI for project transfer confirmations across different integrations.
These changes improve the user experience during project transfers and streamline the integration process for different services.
Neon would like to transfer a Stack Auth project and link it to your own account. This will let you access the project from Stack Auth's dashboard.
96
+
</Typography>
97
+
{user ? (
98
+
<>
99
+
<TypographyclassName="mb-3 text-sm">
100
+
Which Stack Auth account would you like to transfer the project to? (You'll still be able to access your project from Neon's dashboard.)
101
+
</Typography>
102
+
<Inputtype="text"disabledprefixItem={<LogonoLinkwidth={15}height={15}/>}value={`Signed in as ${user.primaryEmail||user.displayName||"Unnamed user"}`}/>
description="Open the full link you received (it includes a transfer code). If the link expired, go back to the partner or integrations screen and start the transfer again."
{props.type==="neon" ? "Neon" : "A third party"} would like to transfer a Stack Auth project and link it to your own account. This will let you access the project from Stack Auth's dashboard.
94
-
</Typography>
95
-
{user ? (
96
-
<>
97
-
<TypographyclassName="mb-3 text-sm">
98
-
Which Stack Auth account would you like to transfer the project to? (You'll still be able to access your project from {props.type==="neon" ? "Neon" : "the third party"}'s dashboard.)
99
-
</Typography>
100
-
<Inputtype="text"disabledprefixItem={<LogonoLinkwidth={15}height={15}/>}value={`Signed in as ${user.primaryEmail||user.displayName||"Unnamed user"}`}/>
0 commit comments