feat: add the house manager questionnaire per travel and compact the questionnaire layout
This commit is contained in:
1 parent
d760ed3cdf
commit
bfef08b519
50 files changed
+2763
-180
No files matched your search
@@ -0,0 +1,159 @@
|
||||
# Questionnaire the house manager fills in once per travel (Destination) after it has ended.
|
||||
#
|
||||
# From the stakeholder briefing of 2026-11-11; the plan is .ddev/plans/house-manager-questionnaire.md.
|
||||
# What the travel already knows (product, house, dates, teamers) is not asked: it is snapshotted
|
||||
# into the response's context. Its last point, "Bewerte dein Wochenteam", is not a question: the
|
||||
# page lists the travel's teamers after the form, each linking to the existing rating form.
|
||||
#
|
||||
# Labels, help texts, section titles and option labels may be edited in place. Renaming or
|
||||
# removing a question or option key, or changing a type, needs a new version: copy this file to
|
||||
# house_manager_feedback.v1.yaml first, then bump `version` here. Submitted answers are keyed by it.
|
||||
#
|
||||
# Parsed and validated by App\Config\QuestionnaireCatalog; QuestionnaireCatalogTest builds it.
|
||||
#
|
||||
# Besides the types of teamer_feedback.yaml, this one uses the house manager's widgets, whose
|
||||
# options are what can be picked per teamer or item:
|
||||
# teamer_guidings (guiding types; count and participants each), teamer_courses (course types;
|
||||
# days × hours per day and the days it took place) and programme (items with their participants,
|
||||
# plus "Sonstiges" as free text; "other" is reserved for it).
|
||||
|
||||
key: house_manager_feedback
|
||||
version: 1
|
||||
title: "Hausleitungsfeedback"
|
||||
description: |-
|
||||
Dein Feedback zur Reise. Du kannst den Fragebogen jederzeit als Entwurf speichern und später
|
||||
weiter ausfüllen.
|
||||
|
||||
sections:
|
||||
- key: arrival
|
||||
title: "Gruppe & Anreise"
|
||||
questions:
|
||||
- key: groups_in_house
|
||||
label: "Gruppe(n) im Haus?"
|
||||
type: choice
|
||||
required: true
|
||||
options: &yes_no
|
||||
- { key: ja, label: "Ja" }
|
||||
- { key: nein, label: "Nein" }
|
||||
|
||||
- key: bus_arrival
|
||||
label: "Busanreise?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: bus_late
|
||||
label: "Unpünktlich?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
show_if: { question: bus_arrival, equals: ja }
|
||||
|
||||
- key: bus_arrival_time
|
||||
label: "Wann kam der Bus?"
|
||||
type: text
|
||||
required: true
|
||||
show_if: { question: bus_late, equals: ja }
|
||||
|
||||
- key: no_shows
|
||||
label: "Gab es No-Shows?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: unused_services
|
||||
label: "Wurden Leistungen nicht bezogen?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: unused_services_details
|
||||
label: "Bitte trage hier den Vorfall des Kunden mit VG-Nummer ein:"
|
||||
type: textarea
|
||||
required: true
|
||||
show_if: { question: unused_services, equals: ja }
|
||||
|
||||
- key: guidings_and_courses
|
||||
title: "Guidings & Kurse"
|
||||
questions:
|
||||
- key: guidings
|
||||
label: "Gab es Guidings?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: guiding_teamers
|
||||
label: "Wer hat das Guiding gegeben?"
|
||||
help: "Bitte wähle aus, mehrere sind möglich."
|
||||
type: teamer_guidings
|
||||
required: true
|
||||
options:
|
||||
- { key: half_day, label: "Halbtagesguiding" }
|
||||
- { key: full_day, label: "Ganztagesguiding" }
|
||||
show_if: { question: guidings, equals: ja }
|
||||
|
||||
- key: courses
|
||||
label: "Gab es Kurse?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: course_teamers
|
||||
label: "Wer hat welchen Kurs gegeben?"
|
||||
help: "Bitte wähle aus, mehrere sind möglich."
|
||||
type: teamer_courses
|
||||
required: true
|
||||
options:
|
||||
- { key: ski_beginner, label: "Ski-Anfänger:innen-Kurs" }
|
||||
- { key: ski_advanced, label: "Ski-Fortgeschrittenen-Kurs" }
|
||||
- { key: snowboard_beginner, label: "Snowboard-Anfänger:innen-Kurs" }
|
||||
- { key: snowboard_advanced, label: "Snowboard-Fortgeschrittenen-Kurs" }
|
||||
show_if: { question: courses, equals: ja }
|
||||
|
||||
- key: activities
|
||||
title: "Programm"
|
||||
questions:
|
||||
- key: programme_deviations
|
||||
label: "Gab es Besonderheiten/Abweichungen vom Beispiel-Programm, welches im Reisebriefing verschickt wurde?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: programme_deviations_details
|
||||
label: "Bitte beschreibe, was genau."
|
||||
type: textarea
|
||||
required: true
|
||||
show_if: { question: programme_deviations, equals: ja }
|
||||
|
||||
- key: programme
|
||||
label: "Welches Programm hat stattgefunden?"
|
||||
help: "Mehrere sind möglich."
|
||||
type: programme
|
||||
required: true
|
||||
options:
|
||||
- { key: village_check, label: "Dorfcheck am Anreisetag" }
|
||||
- { key: mulled_wine_party, label: "Glühweinparty" }
|
||||
- { key: slope_snack, label: "Pistensnack" }
|
||||
- { key: hut_evening, label: "Hüttenabend" }
|
||||
- { key: torch_hike, label: "Fackelwanderung" }
|
||||
- { key: toboggan_evening, label: "Rodelabend" }
|
||||
- { key: witches_cauldron, label: "Hexenkessel" }
|
||||
|
||||
- key: closing
|
||||
title: "Vorkommnisse & Gruppe"
|
||||
questions:
|
||||
- key: incidents
|
||||
label: "Gab es besondere Vorkommnisse, z. B. schwerwiegende Verletzungen oder Beschwerden?"
|
||||
type: choice
|
||||
required: true
|
||||
options: *yes_no
|
||||
|
||||
- key: incidents_details
|
||||
label: "Was ist passiert?"
|
||||
type: textarea
|
||||
required: true
|
||||
show_if: { question: incidents, equals: ja }
|
||||
|
||||
- key: group_feedback
|
||||
label: "Feedback zur Gruppe"
|
||||
type: textarea
|
||||
@@ -127,6 +127,12 @@ parameters:
|
||||
# Without a cutoff every past placement would be pending at once.
|
||||
questionnaire_go_live: '2026-11-10'
|
||||
|
||||
# The house manager's questionnaire about a travel (config/questionnaires/house_manager_feedback.yaml)
|
||||
# is offered for travels ending on or after this day (Y-m-d), and keeps the travel pending - in
|
||||
# the list, on the dashboard and in the daily reminder - until submitted. Teamer ratings stay
|
||||
# pending as before, whatever this date.
|
||||
house_manager_questionnaire_go_live: '2026-11-11'
|
||||
|
||||
# How far ahead of the destination's first travel day a season assignment's checklist
|
||||
# entries fall due. A relative date expression, applied to destination.dateFrom, and the
|
||||
# single definition of both deadlines: the first is this offset, the second defaults to
|
||||
@@ -191,6 +197,7 @@ services:
|
||||
# Likewise parsed on demand, by App\Config\QuestionnaireCatalog.
|
||||
$questionnaireDir: '%kernel.project_dir%/config/questionnaires'
|
||||
$questionnaireGoLive: '%questionnaire_go_live%'
|
||||
$houseManagerQuestionnaireGoLive: '%house_manager_questionnaire_go_live%'
|
||||
$mailingBusTransport: '%mailing_bus_transport%'
|
||||
$seasonStart: '%season_start%'
|
||||
$seasonEnd: '%season_end%'
|
||||
@@ -518,3 +525,4 @@ when@test:
|
||||
mailing_bus_transport: 'sync'
|
||||
# the questionnaire tests need it offered; any day before the placements they create
|
||||
questionnaire_go_live: '2026-01-01'
|
||||
house_manager_questionnaire_go_live: '2026-01-01'
|
||||
Reference in new issue
Block a user