Skip to content

Commit

Permalink
Merge pull request #1893 from DSD-DBS/encourage-actionable-feedback
Browse files Browse the repository at this point in the history
feat: Update feedback dialog to encourage actionable feedback
  • Loading branch information
MoritzWeber0 authored Oct 10, 2024
2 parents 40624ce + 131765e commit 874a04f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ <h1 class="text-lg font-semibold">
formControlName="feedbackText"
data-testid="feedback-text"
></textarea>
<mat-hint>Try to be as specific as possible.</mat-hint>
<mat-hint
>Try to be specific. What happened? What were you doing?</mat-hint
>
</mat-form-field>
}

<mat-checkbox formControlName="shareContact">
<span data-testid="share-user-information"> Share user information </span>
<span data-testid="share-user-information">
Let us reach out if we need more details
</span>
</mat-checkbox>

<div class="ml-2 flex max-w-80 flex-col gap-2 text-xs text-gray-500">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class FeedbackDialogComponent {
Validators.required,
),
feedbackText: new FormControl<string>(''),
shareContact: new FormControl<boolean>(false),
shareContact: new FormControl<boolean>(true),
});

constructor(
Expand Down

0 comments on commit 874a04f

Please sign in to comment.