From 6df8f7481b328924a199cffb3e2f31d1d5b502e5 Mon Sep 17 00:00:00 2001 From: JohannaPeanut <76495099+JohannaPeanut@users.noreply.github.com> Date: Mon, 6 Nov 2023 16:09:30 +0100 Subject: [PATCH 1/3] Bugfix: Show all response texts in EditableSurveyResponseListItem.tsx --- .../EditableSurveyResponseListItem.tsx | 29 ++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/survey-responses/components/feedback/EditableSurveyResponseListItem.tsx b/src/survey-responses/components/feedback/EditableSurveyResponseListItem.tsx index bf13dc7a1..9edfa1706 100644 --- a/src/survey-responses/components/feedback/EditableSurveyResponseListItem.tsx +++ b/src/survey-responses/components/feedback/EditableSurveyResponseListItem.tsx @@ -11,6 +11,7 @@ import getSurveyResponseTopicsByProject from "src/survey-response-topics/queries import getFeedbackSurveyResponses from "src/survey-responses/queries/getFeedbackSurveyResponses" import { getSurveyResponseCategoryById } from "src/survey-responses/utils/getSurveyResponseCategoryById" import { EditableSurveyResponseForm } from "./EditableSurveyResponseForm" +import feedbackDefinition from "src/participation/data/feedback.json" export type EditableSurveyResponseListItemProps = { response: Prettify>[number]> @@ -45,6 +46,12 @@ const EditableSurveyResponseListItem: React.FC
-
- -
{`Bürgerbeitrag vom: ${response.surveySession.createdAt.toLocaleDateString()} um ${response.surveySession.createdAt.toLocaleTimeString()}`}
-
+
+
+

+ {/* @ts-expect-error `data` is of type unkown */} + {response.data["34"] + ? "Was gefällt Ihnen hier besonders?" + : "Was wünschen Sie sich?"} +

+ +
+ {userAdditionalText && ( +
+

Was wünschen Sie sich?

+ +
+ )} +
{`Bürgerbeitrag vom: ${response.surveySession.createdAt.toLocaleDateString()} um ${response.surveySession.createdAt.toLocaleTimeString()}`}
+

Kategorie

From 2b0fe3a9ed1d4560011d1b52e6a4921e290aacbd Mon Sep 17 00:00:00 2001 From: Boris Hekele <474596+hekele@users.noreply.github.com> Date: Mon, 6 Nov 2023 23:58:58 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc05f04ae..82ad166c6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@


-

Trassenscout (Alpha)

+

Trassenscout (beta)

-> Trassenscout (Alpha) supports administrations in the process of evaluating and building cycle highways and other route based infrastructure. +> Trassenscout (beta) supports administrations in the process of evaluating and building cycle highways and other route based infrastructure. > > Please contact hello@fixmycity.de to learn more. From 7f27023eaebeb464e8e5539c5c3b8cf4411773ea Mon Sep 17 00:00:00 2001 From: Boris Hekele <474596+hekele@users.noreply.github.com> Date: Tue, 7 Nov 2023 00:00:08 +0100 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82ad166c6..6d7eddac4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@

Trassenscout (beta)

-> Trassenscout (beta) supports administrations in the process of evaluating and building cycle highways and other route based infrastructure. +> Trassenscout (beta) supports administrations in the process of evaluating and building cycle highways and in perspective other route based infrastructure. > > Please contact hello@fixmycity.de to learn more.