ecamp / ecamp/ecamp3

Add DayResponibility for Camps (DayResponsible migration)

Open
#3,888 0 comments 0 reactions 1 assignee Claimed by @pmattmann View on GitHub
agents:ignore External feedback Ready for implementation type: API type: Frontend type: Print UX/UI
Dominant language
PHP
Stars
156
Forks
72
Avg merge
12h 43m
Merged PRs (30d)
203

Description

Currently, there is a `DayResponsible` which allows to define a `CampCollaboration` per `Day`.

User Stories:
As a camp manager (admin) I want to declare a list of _DayJob_ on a `Camp` as seen with `ActivityProgressLabel` or `Category` to collect responsibilities (like Driver, First-Aid-Responsible or Camera-Responsible) that need to be covered on daily basis.

As a camp manager (admin), I want to declare a short and a long name (as seen with `Category` ) for a _DayJob_
As a camp manager (admin), I want to define (0 or more) _DayJob_ as _PicassoDisplayJob_ to view the Picasso like the current `DayResponsible`.
As a member(or Manager), I want to assign (multiple) `CampCollaboration` to a _DayJob_

Requirements:
- Migration of `DayResponsible` database schema
- Additional table for jobs
- Migration of existing camp data:
- Create a Job with labels based on the language of the camp prototype
- Created Job is a _PicassoDisplayJob_
- Existing `DayResponsible` should be labelled with the created Job
- _PicassoDisplayJob_ are declared by a bool

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.