feat(share): implement share functionality for medication schedules with token-based access

This commit is contained in:
Daniel Volz
2025-12-26 21:06:03 +01:00
parent a7f9f90db4
commit b0f26b1e66
8 changed files with 887 additions and 16 deletions
+18
View File
@@ -277,5 +277,23 @@
"fullBlisters": "full blisters",
"inBlister": "in 1 blister",
"total": "total"
},
"share": {
"button": "Share",
"title": "Share Schedule",
"description": "Generate a secret link to share the medication schedule for a specific person. Anyone with this link can view the schedule.",
"selectPerson": "Select person",
"selectPeriod": "Select time period",
"generateLink": "Generate Link",
"generating": "Generating...",
"generateAnother": "Generate another link",
"linkGenerated": "Share link generated!",
"copyLink": "Copy Link",
"copied": "Copied to clipboard!",
"noPeople": "No medications with 'Taken by' assigned. Add a person to a medication first.",
"scheduleFor": "Schedule for",
"period": "Period",
"noSchedule": "No scheduled doses found.",
"generatedBy": "Generated by"
}
}