mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Extract the clinician share-link create flow (create form, document picker mount, one-time QR + passphrase reveal) from the Settings sharing section into a reusable ShareLinkCreateForm. Settings mounts it unchanged alongside the active/revoked lists; the document detail sheet adds a Share action beside Download that opens the same flow in a bottom sheet with the current document pre-attached and its title pre-filled as the label. The one-time QR reveal lands in that sheet, scannable on mobile. No backend change: the shared POST /api/share-links handles the attached document set as before.