feat: implement connection system #65
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "(deleted):feat/connections-system"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the connection request system (spec 002) that allows users to establish trust relationships.
Changes
Database
user_a/user_bcolumns toinitiator_id/receiver_idfor claritycan_create_connection_request()function for rate limiting (5/day)get_connection_status()RPC for checking connection stateAPI Endpoints
POST /api/connections- Create connection request (with rate limiting)PATCH /api/connections/[id]- Accept/decline request (receiver only)DELETE /api/connections/[id]- Withdraw pending or delete declinedUI Components
ConnectButton- Connect button with confirmation dialog and trust checkboxesConnectionActions- Accept/Decline/Withdraw buttonsProfileShare- QR code and Web Share API for profile sharingPages
Testing
Related
Pull request closed