7f35297025
Naser confirmed all remaining QA Review / Draft rows (97 subtasks, 16
parent rollups) are done in substance: the site has been in production
for roughly a year. Overrides the conservative QA-Review/Draft mapping
from the prior takeover commit (0f9d12c) at his explicit instruction.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
36 lines
1.4 KiB
Markdown
36 lines
1.4 KiB
Markdown
---
|
|
id: 3-6
|
|
title: 3-6 Calendar File Generation (.ics)
|
|
status: Done
|
|
date: 2026-09-27
|
|
parent: 3
|
|
---
|
|
|
|
## Description
|
|
|
|
As a client, I want to receive a calendar file when my booking is approved, So that I can easily add the consultation to my calendar app. Context: Integrates with: Consultation model, email attachments; Technology: iCalendar format (RFC 5545); Follows pattern: Service class for generation. Full implementation history: docs/stories/story-3.6-calendar-file-generation.md
|
|
|
|
## Acceptance Criteria
|
|
|
|
- [ ] Generate valid .ics file on booking approval
|
|
- [ ] File follows iCalendar specification (RFC 5545)
|
|
- [ ] Compatible with major calendar apps:
|
|
- [ ] Event title: "Consultation with Libra Law Firm" (bilingual)
|
|
- [ ] Date and time (correct timezone)
|
|
- [ ] Duration: 45 minutes
|
|
- [ ] Location (office address or "Phone consultation")
|
|
- [ ] Description with:
|
|
- [ ] Reminder: 1 hour before
|
|
- [ ] Attach to approval email
|
|
- [ ] Available for download from client dashboard
|
|
- [ ] Proper MIME type (text/calendar)
|
|
- [ ] Correct filename (consultation-{date}.ics)
|
|
- [ ] Event title in client's preferred language
|
|
- [ ] Description in client's preferred language
|
|
- [ ] Valid iCalendar format (passes validators)
|
|
- [ ] Tests for file generation
|
|
- [ ] Tests for calendar app compatibility
|
|
- [ ] Tests for bilingual content (Arabic/English)
|
|
- [ ] Tests for download route authorization
|
|
- [ ] Tests for email attachment
|