@nualang/nualang-ui-components 0.1.1307 → 0.1.1308
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,6 +3,7 @@ import { Dialog, DialogContent, IconButton, Box, Typography, AppBar, Toolbar, Ci
|
|
|
3
3
|
import CloseIcon from "@mui/icons-material/Close";
|
|
4
4
|
import { red, orange, green, grey } from "@mui/material/colors";
|
|
5
5
|
import FeedbackCard from "../../Cards/FeedbackCard/FeedbackCard";
|
|
6
|
+
import NualaHeadphonesBackground from "../../img/NualaHeadphonesBackground.svg";
|
|
6
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
8
|
export default function GroupFeedbackDialog({
|
|
8
9
|
open = false,
|
|
@@ -23,7 +24,9 @@ export default function GroupFeedbackDialog({
|
|
|
23
24
|
},
|
|
24
25
|
conversation = {},
|
|
25
26
|
handleCreateFeedback = () => {},
|
|
26
|
-
onFeedbackSubmitted = () => {}
|
|
27
|
+
onFeedbackSubmitted = () => {},
|
|
28
|
+
editBackgroundImages,
|
|
29
|
+
editMeetingImages
|
|
27
30
|
}) {
|
|
28
31
|
const discussionsInGroup = scheduleListData.filter(item => item.groupedId === groupedId);
|
|
29
32
|
const submissionsForGroup = submissionsTableData.filter(item => item.groupedId === groupedId);
|
|
@@ -152,7 +155,27 @@ export default function GroupFeedbackDialog({
|
|
|
152
155
|
mb: 3,
|
|
153
156
|
gap: 4
|
|
154
157
|
},
|
|
155
|
-
children: [/*#__PURE__*/
|
|
158
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
159
|
+
sx: {
|
|
160
|
+
display: "flex",
|
|
161
|
+
flexDirection: "column",
|
|
162
|
+
alignItems: "center",
|
|
163
|
+
justifyContent: "center",
|
|
164
|
+
maxWidth: "25%"
|
|
165
|
+
},
|
|
166
|
+
children: /*#__PURE__*/_jsx("img", {
|
|
167
|
+
src: editMeetingImages || editBackgroundImages || NualaHeadphonesBackground,
|
|
168
|
+
alt: "Meeting Image",
|
|
169
|
+
style: {
|
|
170
|
+
width: "100%",
|
|
171
|
+
maxWidth: "300px",
|
|
172
|
+
height: "auto",
|
|
173
|
+
aspectRatio: "16 / 9",
|
|
174
|
+
objectFit: "cover",
|
|
175
|
+
borderRadius: "8px"
|
|
176
|
+
}
|
|
177
|
+
})
|
|
178
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
156
179
|
sx: {
|
|
157
180
|
flexBasis: "70%",
|
|
158
181
|
maxWidth: "70%"
|
|
@@ -196,6 +196,7 @@ const MeetingPromptsList = withStyles(({
|
|
|
196
196
|
component: "a",
|
|
197
197
|
onClick: () => {
|
|
198
198
|
setSelectedGroup(discussion);
|
|
199
|
+
setSelectedDiscussion(discussion);
|
|
199
200
|
setGroupedId(discussion?.groupedId);
|
|
200
201
|
openDialog();
|
|
201
202
|
},
|
|
@@ -388,7 +389,9 @@ const MeetingPromptsList = withStyles(({
|
|
|
388
389
|
playerRef: playerRef,
|
|
389
390
|
conversation: conversation,
|
|
390
391
|
handleCreateFeedback: handleCreateFeedback,
|
|
391
|
-
onFeedbackSubmitted: getRecordings
|
|
392
|
+
onFeedbackSubmitted: getRecordings,
|
|
393
|
+
editBackgroundImages: editBackgroundImages[0],
|
|
394
|
+
editMeetingImages: editMeetingImages[0]
|
|
392
395
|
}), /*#__PURE__*/_jsx(Dialog, {
|
|
393
396
|
role: "dialog",
|
|
394
397
|
open: isRecordingDialogOpen,
|