-
Notifications
You must be signed in to change notification settings - Fork 0
Add / Replace with convex #2
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
Draft
suiramdev
wants to merge
11
commits into
main
Choose a base branch
from
add-convex
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
Owner
Author
|
Having issues related to get-convex/convex-backend#193 (comment) |
…t variables, and refactor user management components - Added Zero API endpoints for fetching and mutating data. - Updated .env.example with new Zero API URLs. - Refactored user management components to utilize the new Zero API. - Introduced a new UsersTable component with improved structure and functionality. - Updated package dependencies and configurations for Zero integration.
This commit marks the first production implementation of Zero Replicache in the codebase, enabling real-time data synchronization with optimistic updates and offline capabilities. The refactoring of Zero queries to use related() establishes the query patterns that will be used throughout the application for collaborative features.
- Added EditUserDialog component for editing user details. - Updated BanUserDialog and DeleteUserDialog to use new mutator functions. - Introduced createUserMutator for user-related operations including banning, deleting, and updating users. - Refactored user table actions to integrate the new EditUserDialog and handle user actions more effectively.
Replace Zero with Convex as the backend-as-a-service (BaaS) solution. Zero proved to be too unstable for production use, while Convex provides a more stable and reliable foundation for the application. Key changes: - Remove Zero package and all related API routes - Remove Prisma/PostgreSQL database package (packages/db) - Add Convex package with BetterAuth integration - Update authentication helpers to work with Convex - Refactor organization and user management to use Convex queries/mutations - Update admin app to use Convex provider instead of Zero client - Simplify routing structure by removing organization-scoped routes
ef213cb to
a124b32
Compare
- Updated member table components to utilize Convex for fetching organization members. - Refactored member-related types and queries to align with Convex's structure. - Introduced new mutations for creating accounts, users, and members within the BetterAuth framework. - Improved user interface components for member actions, including selection and status display. - Added support for organization-specific member queries and streamlined data handling.
6eea1b2 to
6376102
Compare
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.
No description provided.