Persist workspace creation and list workspaces#29
Open
VexCode24 wants to merge 11 commits into
Open
Conversation
Author
|
Update after the latest commits: this now covers the full workspace/team slice from #1 more completely. Implemented pieces:
Local verification available in this checkout was limited to source inspection plus git diff checks because the project package tooling is not installed here, but the branch is pushed and ready for Vercel/reviewer feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR wires the existing workspace UI into the database-backed organization models so newly created workspaces are persisted and shown in the mail workspace sidebar.
It adds an authenticated /api/workspaces route for listing the current user's workspaces and creating a new OWNER membership, then updates the Create Workspace dialog to POST real workspace data and refresh the sidebar.
What type of PR is this? (check all applicable)
Related Tickets & Documents
Refs #1
Mobile & Desktop Screenshots/Recordings
No screenshots; backend/API wiring plus existing sidebar/dialog behavior.
Steps to QA
Added to documentation?
[optional] Are there any post-deployment tasks we need to perform?
None.
[optional] What gif best describes this PR or how it makes you feel?
A small but real first brick for teams/workspaces support.