questionlayoutrefactoring 0.0.40 → 0.0.41
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const QuestionsLayout: any;
|
|
2
2
|
export default QuestionsLayout;
|
|
@@ -20,62 +20,175 @@ const style = {
|
|
|
20
20
|
marginLeft: { base: "14px", md: "14px", lg: "12px" },
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
// Memoized Assistant component to prevent re-renders
|
|
24
|
+
const MemoizedAssistant = (0, react_1.memo)(Assistant_1.default, (prevProps, nextProps) => {
|
|
25
|
+
return (prevProps.text === nextProps.text &&
|
|
26
|
+
prevProps.data === nextProps.data &&
|
|
27
|
+
prevProps.isQuestion === nextProps.isQuestion &&
|
|
28
|
+
prevProps.imagesList === nextProps.imagesList);
|
|
29
|
+
});
|
|
30
|
+
// Memoized AnswersLayout component
|
|
31
|
+
const MemoizedAnswersLayout = (0, react_1.memo)(AnswerLayouts_1.AnswersLayout, (prevProps, nextProps) => {
|
|
32
|
+
return (prevProps.question_type === nextProps.question_type &&
|
|
33
|
+
prevProps.userAnswer === nextProps.userAnswer &&
|
|
34
|
+
prevProps.onAnswerSubmitted === nextProps.onAnswerSubmitted &&
|
|
35
|
+
prevProps.isDontAllow === nextProps.isDontAllow &&
|
|
36
|
+
prevProps.isStudent === nextProps.isStudent &&
|
|
37
|
+
prevProps.passphrase === nextProps.passphrase &&
|
|
38
|
+
JSON.stringify(prevProps.options) === JSON.stringify(nextProps.options));
|
|
39
|
+
});
|
|
40
|
+
exports.QuestionsLayout = (0, react_1.memo)((props = {}) => {
|
|
24
41
|
const { questionObject, userAnswer, onAnswerChanged, isDontAllow, allowToCopy, taskType, isAnswerSubmitted, displayedQues, isComprehension, isOpen, isUser, questionLayoutStyles, presenterLogic, commonProps, passphrase, isStudent, } = props;
|
|
25
|
-
console.log("hi A");
|
|
26
42
|
const showToast = (0, useCustomToast_1.useCustomToast)();
|
|
27
43
|
const styles = commonProps?.questionLayoutStyle;
|
|
28
|
-
|
|
29
|
-
const [
|
|
44
|
+
// Use local state only for processed question data
|
|
45
|
+
const [processedQuestion, setProcessedQuestion] = (0, react_2.useState)(null);
|
|
46
|
+
// Memoize processed question to avoid recreating on every render
|
|
47
|
+
const memoizedProcessedQuestion = (0, react_1.useMemo)(() => {
|
|
48
|
+
if (!questionObject)
|
|
49
|
+
return null;
|
|
50
|
+
const questionObjCopy = { ...questionObject };
|
|
51
|
+
const optionLayouts = questionObjCopy?.options_layout?.map((item) => (0, common_utils_1.handleRemoveExtraSpaceInBubbles)(item));
|
|
52
|
+
return {
|
|
53
|
+
...questionObjCopy,
|
|
54
|
+
modified_options_layout: optionLayouts,
|
|
55
|
+
};
|
|
56
|
+
}, [questionObject]);
|
|
57
|
+
// Only update state when memoized value actually changes
|
|
30
58
|
(0, react_2.useEffect)(() => {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
setCurrentQuestion(quesObj);
|
|
38
|
-
}, [props.questionObject]);
|
|
39
|
-
const onSend = (item) => {
|
|
59
|
+
setProcessedQuestion(memoizedProcessedQuestion);
|
|
60
|
+
}, [memoizedProcessedQuestion]);
|
|
61
|
+
// Memoize the current question to prevent unnecessary recalculations
|
|
62
|
+
const currentQuestion = (0, react_1.useMemo)(() => processedQuestion || {}, [processedQuestion]);
|
|
63
|
+
// Stable callback - memoized with proper dependencies
|
|
64
|
+
const handleOnSend = (0, react_1.useCallback)((item) => {
|
|
40
65
|
if (props?.isComprehension) {
|
|
41
66
|
props?.setSelectedAnswer(item?.answer, item?.hashedIndexAnswer, item?.selectedIndex);
|
|
42
67
|
}
|
|
43
68
|
if (!props?.isComprehension) {
|
|
44
69
|
onAnswerChanged(item?.answer, currentQuestion, item?.hashedIndexAnswer, item?.selectedIndex, isComprehension, "");
|
|
45
70
|
}
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
|
|
71
|
+
}, [onAnswerChanged, currentQuestion, isComprehension, props]);
|
|
72
|
+
const hasNoOptions = currentQuestion?.options_layout?.length === 0 ||
|
|
73
|
+
!currentQuestion?.options_layout;
|
|
74
|
+
// Memoize Assistant props to prevent recreation
|
|
75
|
+
const assistantProps = (0, react_1.useMemo)(() => ({
|
|
76
|
+
"data-testid": "dialog-entry-assistant",
|
|
77
|
+
text: "",
|
|
78
|
+
assistantImg: commonProps?.icons?.AssistantImg,
|
|
79
|
+
isCopy: false,
|
|
80
|
+
isDialogScript: true,
|
|
81
|
+
scriptData: props?.learningStepData?.dialog_entry_script?.content,
|
|
82
|
+
}), [
|
|
83
|
+
commonProps?.icons?.AssistantImg,
|
|
84
|
+
props?.learningStepData?.dialog_entry_script?.content,
|
|
85
|
+
]);
|
|
86
|
+
// Memoize question display props
|
|
87
|
+
const questionDisplayProps = (0, react_1.useMemo)(() => ({
|
|
88
|
+
"data-testid": "question-assistant",
|
|
89
|
+
text: currentQuestion?.question_layout || "",
|
|
90
|
+
isUser: isUser || false,
|
|
91
|
+
handleCopy: allowToCopy
|
|
92
|
+
? () => {
|
|
93
|
+
(0, TutorConstants_1.handleCopyClick)(questionObject?.uuid);
|
|
94
|
+
showToast({
|
|
95
|
+
description: "Question ID copied to clipboard",
|
|
96
|
+
duration: 1000,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
: undefined,
|
|
100
|
+
assistantStyle: commonProps?.assistantStyle,
|
|
101
|
+
questionType: currentQuestion?.question_type,
|
|
102
|
+
isQuestion: true,
|
|
103
|
+
imagesList: currentQuestion?.images_details,
|
|
104
|
+
hideVin: isComprehension ? true : false,
|
|
105
|
+
isComprehension: props?.isComprehension,
|
|
106
|
+
fromStudent: true,
|
|
107
|
+
assistantImg: commonProps?.icons?.AssistantImg,
|
|
108
|
+
isDialogScript: false,
|
|
109
|
+
}), [
|
|
110
|
+
currentQuestion?.question_layout,
|
|
111
|
+
currentQuestion?.question_type,
|
|
112
|
+
currentQuestion?.images_details,
|
|
113
|
+
isUser,
|
|
114
|
+
isComprehension,
|
|
115
|
+
allowToCopy,
|
|
116
|
+
questionObject?.uuid,
|
|
117
|
+
commonProps?.assistantStyle,
|
|
118
|
+
commonProps?.icons?.AssistantImg,
|
|
119
|
+
props?.isComprehension,
|
|
120
|
+
showToast,
|
|
121
|
+
]);
|
|
122
|
+
// Memoize answers layout props
|
|
123
|
+
const answersLayoutProps = (0, react_1.useMemo)(() => ({
|
|
124
|
+
"data-testid": "answers-layout",
|
|
125
|
+
displayedQues: displayedQues,
|
|
126
|
+
userAnswer: userAnswer,
|
|
127
|
+
question_type: currentQuestion?.question_type,
|
|
128
|
+
question_id: (0, Helper_1.getQuestionID)(currentQuestion),
|
|
129
|
+
options: currentQuestion?.options_layout,
|
|
130
|
+
modifiedOptions: currentQuestion?.modified_options_layout,
|
|
131
|
+
answers: (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_index_hashed_keys)
|
|
132
|
+
? currentQuestion?.answers_index_hashed_keys
|
|
133
|
+
: (0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.answers_key)
|
|
134
|
+
? currentQuestion?.answers_key
|
|
135
|
+
: currentQuestion?.answers_layout,
|
|
136
|
+
question: currentQuestion?.question,
|
|
137
|
+
option_image_details: currentQuestion?.option_image_details,
|
|
138
|
+
commonProps: commonProps,
|
|
139
|
+
isDisabled: false,
|
|
140
|
+
images_details: currentQuestion?.images_details,
|
|
141
|
+
onSend: handleOnSend,
|
|
142
|
+
onAnswerSubmitted: isAnswerSubmitted,
|
|
143
|
+
isDontAllow: isDontAllow || false,
|
|
144
|
+
allowToCopy: allowToCopy || false,
|
|
145
|
+
currentQuestion: currentQuestion,
|
|
146
|
+
taskType: taskType,
|
|
147
|
+
isComprehension: isComprehension,
|
|
148
|
+
isStudent: isStudent,
|
|
149
|
+
passphrase: passphrase,
|
|
150
|
+
}), [
|
|
151
|
+
displayedQues,
|
|
152
|
+
userAnswer,
|
|
153
|
+
currentQuestion,
|
|
154
|
+
handleOnSend,
|
|
155
|
+
isAnswerSubmitted,
|
|
156
|
+
isDontAllow,
|
|
157
|
+
allowToCopy,
|
|
158
|
+
taskType,
|
|
159
|
+
isComprehension,
|
|
160
|
+
commonProps,
|
|
161
|
+
isStudent,
|
|
162
|
+
passphrase,
|
|
163
|
+
]);
|
|
164
|
+
console.log("hi");
|
|
49
165
|
return ((0, jsx_runtime_1.jsx)(react_1.Box, { id: "question-factual-component", children: (0, jsx_runtime_1.jsxs)(react_1.Box, { id: "question-content-container", children: [!props?.isFactual &&
|
|
50
166
|
props?.learningStepData &&
|
|
51
167
|
props?.learningStepData.dialog_entry_script &&
|
|
52
|
-
props?.learningStepData.dialog_entry_script?.content && ((0, jsx_runtime_1.jsx)(
|
|
53
|
-
currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib && ((0, jsx_runtime_1.jsx)(react_1.Box, { marginBottom: hasNoOptions ? "0px" : "20px", id: "question-display-container", children: (0, jsx_runtime_1.jsx)(
|
|
54
|
-
? currentQuestion?.question_layout
|
|
55
|
-
: "", isUser: isUser || false, handleCopy: allowToCopy
|
|
56
|
-
? () => {
|
|
57
|
-
(0, TutorConstants_1.handleCopyClick)(questionObject?.uuid);
|
|
58
|
-
showToast({
|
|
59
|
-
description: "Question ID copied to clipboard",
|
|
60
|
-
duration: 1000,
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
: undefined, assistantStyle: commonProps?.assistantStyle, questionType: currentQuestion?.question_type, isQuestion: true, imagesList: currentQuestion?.images_details, hideVin: isComprehension ? true : false, isComprehension: props?.isComprehension, fromStudent: true, assistantImg: commonProps?.icons?.AssistantImg, isDialogScript: false }) })), (0, jsx_runtime_1.jsx)(react_1.Box, { id: "options-container", className: `${currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib
|
|
168
|
+
props?.learningStepData.dialog_entry_script?.content && ((0, jsx_runtime_1.jsx)(MemoizedAssistant, { ...assistantProps })), (0, jsx_runtime_1.jsxs)(react_1.Box, { className: isComprehension && Question_styles_1.styles?.contentColumn, children: [(0, common_utils_1.isNotEmptyOrNull)(currentQuestion?.question_type) &&
|
|
169
|
+
currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib && ((0, jsx_runtime_1.jsx)(react_1.Box, { marginBottom: hasNoOptions ? "0px" : "20px", id: "question-display-container", children: (0, jsx_runtime_1.jsx)(MemoizedAssistant, { ...questionDisplayProps }) })), (0, jsx_runtime_1.jsx)(react_1.Box, { id: "options-container", className: `${currentQuestion?.question_type !== LearningPathUtils_1.questionTypes.fib
|
|
64
170
|
? Question_styles_1.styles?.optionsContainer ||
|
|
65
171
|
"optionsContainer"
|
|
66
172
|
: Question_styles_1.styles?.optionsContainerForFIB ||
|
|
67
173
|
"optionsContainerForFIB"}
|
|
68
|
-
|
|
174
|
+
${isComprehension &&
|
|
69
175
|
(Question_styles_1.styles?.comprehensionOptionContainer ||
|
|
70
176
|
"comprehensionOptionContainer")}
|
|
71
|
-
|
|
177
|
+
`, children: (0, jsx_runtime_1.jsx)(react_1.Box, { sx: !isComprehension &&
|
|
72
178
|
questionLayoutStyles &&
|
|
73
|
-
style.answerLayoutContainer, children: (!isComprehension || isOpen) && ((0, jsx_runtime_1.jsx)(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
179
|
+
style.answerLayoutContainer, children: (!isComprehension || isOpen) && ((0, jsx_runtime_1.jsx)(MemoizedAnswersLayout, { ...answersLayoutProps })) }) })] })] }) }));
|
|
180
|
+
}, (prevProps, nextProps) => {
|
|
181
|
+
// Custom comparison for memo
|
|
182
|
+
return (prevProps.questionObject === nextProps.questionObject &&
|
|
183
|
+
prevProps.userAnswer === nextProps.userAnswer &&
|
|
184
|
+
prevProps.isAnswerSubmitted === nextProps.isAnswerSubmitted &&
|
|
185
|
+
prevProps.taskType === nextProps.taskType &&
|
|
186
|
+
prevProps.isDontAllow === nextProps.isDontAllow &&
|
|
187
|
+
prevProps.isComprehension === nextProps.isComprehension &&
|
|
188
|
+
prevProps.displayedQues === nextProps.displayedQues &&
|
|
189
|
+
prevProps.isOpen === nextProps.isOpen &&
|
|
190
|
+
prevProps.commonProps === nextProps.commonProps);
|
|
191
|
+
});
|
|
192
|
+
exports.QuestionsLayout.displayName = "QuestionsLayout";
|
|
80
193
|
exports.default = exports.QuestionsLayout;
|
|
81
194
|
//# sourceMappingURL=QuestionsLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionsLayout.js","sourceRoot":"","sources":["../../../../src/components/Molecules/questionLayouts/QuestionsLayout.js"],"names":[],"mappings":";;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QuestionsLayout.js","sourceRoot":"","sources":["../../../../src/components/Molecules/questionLayouts/QuestionsLayout.js"],"names":[],"mappings":";;;;;;;AAAA,4CAAmE;AACnE,iCAA4C;AAC5C,wEAAiE;AACjE,mDAAgD;AAChD,6EAAqD;AACrD,kDAAsD;AACtD,8DAIqC;AACrC,kEAAgE;AAChE,+DAA4D;AAC5D,uDAAsE;AAEtE,MAAM,KAAK,GAAG;IACZ,qBAAqB,EAAE;QACrB,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE;KACrD;CACF,CAAC;AAEF,qDAAqD;AACrD,MAAM,iBAAiB,GAAG,IAAA,YAAI,EAAC,mBAAS,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,EAAE;IACjE,OAAO,CACL,SAAS,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI;QACjC,SAAS,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI;QACjC,SAAS,CAAC,UAAU,KAAK,SAAS,CAAC,UAAU;QAC7C,SAAS,CAAC,UAAU,KAAK,SAAS,CAAC,UAAU,CAC9C,CAAC;AACJ,CAAC,CAAC,C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