Remove PairProgrammingExerciseFeedback

* Remove view, controller, routes & policy for PairProgrammingExerciseFeedback
* Keep model & database table
This commit is contained in:
kiragrammel
2023-10-13 12:18:28 +02:00
committed by Sebastian Serth
parent 2ce5687f53
commit 26552a0682
11 changed files with 26 additions and 228 deletions

View File

@ -230,9 +230,6 @@ de:
internal_user:
one: Interner Nutzer
other: Interne Nutzer
pair_programming_exercise_feedback:
one: Feedback
other: Feedbacks
programming_group:
one: Programmierpaar
other: Programmierpaare
@ -990,29 +987,6 @@ de:
previous_label: '← Vorherige Seite'
file_template:
no_template_label: "Leere Datei"
pair_programming_exercise_feedback:
difficulty_easy: "Die Aufgabe war viel zu einfach."
difficulty_some_what_easy: "Die Aufgabe war etwas zu einfach."
difficulty_ok: "Die Aufgabenschwierigkeit war genau richtig."
difficulty_some_what_difficult: "Die Aufgabe war etwas zu schwierig."
difficult_too_difficult: "Die Aufgabe war viel zu schwierig."
difficulty: "Schwierigkeit der Aufgabe:"
description: "Vielen Dank für Deine Abgabe! Bevor du die Aufgabe beendest, würden wir uns freuen, wenn Du uns hier Feedback zur Aufgabe gibst."
estimated_time_less_5: "weniger als 5 Minuten"
estimated_time_5_to_10: "zwischen 5 und 10 Minuten"
estimated_time_10_to_20: "zwischen 10 und 20 Minuten"
estimated_time_20_to_30: "zwischen 20 und 30 Minuten"
estimated_time_more_30: "mehr als 30 Minuten"
working_time: "Geschätze Bearbeitungszeit für diese Aufgabe:"
reason_no_partner: Ich habe keine:n Team-Partner:in gefunden.
reason_to_difficult_to_find_partner: Es war zu schwierig/aufwändig, eine:n Team Partner:in zu finden.
reason_faster_alone: Es ging schneller alleine zu arbeiten.
reason_not_working_with_strangers: Ich möchte nicht mit <i>fremden</i> Personen zusammenarbeiten.
reason_want_to_work_alone: Ich arbeite lieber alleine.
reason_accidentally_alone: Ich habe versehentlich alleine an dieser Aufgabe gearbeitet.
reason_other: <i>Sonstiges</i>
reason_work_alone: Warum hast Du Dich dafür entschieden die Aufgabe alleine zu lösen?
no_feedback: "Es wurde noch kein Feedback zu dieser Aufgabe gegeben."
user_exercise_feedback:
difficulty_easy: "Die Aufgabe war zu einfach"
difficulty_some_what_easy: "Die Aufgabe war etwas zu einfach"

View File

@ -230,9 +230,6 @@ en:
internal_user:
one: Internal User
other: Internal Users
pair_programming_exercise_feedback:
one: Feedback
other: Feedbacks
programming_group:
one: Programming Pair
other: Programming Pairs
@ -990,29 +987,6 @@ en:
previous_label: '&#8592; Previous Page'
file_template:
no_template_label: "Empty File"
pair_programming_exercise_feedback:
difficulty_easy: "The exercise was far too easy."
difficulty_some_what_easy: "The exercise was a bit too easy."
difficulty_ok: "The exercise difficulty was just right."
difficulty_some_what_difficult: "The exercise was a bit too difficult."
difficult_too_difficult: "The exercise was far too difficult."
difficulty: "Difficulty of the exercise:"
description: "Thank you for your submission! Before you finish the task, we kindly ask you for feedback for this exercise."
estimated_time_less_5: "less than 5 minutes"
estimated_time_5_to_10: "between 5 and 10 minutes"
estimated_time_10_to_20: "between 10 and 20 minutes"
estimated_time_20_to_30: "between 20 and 30 minutes"
estimated_time_more_30: "more than 30 minutes"
working_time: "Estimated time working on this exercise:"
reason_no_partner: I have not found a team partner.
reason_to_difficult_to_find_partner: It was too difficult to find a team partner.
reason_faster_alone: It was faster to work alone.
reason_not_working_with_strangers: I do not want to work with <i>strangers</i>.
reason_want_to_work_alone: I prefer to work alone.
reason_accidentally_alone: I accidentally worked alone on this exercise.
reason_other: <i>Other</i>
reason_work_alone: Why did you decide to solve this exercise alone?
no_feedback: "There is no feedback for this exercise yet."
user_exercise_feedback:
difficulty_easy: "the exercise was too easy"
difficulty_some_what_easy: "the exercise was somewhat easy"

View File

@ -119,8 +119,6 @@ Rails.application.routes.draw do
resources :user_exercise_feedbacks, except: %i[show index]
resources :pair_programming_exercise_feedbacks, only: %i[new create]
resources :external_users, only: %i[index show], concerns: :statistics do
resources :exercises do
get :statistics, to: 'exercises#external_user_statistics', on: :member