Skip to content

Frontend integration for capability-based private data sharing #39

@Soushi888

Description

@Soushi888

Overview

Update the frontend UI to integrate with the capability-based private data sharing system implemented in #27.

Background

The backend capability-based sharing system is functional but the frontend has not been updated to handle the new data structures and workflows.

Implementation Needed

  • UI for granting private data access (select fields, set expiration)
  • UI for viewing received capability grants
  • UI for revoking granted access
  • Display of grant status and expiration information
  • Integration with role-based grant presets

Key Types to Integrate

  • GrantPrivateDataAccessOutput — grant creation response
  • CreatePrivateDataCapClaimOutput — claim creation response
  • FilteredPrivateData — filtered data display
  • TransferableCapabilityOutput — transferable grant response
  • PrivateDataCapabilityMetadata — grant metadata display

Files

  • ui/ — Svelte frontend components
  • packages/shared-types/src/person.types.ts — TypeScript type definitions

Acceptance Criteria

  • Grant creation UI with field selection and expiration control
  • Grant listing and management UI
  • Received grants display for grantees
  • Grant revocation UI
  • Role-based grant shortcut buttons
  • Proper error handling and loading states

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3-mediumMedium priority - should be completed when possibleenhancementNew feature or requestfrontendFrontend development - UI, SvelteKit, Effect-TSzome-personPerson zome - agent identity, profiles, roles

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions