<commit_before># Use-Case Specification: Add event

## 1. Use-Case Name

### 1.1 Brief Description

This use-case allows the team captain to add an event to the Squad Calendar.

## 2. Flow of Events

### 2.1 Basic Flow

tbd include mockup
tbd activity diagram
Enter details, persist, send notifications

### 2.2 Alternative Flows

If error tbd

## 3. Special Requirements

N/A

## 4. Preconditions

* User has to be authenticated
* User needs to be team captain
* A squad must exist

## 5. Postconditions

* The new event is added to the calendar

## 6. Extension Points

* Send notification to team members
<commit_msg>FIX: fill in missing information for UC_add_event<commit_after># Use-Case Specification: Add event

## 1. Use-Case Name

### 1.1 Brief Description

This use-case allows the team captain to add an event to the Squad Calendar.

## 2. Flow of Events

### 2.1 Basic Flow

The user has to fill in the necessary information and is then able to save the event. Afterwards, all team members are notified about the new event and are able to send answers (see the corresponding UC [TBD]).

* **UML Diagram**
  ![uml][]
* **Mockup**
  ![mock][]

### 2.2 Alternative Flows

In case of an error while processing the data, the form is displayed again and the error message is displayed alongside.

## 3. Special Requirements

N/A

## 4. Preconditions

* User has to be authenticated
* User needs to be team captain
* A squad must exist

## 5. Postconditions

* The new event is added to the calendar

## 6. Extension Points

* Send notification to team members

<!-- link definitions -->
[uml]: UC_AddEvent_UML.png "UML Diagram: UC Add Event"
[mock]: UC_AddEvent_Mockup.png "Mockup: UC Add Event"

{'fraction_non_alphanumeric': 0.08396946564885496, 'fraction_numerical': 0.014092777451556078, 'mean_word_length': 3.8, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6411448', 'n_tokens_mistral': 538, 'n_tokens_neox': 497, 'n_words': 247}