@nualang/nualang-ui-components 0.1.1307 → 0.1.1309
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.
- package/dist/Cards/RecordingCard/RecordingCard.js +2 -0
- package/dist/Cards/ScheduleCard/ScheduleCard.js +1 -0
- package/dist/Dialogs/GroupedFeedbackDialog/GroupedFeedbackDialog.js +25 -2
- package/dist/Screens/Classrooms/ViewClassroom/ViewClassroom.js +23 -18
- package/dist/Tables/MeetingPrompstList/MeetingPromptsList.js +4 -1
- package/package.json +1 -1
|
@@ -115,6 +115,7 @@ export default function RecordingCard({
|
|
|
115
115
|
},
|
|
116
116
|
children: [/*#__PURE__*/_jsx(AvatarGroup, {
|
|
117
117
|
max: 4,
|
|
118
|
+
spacing: -3,
|
|
118
119
|
sx: {
|
|
119
120
|
display: "flex",
|
|
120
121
|
"& .MuiAvatar-root": {
|
|
@@ -132,6 +133,7 @@ export default function RecordingCard({
|
|
|
132
133
|
}, attendee?.memberId))
|
|
133
134
|
}), notAttendedMembers.length > 0 && /*#__PURE__*/_jsx(AvatarGroup, {
|
|
134
135
|
max: 4,
|
|
136
|
+
spacing: -3,
|
|
135
137
|
sx: {
|
|
136
138
|
display: "flex",
|
|
137
139
|
ml: 2,
|
|
@@ -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%"
|
|
@@ -991,26 +991,31 @@ function Classroom({
|
|
|
991
991
|
pt: "8px",
|
|
992
992
|
children: [/*#__PURE__*/_jsx("div", {
|
|
993
993
|
className: classes.grow
|
|
994
|
-
}), /*#__PURE__*/
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
994
|
+
}), /*#__PURE__*/_jsxs(Box, {
|
|
995
|
+
sx: {
|
|
996
|
+
display: "flex",
|
|
997
|
+
alignItems: "center",
|
|
998
|
+
justifyContent: "space-between",
|
|
999
|
+
mb: 2
|
|
1000
|
+
},
|
|
1001
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
|
1002
|
+
variant: "headline",
|
|
1003
|
+
color: "inherit",
|
|
1004
|
+
fontSize: 24,
|
|
1005
|
+
children: t("discussions")
|
|
1006
|
+
}), /*#__PURE__*/_jsx(Tooltip, {
|
|
1007
|
+
title: t("refresh_discuss"),
|
|
1008
|
+
placement: "left",
|
|
1009
|
+
children: /*#__PURE__*/_jsx(IconButton, {
|
|
1003
1010
|
size: "large",
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
children: /*#__PURE__*/_jsx(Refresh, {
|
|
1011
|
-
fontSize: "inherit"
|
|
1011
|
+
"aria-label": "Refresh",
|
|
1012
|
+
onClick: refetchData,
|
|
1013
|
+
id: "discussRefreshScheduled",
|
|
1014
|
+
children: /*#__PURE__*/_jsx(Refresh, {
|
|
1015
|
+
fontSize: "inherit"
|
|
1016
|
+
})
|
|
1012
1017
|
})
|
|
1013
|
-
})
|
|
1018
|
+
})]
|
|
1014
1019
|
}), /*#__PURE__*/_jsx(_Fragment, {
|
|
1015
1020
|
children: isCreator && createdDiscussions?.length > 0 && /*#__PURE__*/_jsx("div", {
|
|
1016
1021
|
id: "discussGroupedDiscussions",
|
|
@@ -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,
|