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

Push rearchitecture to prod #24

Merged
merged 108 commits into from
Aug 13, 2023
Merged

Push rearchitecture to prod #24

merged 108 commits into from
Aug 13, 2023

Conversation

edwardshturman
Copy link
Member

See #10

Conditionally rerender only Invite button rather than the whole sidebar
Notable differences:
• Metadata API
• Extracted Auth.js `SessionProvider` to new `AuthWrapper` client component
• Extracted Sidebar conditional rendering to component-level

Known issues:
• It's bugging out about the styles
• There was something with the `children` not being a valid React child or something like that
Notable differences:
• Extracted sign in button to its own client component
• Removed `next/head`, now taken care of by Metadata API
• Returning a redirect object in `getServerSideProps` → `next/navigation` redirect

Known issues:
• Styles not working (todo switch from styled JSX)
• Sidebar rendering "Loading..."
Conditionally rerender only Invite button rather than the whole sidebar
Will need to update dependents to call new server-side user management functions
@vercel
Copy link

vercel bot commented Aug 13, 2023

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

Name Status Preview Comments Updated (UTC)
cue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 13, 2023 0:32am

@edwardshturman edwardshturman merged commit e1d9274 into main Aug 13, 2023
1 check passed
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.

1 participant