diff --git a/frontend/app/components/UsabilityTesting/SidePanel.tsx b/frontend/app/components/UsabilityTesting/SidePanel.tsx
index 5b3715fda..9ebc8bc75 100644
--- a/frontend/app/components/UsabilityTesting/SidePanel.tsx
+++ b/frontend/app/components/UsabilityTesting/SidePanel.tsx
@@ -30,6 +30,11 @@ const SidePanel = observer(({ onSave, onPreview, taskLen }: any) => {
unCheckedChildren="No"
/>
+
+ If required, enable camera and mic access to observe participants' facial expressions and
+ verbal feedback in real-time, providing deeper insights into their user experience during
+ the test.
+
diff --git a/frontend/app/components/UsabilityTesting/StepsModal.tsx b/frontend/app/components/UsabilityTesting/StepsModal.tsx
index 8f20b772c..beab8b7c1 100644
--- a/frontend/app/components/UsabilityTesting/StepsModal.tsx
+++ b/frontend/app/components/UsabilityTesting/StepsModal.tsx
@@ -2,10 +2,10 @@ import { UxTask } from "App/services/UxtestingService";
import React from 'react'
import { Button, Input, Switch, Typography } from 'antd'
-function StepsModal({ onAdd, onHide }: { onAdd: (step: UxTask) => void; onHide: () => void }) {
- const [title, setTitle] = React.useState('');
- const [description, setDescription] = React.useState('');
- const [isAnswerEnabled, setIsAnswerEnabled] = React.useState(false);
+function StepsModal({ onAdd, onHide, editTask }: { onAdd: (step: UxTask) => void; onHide: () => void, editTask?: UxTask }) {
+ const [title, setTitle] = React.useState(editTask?.title ?? '');
+ const [description, setDescription] = React.useState(editTask?.description ?? '');
+ const [isAnswerEnabled, setIsAnswerEnabled] = React.useState(editTask?.allowTyping ?? false);
const save = () => {
onAdd({
@@ -55,7 +55,7 @@ function StepsModal({ onAdd, onHide }: { onAdd: (step: UxTask) => void; onHide:
- Add
+ {editTask ? 'Save' : 'Add'}
Cancel
diff --git a/frontend/app/components/UsabilityTesting/TestEdit.tsx b/frontend/app/components/UsabilityTesting/TestEdit.tsx
index 5929be980..7ab2b0b19 100644
--- a/frontend/app/components/UsabilityTesting/TestEdit.tsx
+++ b/frontend/app/components/UsabilityTesting/TestEdit.tsx
@@ -231,7 +231,20 @@ function TestEdit() {
description={task.description}
buttons={
<>
- } />
+ } onClick={() => {
+ showModal(
+ {
+ const tasks = [...uxtestingStore.instance!.tasks];
+ tasks[index] = task;
+ uxtestingStore.instance!.setProperty('tasks', tasks);
+ }}
+ />,
+ { right: true, width: 600 }
+ )
+ }} />
{
uxtestingStore.instance!.setProperty(