Files
raceplanner/openspec/changes/archive/2025-04-03-new-raceplanner-app/specs/announcements/spec.md
T
2026-04-03 21:53:22 +02:00

40 lines
1.3 KiB
Markdown

## ADDED Requirements
### Requirement: Event announcements
The system SHALL allow organizers to post announcements for their events.
#### Scenario: Create announcement
- **WHEN** organizer creates announcement with title and content
- **THEN** system saves announcement with timestamp
- **AND** associates with specific event
#### Scenario: Announcement visibility
- **WHEN** participant views event page
- **THEN** system displays all published announcements
- **AND** sorts by newest first
### Requirement: Announcement notifications
The system SHALL notify registered participants of new announcements.
#### Scenario: New announcement notification
- **WHEN** organizer publishes announcement
- **THEN** system sends notification to all registered participants
- **AND** includes announcement title and link
#### Scenario: Mark as read
- **WHEN** participant views announcement
- **THEN** system marks notification as read
### Requirement: Announcement management
The system SHALL allow organizers to edit and delete announcements.
#### Scenario: Edit announcement
- **WHEN** organizer edits existing announcement
- **THEN** system updates content
- **AND** shows edit timestamp
#### Scenario: Delete announcement
- **WHEN** organizer deletes announcement
- **THEN** system removes from event
- **AND** does not notify participants of deletion