-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Move the space sharing UI from Console into the shared UI package (@storacha/ui-react) to centralize functionality and reduce duplication.
Scope
- Add
SpaceSharecomponent to@storacha/ui-react - Export
SpaceSharefrom package index - Update Console's share page to consume shared component
- Verify builds and type checks
Implementation Details
New Component:
packages/ui/packages/react/src/SpaceShare.tsx
Export:
packages/ui/packages/react/src/index.ts
Console Integration:
packages/console/src/app/space/[did]/share/page.tsx
Key Features:
- Email/DID sharing with delegation listing
- Revocation support with status checking
- UCAN archive download for DID delegations
- Uses
useW3hook for client access
Acceptance Criteria
-
SpaceShareexported from@storacha/ui-reactwithout Console dependencies - Console successfully renders
SpaceShareon/space/[did]/share - Email sharing creates and lists delegations
- DID input triggers UCAN download
- Revoked delegations display separately
- All builds and type checks pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels