Summary Share Widget
Component Detail
User Interface
medium complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Widget that provides share and export controls at the end of the annual summary experience. Allows the peer mentor to share their wrapped summary as a static image or PDF to social media, messaging apps, or save locally. Generates a privacy-safe shareable card with configurable detail level.
summary-share-widget
Responsibilities
- Trigger server-side image or PDF generation for sharing
- Present native share sheet with generated asset
- Allow user to control which metrics are visible in the shared output
- Show share confirmation and analytics opt-in prompt
Interfaces
generateShareCard(summaryId, format)
openNativeShareSheet(asset)
setShareableFields(fields)
onShareSuccess(platform)
onShareError(error)