@magmamath/students-features 1.2.2-rc.5 → 1.3.0

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.
Files changed (443) hide show
  1. package/dist/commonjs/features/chatbot/components/Chat/Chat.js +0 -2
  2. package/dist/commonjs/features/chatbot/components/Chat/Chat.js.map +1 -1
  3. package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js +0 -2
  4. package/dist/commonjs/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
  5. package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js +0 -2
  6. package/dist/commonjs/features/chatbot/components/Chat/CloseButton.js.map +1 -1
  7. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js +0 -2
  8. package/dist/commonjs/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  9. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
  10. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
  11. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
  12. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  13. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
  14. package/dist/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
  15. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
  16. package/dist/commonjs/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  17. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
  18. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  19. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
  20. package/dist/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  21. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
  22. package/dist/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  23. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
  24. package/dist/commonjs/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  25. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
  26. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  27. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -0
  28. package/dist/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  29. package/dist/commonjs/features/chatbot/helpers.js +3 -0
  30. package/dist/commonjs/features/chatbot/helpers.js.map +1 -1
  31. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js +40 -8
  32. package/dist/commonjs/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  33. package/dist/commonjs/features/chatbot/model/ThreadItem.js +51 -13
  34. package/dist/commonjs/features/chatbot/model/ThreadItem.js.map +1 -1
  35. package/dist/commonjs/features/chatbot/types/model.types.js.map +1 -1
  36. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
  37. package/dist/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
  38. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
  39. package/dist/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  40. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
  41. package/dist/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
  42. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
  43. package/dist/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  44. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
  45. package/dist/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  46. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js +1 -4
  47. package/dist/commonjs/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  48. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
  49. package/dist/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  50. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js +0 -2
  51. package/dist/commonjs/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
  52. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
  53. package/dist/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  54. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
  55. package/dist/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  56. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js +0 -2
  57. package/dist/commonjs/features/exampleSolution/components/QuestionSection.js.map +1 -1
  58. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js +0 -2
  59. package/dist/commonjs/features/exampleSolution/components/SolutionSection.js.map +1 -1
  60. package/dist/commonjs/features/feedback/components/EmptyComment.js +0 -2
  61. package/dist/commonjs/features/feedback/components/EmptyComment.js.map +1 -1
  62. package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js +0 -2
  63. package/dist/commonjs/features/feedback/components/ListCardCommentsCount.js.map +1 -1
  64. package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js +0 -3
  65. package/dist/commonjs/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
  66. package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
  67. package/dist/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
  68. package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js +0 -2
  69. package/dist/commonjs/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
  70. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js +0 -2
  71. package/dist/commonjs/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  72. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js +0 -2
  73. package/dist/commonjs/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  74. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +0 -2
  75. package/dist/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  76. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
  77. package/dist/commonjs/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  78. package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
  79. package/dist/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
  80. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js +11 -15
  81. package/dist/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
  82. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
  83. package/dist/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  84. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
  85. package/dist/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  86. package/dist/commonjs/features/keyboard/components/Keyboard.js +0 -2
  87. package/dist/commonjs/features/keyboard/components/Keyboard.js.map +1 -1
  88. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js +0 -2
  89. package/dist/commonjs/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  90. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js +0 -2
  91. package/dist/commonjs/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  92. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
  93. package/dist/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  94. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
  95. package/dist/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  96. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
  97. package/dist/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
  98. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
  99. package/dist/commonjs/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
  100. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js +0 -2
  101. package/dist/commonjs/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  102. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js +0 -2
  103. package/dist/commonjs/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  104. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
  105. package/dist/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
  106. package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js +0 -2
  107. package/dist/commonjs/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
  108. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js +1 -5
  109. package/dist/commonjs/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  110. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
  111. package/dist/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  112. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
  113. package/dist/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  114. package/dist/commonjs/index.js +0 -8
  115. package/dist/commonjs/index.js.map +1 -1
  116. package/dist/commonjs/shared/components/PlayButton.js.map +1 -1
  117. package/dist/module/features/chatbot/components/Chat/Chat.js +0 -2
  118. package/dist/module/features/chatbot/components/Chat/Chat.js.map +1 -1
  119. package/dist/module/features/chatbot/components/Chat/ChatIcon.js +0 -2
  120. package/dist/module/features/chatbot/components/Chat/ChatIcon.js.map +1 -1
  121. package/dist/module/features/chatbot/components/Chat/CloseButton.js +0 -2
  122. package/dist/module/features/chatbot/components/Chat/CloseButton.js.map +1 -1
  123. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js +0 -2
  124. package/dist/module/features/chatbot/components/ChatControls/ChatControls.js.map +1 -1
  125. package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js +1 -3
  126. package/dist/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.js.map +1 -1
  127. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js +0 -2
  128. package/dist/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.js.map +1 -1
  129. package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js +0 -2
  130. package/dist/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.js.map +1 -1
  131. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js +0 -2
  132. package/dist/module/features/chatbot/components/ChatInput/RequestHintButton.js.map +1 -1
  133. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js +0 -2
  134. package/dist/module/features/chatbot/components/ChatMessage/MessageLoader.js.map +1 -1
  135. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js +1 -3
  136. package/dist/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.js.map +1 -1
  137. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js +0 -2
  138. package/dist/module/features/chatbot/components/ChatMessage/ReceivedMessage.js.map +1 -1
  139. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js +0 -2
  140. package/dist/module/features/chatbot/components/ChatMessage/SentMessage.js.map +1 -1
  141. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js +0 -2
  142. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingButton.js.map +1 -1
  143. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js +1 -0
  144. package/dist/module/features/chatbot/errorSpotting/ErrorSpottingModel.js.map +1 -1
  145. package/dist/module/features/chatbot/helpers.js +3 -0
  146. package/dist/module/features/chatbot/helpers.js.map +1 -1
  147. package/dist/module/features/chatbot/model/ChatBotThreadManager.js +40 -8
  148. package/dist/module/features/chatbot/model/ChatBotThreadManager.js.map +1 -1
  149. package/dist/module/features/chatbot/model/ThreadItem.js +51 -13
  150. package/dist/module/features/chatbot/model/ThreadItem.js.map +1 -1
  151. package/dist/module/features/chatbot/types/model.types.js.map +1 -1
  152. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js +0 -3
  153. package/dist/module/features/endOfAssignment/components/CheatDetected/CheatDetected.js.map +1 -1
  154. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js +0 -2
  155. package/dist/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.js.map +1 -1
  156. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js +0 -3
  157. package/dist/module/features/endOfAssignment/components/ExamLeave/ExamLeave.js.map +1 -1
  158. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js +0 -3
  159. package/dist/module/features/endOfAssignment/components/ExamPaused/ExamPaused.js.map +1 -1
  160. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js +0 -3
  161. package/dist/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.js.map +1 -1
  162. package/dist/module/features/endOfAssignment/components/Modal/Modal.js +1 -4
  163. package/dist/module/features/endOfAssignment/components/Modal/Modal.js.map +1 -1
  164. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js +3 -9
  165. package/dist/module/features/endOfAssignment/components/NoAnswer/NoAnswer.js.map +1 -1
  166. package/dist/module/features/endOfAssignment/ui/PracticeButton.js +0 -2
  167. package/dist/module/features/endOfAssignment/ui/PracticeButton.js.map +1 -1
  168. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js +0 -2
  169. package/dist/module/features/endOfAssignment/ui/PracticeButtonGroup.js.map +1 -1
  170. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js +0 -2
  171. package/dist/module/features/exampleSolution/components/ExampleSolutionModalContent.js.map +1 -1
  172. package/dist/module/features/exampleSolution/components/QuestionSection.js +0 -2
  173. package/dist/module/features/exampleSolution/components/QuestionSection.js.map +1 -1
  174. package/dist/module/features/exampleSolution/components/SolutionSection.js +0 -2
  175. package/dist/module/features/exampleSolution/components/SolutionSection.js.map +1 -1
  176. package/dist/module/features/feedback/components/EmptyComment.js +0 -2
  177. package/dist/module/features/feedback/components/EmptyComment.js.map +1 -1
  178. package/dist/module/features/feedback/components/ListCardCommentsCount.js +0 -2
  179. package/dist/module/features/feedback/components/ListCardCommentsCount.js.map +1 -1
  180. package/dist/module/features/feedback/components/TeacherFeedbackButton.js +0 -3
  181. package/dist/module/features/feedback/components/TeacherFeedbackButton.js.map +1 -1
  182. package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js +0 -2
  183. package/dist/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.js.map +1 -1
  184. package/dist/module/features/feedback/components/UnreadMessagesBadge.js +0 -2
  185. package/dist/module/features/feedback/components/UnreadMessagesBadge.js.map +1 -1
  186. package/dist/module/features/formulaSheet/components/FormulaSheet.js +0 -2
  187. package/dist/module/features/formulaSheet/components/FormulaSheet.js.map +1 -1
  188. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js +0 -2
  189. package/dist/module/features/formulaSheet/components/FormulaSheetModal.js.map +1 -1
  190. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js +0 -2
  191. package/dist/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.js.map +1 -1
  192. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js +0 -2
  193. package/dist/module/features/keyboard/components/BasicLayout/BasicLayout.js.map +1 -1
  194. package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js +4 -9
  195. package/dist/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.js.map +1 -1
  196. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js +12 -16
  197. package/dist/module/features/keyboard/components/BasicLayout/TimeBasicLayout.js.map +1 -1
  198. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js +0 -2
  199. package/dist/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.js.map +1 -1
  200. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js +0 -2
  201. package/dist/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.js.map +1 -1
  202. package/dist/module/features/keyboard/components/Keyboard.js +0 -2
  203. package/dist/module/features/keyboard/components/Keyboard.js.map +1 -1
  204. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js +0 -2
  205. package/dist/module/features/keyboard/components/MainLayout/MainLayout.js.map +1 -1
  206. package/dist/module/features/keyboard/components/Numpad/Numpad.js +0 -2
  207. package/dist/module/features/keyboard/components/Numpad/Numpad.js.map +1 -1
  208. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js +4 -9
  209. package/dist/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.js.map +1 -1
  210. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js +0 -2
  211. package/dist/module/features/keyboard/components/UnitsLayout/UnitsLayout.js.map +1 -1
  212. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js +0 -2
  213. package/dist/module/features/openEnded/components/OpenEndedAttemptsLimit.js.map +1 -1
  214. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js +0 -2
  215. package/dist/module/features/openEnded/components/OpenEndedScoreLabel.js.map +1 -1
  216. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js +0 -2
  217. package/dist/module/features/problemSelector/components/ProblemSelectorButton.js.map +1 -1
  218. package/dist/module/features/voice/recording/components/VoiceRecordButton.js +0 -2
  219. package/dist/module/features/voice/recording/components/VoiceRecordButton.js.map +1 -1
  220. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js +0 -2
  221. package/dist/module/features/voice/recording/components/VoiceRecordDeleteButton.js.map +1 -1
  222. package/dist/module/features/voice/recording/components/VoiceRecordTimer.js +0 -2
  223. package/dist/module/features/voice/recording/components/VoiceRecordTimer.js.map +1 -1
  224. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js +1 -5
  225. package/dist/module/features/voice/recording/modal/ModalFooterButtons.js.map +1 -1
  226. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js +0 -4
  227. package/dist/module/features/voice/recording/modal/VoiceRecordDeleteModal.js.map +1 -1
  228. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js +0 -4
  229. package/dist/module/features/voice/recording/modal/VoiceRecordUndoModal.js.map +1 -1
  230. package/dist/module/index.js +0 -1
  231. package/dist/module/index.js.map +1 -1
  232. package/dist/module/shared/components/PlayButton.js.map +1 -1
  233. package/dist/typescript/commonjs/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  234. package/dist/typescript/commonjs/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
  235. package/dist/typescript/commonjs/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
  236. package/dist/typescript/commonjs/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  237. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
  238. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
  239. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
  240. package/dist/typescript/commonjs/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
  241. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  242. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  243. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  244. package/dist/typescript/commonjs/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  245. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
  246. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +2 -1
  247. package/dist/typescript/commonjs/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  248. package/dist/typescript/commonjs/features/chatbot/helpers.d.ts.map +1 -1
  249. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts +1 -0
  250. package/dist/typescript/commonjs/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  251. package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts +50 -12
  252. package/dist/typescript/commonjs/features/chatbot/model/ThreadItem.d.ts.map +1 -1
  253. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts +10 -2
  254. package/dist/typescript/commonjs/features/chatbot/types/api.types.d.ts.map +1 -1
  255. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts +5 -2
  256. package/dist/typescript/commonjs/features/chatbot/types/model.types.d.ts.map +1 -1
  257. package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts +22 -0
  258. package/dist/typescript/commonjs/features/chatbot/types/units.types.d.ts.map +1 -1
  259. package/dist/typescript/commonjs/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
  260. package/dist/typescript/commonjs/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  261. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
  262. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  263. package/dist/typescript/commonjs/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  264. package/dist/typescript/commonjs/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  265. package/dist/typescript/commonjs/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  266. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
  267. package/dist/typescript/commonjs/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  268. package/dist/typescript/commonjs/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  269. package/dist/typescript/commonjs/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
  270. package/dist/typescript/commonjs/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
  271. package/dist/typescript/commonjs/features/feedback/components/EmptyComment.d.ts.map +1 -1
  272. package/dist/typescript/commonjs/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
  273. package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
  274. package/dist/typescript/commonjs/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
  275. package/dist/typescript/commonjs/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
  276. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  277. package/dist/typescript/commonjs/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  278. package/dist/typescript/commonjs/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  279. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  280. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
  281. package/dist/typescript/commonjs/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
  282. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  283. package/dist/typescript/commonjs/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  284. package/dist/typescript/commonjs/features/keyboard/components/Keyboard.d.ts.map +1 -1
  285. package/dist/typescript/commonjs/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  286. package/dist/typescript/commonjs/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  287. package/dist/typescript/commonjs/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  288. package/dist/typescript/commonjs/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  289. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
  290. package/dist/typescript/commonjs/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
  291. package/dist/typescript/commonjs/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  292. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  293. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
  294. package/dist/typescript/commonjs/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
  295. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
  296. package/dist/typescript/commonjs/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  297. package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
  298. package/dist/typescript/commonjs/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
  299. package/dist/typescript/commonjs/index.d.ts +0 -1
  300. package/dist/typescript/commonjs/index.d.ts.map +1 -1
  301. package/dist/typescript/commonjs/shared/components/PlayButton.d.ts +0 -1
  302. package/dist/typescript/commonjs/shared/components/PlayButton.d.ts.map +1 -1
  303. package/dist/typescript/module/features/chatbot/components/Chat/Chat.d.ts.map +1 -1
  304. package/dist/typescript/module/features/chatbot/components/Chat/ChatIcon.d.ts.map +1 -1
  305. package/dist/typescript/module/features/chatbot/components/Chat/CloseButton.d.ts.map +1 -1
  306. package/dist/typescript/module/features/chatbot/components/ChatControls/ChatControls.d.ts.map +1 -1
  307. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/ChatTextInput.d.ts.map +1 -1
  308. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.d.ts.map +1 -1
  309. package/dist/typescript/module/features/chatbot/components/ChatInput/FreeText/SendMessageButton.d.ts.map +1 -1
  310. package/dist/typescript/module/features/chatbot/components/ChatInput/RequestHintButton.d.ts.map +1 -1
  311. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageLoader.d.ts.map +1 -1
  312. package/dist/typescript/module/features/chatbot/components/ChatMessage/MessageTextToSpeech.d.ts.map +1 -1
  313. package/dist/typescript/module/features/chatbot/components/ChatMessage/ReceivedMessage.d.ts.map +1 -1
  314. package/dist/typescript/module/features/chatbot/components/ChatMessage/SentMessage.d.ts.map +1 -1
  315. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingButton.d.ts.map +1 -1
  316. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts +2 -1
  317. package/dist/typescript/module/features/chatbot/errorSpotting/ErrorSpottingModel.d.ts.map +1 -1
  318. package/dist/typescript/module/features/chatbot/helpers.d.ts.map +1 -1
  319. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts +1 -0
  320. package/dist/typescript/module/features/chatbot/model/ChatBotThreadManager.d.ts.map +1 -1
  321. package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts +50 -12
  322. package/dist/typescript/module/features/chatbot/model/ThreadItem.d.ts.map +1 -1
  323. package/dist/typescript/module/features/chatbot/types/api.types.d.ts +10 -2
  324. package/dist/typescript/module/features/chatbot/types/api.types.d.ts.map +1 -1
  325. package/dist/typescript/module/features/chatbot/types/model.types.d.ts +5 -2
  326. package/dist/typescript/module/features/chatbot/types/model.types.d.ts.map +1 -1
  327. package/dist/typescript/module/features/chatbot/types/units.types.d.ts +22 -0
  328. package/dist/typescript/module/features/chatbot/types/units.types.d.ts.map +1 -1
  329. package/dist/typescript/module/features/endOfAssignment/components/CheatDetected/CheatDetected.d.ts.map +1 -1
  330. package/dist/typescript/module/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.d.ts.map +1 -1
  331. package/dist/typescript/module/features/endOfAssignment/components/ExamLeave/ExamLeave.d.ts.map +1 -1
  332. package/dist/typescript/module/features/endOfAssignment/components/ExamPaused/ExamPaused.d.ts.map +1 -1
  333. package/dist/typescript/module/features/endOfAssignment/components/ExamSubmit/ExamSubmit.d.ts.map +1 -1
  334. package/dist/typescript/module/features/endOfAssignment/components/Modal/Modal.d.ts.map +1 -1
  335. package/dist/typescript/module/features/endOfAssignment/components/NoAnswer/NoAnswer.d.ts.map +1 -1
  336. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButton.d.ts.map +1 -1
  337. package/dist/typescript/module/features/endOfAssignment/ui/PracticeButtonGroup.d.ts.map +1 -1
  338. package/dist/typescript/module/features/exampleSolution/components/ExampleSolutionModalContent.d.ts.map +1 -1
  339. package/dist/typescript/module/features/exampleSolution/components/QuestionSection.d.ts.map +1 -1
  340. package/dist/typescript/module/features/exampleSolution/components/SolutionSection.d.ts.map +1 -1
  341. package/dist/typescript/module/features/feedback/components/EmptyComment.d.ts.map +1 -1
  342. package/dist/typescript/module/features/feedback/components/ListCardCommentsCount.d.ts.map +1 -1
  343. package/dist/typescript/module/features/feedback/components/TeacherFeedbackButton.d.ts.map +1 -1
  344. package/dist/typescript/module/features/feedback/components/TeacherFeedbackComments/TeacherComment.d.ts.map +1 -1
  345. package/dist/typescript/module/features/feedback/components/UnreadMessagesBadge.d.ts.map +1 -1
  346. package/dist/typescript/module/features/formulaSheet/components/FormulaSheet.d.ts.map +1 -1
  347. package/dist/typescript/module/features/formulaSheet/components/FormulaSheetModal.d.ts.map +1 -1
  348. package/dist/typescript/module/features/keyboard/components/AlgebraLayout/AlgebraLayout.d.ts.map +1 -1
  349. package/dist/typescript/module/features/keyboard/components/BasicLayout/BasicLayout.d.ts.map +1 -1
  350. package/dist/typescript/module/features/keyboard/components/BasicLayout/CurrencyBasicLayout.d.ts.map +1 -1
  351. package/dist/typescript/module/features/keyboard/components/BasicLayout/TimeBasicLayout.d.ts.map +1 -1
  352. package/dist/typescript/module/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.d.ts.map +1 -1
  353. package/dist/typescript/module/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.d.ts.map +1 -1
  354. package/dist/typescript/module/features/keyboard/components/Keyboard.d.ts.map +1 -1
  355. package/dist/typescript/module/features/keyboard/components/MainLayout/MainLayout.d.ts.map +1 -1
  356. package/dist/typescript/module/features/keyboard/components/Numpad/Numpad.d.ts.map +1 -1
  357. package/dist/typescript/module/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.d.ts.map +1 -1
  358. package/dist/typescript/module/features/keyboard/components/UnitsLayout/UnitsLayout.d.ts.map +1 -1
  359. package/dist/typescript/module/features/openEnded/components/OpenEndedAttemptsLimit.d.ts.map +1 -1
  360. package/dist/typescript/module/features/openEnded/components/OpenEndedScoreLabel.d.ts.map +1 -1
  361. package/dist/typescript/module/features/problemSelector/components/ProblemSelectorButton.d.ts.map +1 -1
  362. package/dist/typescript/module/features/voice/recording/components/VoiceRecordButton.d.ts.map +1 -1
  363. package/dist/typescript/module/features/voice/recording/components/VoiceRecordDeleteButton.d.ts.map +1 -1
  364. package/dist/typescript/module/features/voice/recording/components/VoiceRecordTimer.d.ts.map +1 -1
  365. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts +1 -3
  366. package/dist/typescript/module/features/voice/recording/modal/ModalFooterButtons.d.ts.map +1 -1
  367. package/dist/typescript/module/features/voice/recording/modal/VoiceRecordDeleteModal.d.ts.map +1 -1
  368. package/dist/typescript/module/features/voice/recording/modal/VoiceRecordUndoModal.d.ts.map +1 -1
  369. package/dist/typescript/module/index.d.ts +0 -1
  370. package/dist/typescript/module/index.d.ts.map +1 -1
  371. package/dist/typescript/module/shared/components/PlayButton.d.ts +0 -1
  372. package/dist/typescript/module/shared/components/PlayButton.d.ts.map +1 -1
  373. package/package.json +1 -1
  374. package/src/features/chatbot/components/Chat/Chat.tsx +1 -2
  375. package/src/features/chatbot/components/Chat/ChatIcon.tsx +1 -2
  376. package/src/features/chatbot/components/Chat/CloseButton.tsx +0 -2
  377. package/src/features/chatbot/components/ChatControls/ChatControls.tsx +0 -2
  378. package/src/features/chatbot/components/ChatInput/FreeText/ChatTextInput.tsx +0 -2
  379. package/src/features/chatbot/components/ChatInput/FreeText/FreeTextInputBlock.tsx +1 -2
  380. package/src/features/chatbot/components/ChatInput/FreeText/SendMessageButton.tsx +0 -2
  381. package/src/features/chatbot/components/ChatInput/RequestHintButton.tsx +0 -2
  382. package/src/features/chatbot/components/ChatMessage/MessageLoader.tsx +2 -3
  383. package/src/features/chatbot/components/ChatMessage/MessageTextToSpeech.tsx +0 -2
  384. package/src/features/chatbot/components/ChatMessage/ReceivedMessage.tsx +1 -2
  385. package/src/features/chatbot/components/ChatMessage/SentMessage.tsx +0 -2
  386. package/src/features/chatbot/errorSpotting/ErrorSpottingButton.tsx +0 -2
  387. package/src/features/chatbot/errorSpotting/ErrorSpottingModel.ts +3 -1
  388. package/src/features/chatbot/helpers.ts +1 -0
  389. package/src/features/chatbot/model/ChatBotThreadManager.ts +44 -9
  390. package/src/features/chatbot/model/ThreadItem.ts +68 -19
  391. package/src/features/chatbot/types/api.types.ts +17 -2
  392. package/src/features/chatbot/types/model.types.ts +12 -2
  393. package/src/features/chatbot/types/units.types.ts +26 -0
  394. package/src/features/endOfAssignment/components/CheatDetected/CheatDetected.tsx +1 -3
  395. package/src/features/endOfAssignment/components/CorrectAnswer/CorrectAnswer.tsx +0 -2
  396. package/src/features/endOfAssignment/components/ExamLeave/ExamLeave.tsx +1 -3
  397. package/src/features/endOfAssignment/components/ExamPaused/ExamPaused.tsx +1 -3
  398. package/src/features/endOfAssignment/components/ExamSubmit/ExamSubmit.tsx +1 -3
  399. package/src/features/endOfAssignment/components/Modal/Modal.tsx +1 -6
  400. package/src/features/endOfAssignment/components/NoAnswer/NoAnswer.tsx +1 -6
  401. package/src/features/endOfAssignment/ui/PracticeButton.tsx +0 -2
  402. package/src/features/endOfAssignment/ui/PracticeButtonGroup.tsx +0 -2
  403. package/src/features/exampleSolution/components/ExampleSolutionModalContent.tsx +0 -2
  404. package/src/features/exampleSolution/components/QuestionSection.tsx +1 -2
  405. package/src/features/exampleSolution/components/SolutionSection.tsx +1 -5
  406. package/src/features/feedback/components/EmptyComment.tsx +1 -2
  407. package/src/features/feedback/components/ListCardCommentsCount.tsx +1 -2
  408. package/src/features/feedback/components/TeacherFeedbackButton.tsx +0 -3
  409. package/src/features/feedback/components/TeacherFeedbackComments/TeacherComment.tsx +1 -2
  410. package/src/features/feedback/components/UnreadMessagesBadge.tsx +0 -2
  411. package/src/features/formulaSheet/components/FormulaSheet.tsx +0 -2
  412. package/src/features/formulaSheet/components/FormulaSheetModal.tsx +1 -2
  413. package/src/features/keyboard/components/AlgebraLayout/AlgebraLayout.tsx +1 -2
  414. package/src/features/keyboard/components/BasicLayout/BasicLayout.tsx +1 -2
  415. package/src/features/keyboard/components/BasicLayout/CurrencyBasicLayout.tsx +1 -5
  416. package/src/features/keyboard/components/BasicLayout/TimeBasicLayout.tsx +13 -16
  417. package/src/features/keyboard/components/BasicPlusLayout/BasicPlusLayout.tsx +1 -2
  418. package/src/features/keyboard/components/BasicPlusPlusLayout/BasicPlusPlusLayout.tsx +1 -2
  419. package/src/features/keyboard/components/Keyboard.tsx +0 -2
  420. package/src/features/keyboard/components/MainLayout/MainLayout.tsx +1 -5
  421. package/src/features/keyboard/components/Numpad/Numpad.tsx +1 -2
  422. package/src/features/keyboard/components/UnderlinedLayout/UnderlinedLayout.tsx +1 -9
  423. package/src/features/keyboard/components/UnitsLayout/UnitsLayout.tsx +1 -2
  424. package/src/features/openEnded/components/OpenEndedAttemptsLimit.tsx +1 -2
  425. package/src/features/openEnded/components/OpenEndedScoreLabel.tsx +1 -2
  426. package/src/features/problemSelector/components/ProblemSelectorButton.tsx +0 -2
  427. package/src/features/voice/recording/components/VoiceRecordButton.tsx +0 -2
  428. package/src/features/voice/recording/components/VoiceRecordDeleteButton.tsx +1 -2
  429. package/src/features/voice/recording/components/VoiceRecordTimer.tsx +1 -2
  430. package/src/features/voice/recording/modal/ModalFooterButtons.tsx +0 -6
  431. package/src/features/voice/recording/modal/VoiceRecordDeleteModal.tsx +0 -4
  432. package/src/features/voice/recording/modal/VoiceRecordUndoModal.tsx +0 -4
  433. package/src/index.ts +0 -1
  434. package/src/shared/components/PlayButton.tsx +0 -1
  435. package/dist/commonjs/config/dataTestIDs.js +0 -66
  436. package/dist/commonjs/config/dataTestIDs.js.map +0 -1
  437. package/dist/module/config/dataTestIDs.js +0 -63
  438. package/dist/module/config/dataTestIDs.js.map +0 -1
  439. package/dist/typescript/commonjs/config/dataTestIDs.d.ts +0 -61
  440. package/dist/typescript/commonjs/config/dataTestIDs.d.ts.map +0 -1
  441. package/dist/typescript/module/config/dataTestIDs.d.ts +0 -61
  442. package/dist/typescript/module/config/dataTestIDs.d.ts.map +0 -1
  443. package/src/config/dataTestIDs.ts +0 -66
@@ -2,7 +2,6 @@ import React from 'react'
2
2
  import { StyleSheet } from 'react-native'
3
3
  import { Button, ButtonColor, ButtonSize, ButtonVariant, COLORS } from '@magmamath/react-native-ui'
4
4
  import { CloseIcon } from '../../../../shared/icons/CloseIcon'
5
- import { TEST_IDS } from '../../../../config/dataTestIDs'
6
5
 
7
6
  type CloseButtonProps = {
8
7
  onPress?: () => void
@@ -16,7 +15,6 @@ export const CloseButton = ({ onPress }: CloseButtonProps) => (
16
15
  size={ButtonSize.MEDIUM}
17
16
  colorScheme={ButtonColor.WHITE}
18
17
  raiseLevel={5}
19
- testID={TEST_IDS.CHAT_CLOSE_BUTTON}
20
18
  >
21
19
  <CloseIcon width={18} height={18} />
22
20
  </Button>
@@ -5,7 +5,6 @@ import { Button, ButtonColor, ButtonSize, ButtonVariant } from '@magmamath/react
5
5
  import { useUnit } from 'effector-react'
6
6
  import { ChatbotModel } from '../../model/ChatBotModel'
7
7
  import { ChatbotIcon } from '../../../../shared/icons/ChatbotIcon'
8
- import { TEST_IDS } from '../../../../config/dataTestIDs'
9
8
 
10
9
  type ChatControlsProps = {
11
10
  model: ChatbotModel
@@ -44,7 +43,6 @@ export const ChatControls = ({
44
43
  raiseLevel={3}
45
44
  onPress={onPressHelpButton}
46
45
  style={{ text: styles.helpButtonText }}
47
- testID={TEST_IDS.CHAT_GET_A_HINT_BUTTON}
48
46
  >
49
47
  {(isTranslated && getHint.translatedText) || getHint.text}
50
48
  </Button>
@@ -14,7 +14,6 @@ import { useKeyBoard } from '../../../../../shared/hooks/useKeyboard'
14
14
  import { KeyboardKeys } from '../../../../../lib/constants'
15
15
 
16
16
  import { SendMessageButton } from './SendMessageButton'
17
- import { TEST_IDS } from '../../../../../config/dataTestIDs'
18
17
 
19
18
  const MAX_AVAILABLE_MESSAGE_LENGTH = 500
20
19
  const COMPACT_WIDTH = 134
@@ -111,7 +110,6 @@ export const ChatTextInput = ({
111
110
  placeholder={placeholder}
112
111
  placeholderTextColor={COLORS.NEUTRAL_5}
113
112
  style={styles.input}
114
- testID={TEST_IDS.OPEN_CHAT_TEXT_INPUT}
115
113
  />
116
114
  <SendMessageButton
117
115
  onPress={handleSendMessage}
@@ -6,7 +6,6 @@ import { HintButtonVariant, RequestHintButton } from '../RequestHintButton'
6
6
  import { useChatModel } from '../../../context/ChatBotModelContext'
7
7
  import { t } from '../../../../../shared/translation'
8
8
  import { ChatTextInput } from './ChatTextInput'
9
- import { TEST_IDS } from '../../../../../config/dataTestIDs'
10
9
 
11
10
  type FreeTextInputBlockProps = {
12
11
  optionLabel: string
@@ -39,7 +38,7 @@ export const FreeTextInputBlock = ({
39
38
  const handleOnChangeText = (text: string) => model.textInput.setValue(text)
40
39
 
41
40
  return (
42
- <View style={styles.container} testID={TEST_IDS.OPEN_CHAT_INPUT_FIELD}>
41
+ <View style={styles.container}>
43
42
  <ChatTextInput
44
43
  value={inputValue}
45
44
  onSubmit={handleOnSubmit}
@@ -9,7 +9,6 @@ import Animated, {
9
9
  import { ArrowUpIcon, COLORS, IS_MOBILE } from '@magmamath/react-native-ui'
10
10
  import { ColorScheme } from '@magmamath/students-features'
11
11
  import { MESSAGE_COLORS_MAP } from '../../../constants'
12
- import { TEST_IDS } from '../../../../../config/dataTestIDs'
13
12
 
14
13
  type SendMessageButtonProps = {
15
14
  onPress: () => void
@@ -55,7 +54,6 @@ export const SendMessageButton = ({
55
54
  disabled={disabled}
56
55
  accessibilityState={{ disabled }}
57
56
  accessibilityRole="button"
58
- testID={TEST_IDS.OPEN_CHAT_SEND_MESSAGE_BUTTON}
59
57
  >
60
58
  {IS_MOBILE ? (
61
59
  <Animated.View
@@ -14,7 +14,6 @@ import {
14
14
  SPACING,
15
15
  } from '@magmamath/react-native-ui'
16
16
  import { ColorScheme } from '@magmamath/students-features'
17
- import { TEST_IDS } from '../../../../config/dataTestIDs'
18
17
  import { INPUT_WIDTH, MESSAGE_COLORS_MAP } from '../../constants'
19
18
 
20
19
  export enum HintButtonVariant {
@@ -104,7 +103,6 @@ export const RequestHintButton = memo(
104
103
  disabled={disabled}
105
104
  accessibilityState={{ disabled }}
106
105
  accessibilityRole="button"
107
- testID={TEST_IDS.CHAT_NEED_A_HINT_BUTTON}
108
106
  >
109
107
  <Animated.View style={[styles.content, animatedTextContainerStyle]}>
110
108
  <Animated.Text numberOfLines={1} style={[styles.text, animatedTextStyle, { fontSize }]}>
@@ -1,8 +1,7 @@
1
- import React from 'react'
1
+ import React, { PropsWithChildren } from 'react'
2
2
  import { StyleSheet, View } from 'react-native'
3
3
  import { BORDER_RADIUS, COLORS, Loader, LoaderColor } from '@magmamath/react-native-ui'
4
4
  import { SPACING } from '@magmamath/react-native-ui'
5
- import { TEST_IDS } from '../../../../config/dataTestIDs'
6
5
 
7
6
  type MessageLoaderProps = {
8
7
  isLoading?: boolean
@@ -12,7 +11,7 @@ export const MessageLoader = ({ isLoading }: MessageLoaderProps) => {
12
11
  if (!isLoading) return null
13
12
 
14
13
  return (
15
- <View style={styles.loader} testID={TEST_IDS.CHAT_MESSAGE_LOADER}>
14
+ <View style={styles.loader}>
16
15
  <Loader color={LoaderColor.GRAY} />
17
16
  </View>
18
17
  )
@@ -6,7 +6,6 @@ import { ConversationMessage } from '../../types/units.types'
6
6
  import { MessageVariant } from '../../types/model.types'
7
7
  import { ColorScheme } from '../../types/style.types'
8
8
  import { MESSAGE_COLORS_MAP } from '../../constants'
9
- import { TEST_IDS } from '../../../../config/dataTestIDs'
10
9
 
11
10
  type MessageTextToSpeechProps = {
12
11
  state: T2SState
@@ -35,7 +34,6 @@ export const MessageTextToSpeech = ({
35
34
  colorScheme={MESSAGE_COLORS_MAP[colorScheme][variant].icon}
36
35
  state={state}
37
36
  onPress={play}
38
- testID={TEST_IDS.CHAT_TTS_BUTTON}
39
37
  />
40
38
  )
41
39
  }
@@ -7,7 +7,6 @@ import { ColorScheme } from '../../types/style.types'
7
7
  import { MessageVariant } from '../../types/model.types'
8
8
  import { VariantProps } from './ChatMessage'
9
9
  import { MessageContent } from './MessageContent'
10
- import { TEST_IDS } from '../../../../config/dataTestIDs'
11
10
 
12
11
  export const ReceivedMessage = ({
13
12
  message,
@@ -22,7 +21,7 @@ export const ReceivedMessage = ({
22
21
  const text = isTranslated ? message.translatedMessage : message.message
23
22
 
24
23
  return (
25
- <View style={styles.container} testID={TEST_IDS.CHAT_MESSAGE_RECEIVED}>
24
+ <View style={styles.container}>
26
25
  <View style={[styles.iconWrapper, { opacity: withIcon ? 1 : 0 }]}>
27
26
  <ChatbotIcon width={CHATBOT_ICON_SIZE.width} height={CHATBOT_ICON_SIZE.height} />
28
27
  </View>
@@ -7,7 +7,6 @@ import { VariantProps } from './ChatMessage'
7
7
  import { MESSAGE_COLORS_MAP } from '../../constants'
8
8
  import { ColorScheme } from '../../types/style.types'
9
9
  import { MessageVariant } from '../../types/model.types'
10
- import { TEST_IDS } from '../../../../config/dataTestIDs'
11
10
 
12
11
  export const SentMessage = React.memo(
13
12
  ({ message, isTranslated, colorScheme = ColorScheme.Blue }: VariantProps) => {
@@ -15,7 +14,6 @@ export const SentMessage = React.memo(
15
14
 
16
15
  return (
17
16
  <View
18
- testID={TEST_IDS.CHAT_MESSAGE_SENT}
19
17
  style={[
20
18
  styles.container,
21
19
  { backgroundColor: MESSAGE_COLORS_MAP[colorScheme][MessageVariant.SENT].background },
@@ -6,7 +6,6 @@ import { StyleSheet } from 'react-native'
6
6
  import { HighlighterIcon } from '../../../shared/icons/HighlighterIcon'
7
7
  import { ConversationMessage } from '../types/units.types'
8
8
  import { useText } from '../../../shared/translation'
9
- import { TEST_IDS } from '../../../config/dataTestIDs'
10
9
 
11
10
  type ErrorSpottingButtonProps = {
12
11
  contextMessage: ConversationMessage
@@ -33,7 +32,6 @@ export const ErrorSpottingButton = ({ contextMessage }: ErrorSpottingButtonProps
33
32
  variant={'secondary'}
34
33
  colorScheme={'blue'}
35
34
  size={'small'}
36
- testID={TEST_IDS.CHAT_ERROR_SPOTTING_BUTTON}
37
35
  onPress={() => {
38
36
  model.errorSpotting.errorSpottingPressed({ message: contextMessage })
39
37
  }}
@@ -1,5 +1,5 @@
1
1
  import { createEvent, createStore, sample, Store, restore } from 'effector'
2
- import { ChatItem, ConversationMessage } from '../types/units.types'
2
+ import { ChatItem, ConversationMessage, ErrorChar } from '../types/units.types'
3
3
 
4
4
  type ErrorSpottingProps = {
5
5
  $currentChatData: Store<ChatItem>
@@ -10,6 +10,7 @@ type ActiveErrorSpottingData = {
10
10
  isDisabled: boolean
11
11
  strokesIds: string[]
12
12
  validationKey: null | string
13
+ errorChars: ErrorChar[] | null
13
14
  }
14
15
 
15
16
  const AUTO_CLOSE_TIMEOUT = 5000
@@ -62,6 +63,7 @@ export class ErrorSpottingModel {
62
63
  return {
63
64
  validationKey: key,
64
65
  strokesIds: chatData.currentThread.errorStrokesIds,
66
+ errorChars: chatData.currentThread.errorChars,
65
67
  isActive: source.isEnabled && !isDisabled && isKeyChanged,
66
68
  isDisabled,
67
69
  }
@@ -103,6 +103,7 @@ export function prepareChatRequestPayload(
103
103
  ...(imageCdnId && { imageCdnId }),
104
104
  ...(imageAltText && { altText: imageAltText }),
105
105
  ...(!!problemStandards?.length && { problemStandards }),
106
+ ...(!!answerOptions?.length && { answerOptions }),
106
107
  },
107
108
  }
108
109
  }
@@ -56,24 +56,44 @@ export class ChatBotThreadManager {
56
56
  const key = this.currentKey
57
57
  const existingThreadItem = this.threads.get(key)
58
58
  if (existingThreadItem) return existingThreadItem
59
+
59
60
  const threadItem = new ThreadItem()
60
61
  this.threads.set(key, threadItem)
61
- if (!this.drawBoardAdapter) return threadItem
62
+ await this.setDrawBoardContent(threadItem)
63
+ return threadItem
64
+ }
65
+
66
+ private async setDrawBoardContent(threadItem: ThreadItem) {
67
+ if (!this.drawBoardAdapter) return
62
68
  try {
63
69
  const content = await this.drawBoardAdapter.getContent()
64
- if (!content) return threadItem
65
- threadItem.setValidationKey(content.validationKey)
66
- if (content.text) return threadItem.setText(content.text)
67
- if (content.strokes?.length) return threadItem.setStrokes(content.strokes)
68
- } catch {}
70
+ if (!content) return
69
71
 
70
- return threadItem
72
+ threadItem.setValidationKey(content.validationKey)
73
+ threadItem.setStudentInput(content.studentInput)
74
+
75
+ if (content.strokes?.length) {
76
+ threadItem.setStrokes(content.strokes)
77
+ }
78
+ if (content.spreadSheetContent?.length) {
79
+ threadItem.setSpreadSheetContent(content.spreadSheetContent)
80
+ }
81
+ if (content.equationContent?.length) {
82
+ threadItem.setEquationContent(content.equationContent)
83
+ }
84
+ if (content.drawBoardImage) {
85
+ threadItem.setDrawBoardImage(content.drawBoardImage)
86
+ }
87
+ } catch (e) {
88
+ console.error('Failed to load draw board content', e)
89
+ }
71
90
  }
72
91
 
73
92
  public setDrawBoardAdapter(adapter: IChatDrawBoardAdapter) {
74
93
  this.drawBoardAdapter = adapter
75
94
  }
76
95
 
96
+ // TODO: simplify this method, split it into smaller methods
77
97
  public readonly postMessage = async (
78
98
  payload: PostMessagePayload,
79
99
  requestConfig?: RequestOptionalConfig,
@@ -91,10 +111,25 @@ export class ChatBotThreadManager {
91
111
  ? await this.api.sendMessage(data, requestConfig)
92
112
  : await this.api.getHint(data, requestConfig)
93
113
 
114
+ const isFirstHint = threadItem.hintsHistory.length === 0
94
115
  threadItem.history.push(result.message)
95
116
 
96
- if ('errorStrokeIds' in result && result?.errorStrokeIds) {
97
- threadItem.setErrorStrokesIds(result.errorStrokeIds)
117
+ if (type === ChatRequestType.HINT) {
118
+ threadItem.hintsHistory.push(result.message)
119
+ }
120
+
121
+ if (isFirstHint) {
122
+ if ('errorChars' in result && result.errorChars?.length) {
123
+ const errorStrokeIds = result.errorChars.map((c) => c.id)
124
+ threadItem.setErrorStrokesIds(errorStrokeIds)
125
+ threadItem.setErrorChars(result.errorChars)
126
+ }
127
+ if ('errorCellIds' in result && result.errorCellIds?.length) {
128
+ threadItem.setErrorStrokesIds(result.errorCellIds)
129
+ }
130
+ if ('errorStrokeIds' in result && result?.errorStrokeIds) {
131
+ threadItem.setErrorStrokesIds(result.errorStrokeIds)
132
+ }
98
133
  }
99
134
 
100
135
  const nextOptions =
@@ -1,24 +1,44 @@
1
- import { FullStrokeData, IThreadItem } from '../types/units.types'
1
+ import {
2
+ ErrorChar,
3
+ EquationItem,
4
+ FullStrokeData,
5
+ IThreadItem,
6
+ SpreadsheetItem,
7
+ } from '../types/units.types'
2
8
  import { generateRandomId } from '../../../lib/helpers/helpers'
3
9
 
4
10
  type ThreadItemProps = {
5
11
  strokes?: FullStrokeData[]
6
- text?: string
7
12
  key: string
13
+ spreadSheetContent?: SpreadsheetItem[]
14
+ equationContent?: EquationItem[]
15
+ drawBoardImage?: string
16
+ studentInput?: string
8
17
  }
9
18
 
19
+ const DEFAULT_STUDENT_INPUT = 'none'
20
+
21
+ // TODO: move drawboard content to separate class and make ThreadItem responsible only for history and hints
10
22
  export class ThreadItem implements IThreadItem {
11
23
  public readonly id = generateRandomId()
12
24
  public readonly history: string[] = []
25
+ public readonly hintsHistory: string[] = []
13
26
  public strokesValidationKey: string | null = null
14
27
  public strokes: FullStrokeData[] | null
15
- public text: string | null = null
16
28
  public errorStrokesIds: string[] | null = null
29
+ public errorChars: ErrorChar[] | null = null
30
+ public spreadSheetContent?: SpreadsheetItem[]
31
+ public equationContent?: EquationItem[]
32
+ public drawBoardImage?: string
33
+ public studentInput: string
17
34
 
18
35
  public constructor(props?: ThreadItemProps | null) {
19
36
  this.strokes = props?.strokes ?? null
20
- this.text = props?.text ?? null
21
37
  this.strokesValidationKey = props?.key ?? null
38
+ this.spreadSheetContent = props?.spreadSheetContent
39
+ this.equationContent = props?.equationContent
40
+ this.drawBoardImage = props?.drawBoardImage
41
+ this.studentInput = props?.studentInput ?? DEFAULT_STUDENT_INPUT
22
42
  }
23
43
 
24
44
  public setStrokes(strokes: FullStrokeData[]) {
@@ -26,11 +46,6 @@ export class ThreadItem implements IThreadItem {
26
46
  return this
27
47
  }
28
48
 
29
- public setText(text: string) {
30
- this.text = text
31
- return this
32
- }
33
-
34
49
  public setValidationKey(key: string) {
35
50
  this.strokesValidationKey = key
36
51
  return this
@@ -41,19 +56,53 @@ export class ThreadItem implements IThreadItem {
41
56
  return this
42
57
  }
43
58
 
44
- public getNextHintProps() {
45
- if (this.history.length) {
46
- return {
47
- previousHint: this.history[this.history.length - 1],
48
- }
49
- }
59
+ public setErrorChars(chars: ErrorChar[]) {
60
+ this.errorChars = chars
61
+ return this
62
+ }
50
63
 
51
- if (this.text) {
52
- return { drawBoardText: this.text }
53
- }
64
+ public setSpreadSheetContent(content: SpreadsheetItem[]) {
65
+ this.spreadSheetContent = content
66
+ return this
67
+ }
68
+
69
+ public setEquationContent(content: EquationItem[]) {
70
+ this.equationContent = content
71
+ return this
72
+ }
54
73
 
55
- if (this.strokes && this.strokes.length > 0) {
74
+ public setDrawBoardImage(image: string) {
75
+ this.drawBoardImage = image
76
+ return this
77
+ }
78
+
79
+ public setStudentInput(studentInput: string) {
80
+ this.studentInput = studentInput
81
+ return this
82
+ }
83
+
84
+ private getContentProps() {
85
+ if (this.strokes?.length) {
56
86
  return { stroke: this.strokes }
57
87
  }
88
+ if (this.spreadSheetContent?.length) {
89
+ return { spreadSheetContent: this.spreadSheetContent }
90
+ }
91
+ if (this.equationContent?.length) {
92
+ return { equationContent: this.equationContent }
93
+ }
94
+ return {}
95
+ }
96
+
97
+ public getNextHintProps() {
98
+ const hintNumber = this.hintsHistory.length
99
+
100
+ return {
101
+ hintNumber,
102
+ studentInput: this.studentInput,
103
+ ...(this.drawBoardImage && { drawBoardImage: this.drawBoardImage }),
104
+ ...(hintNumber === 0 && this.getContentProps()),
105
+ ...(this.hintsHistory.length && { previousHints: [...this.hintsHistory] }),
106
+ }
58
107
  }
59
108
  }
@@ -1,4 +1,11 @@
1
- import { ChatAnswer, FullStrokeData, Stroke } from './units.types'
1
+ import {
2
+ ChatAnswer,
3
+ FullStrokeData,
4
+ Stroke,
5
+ EquationItem,
6
+ SpreadsheetItem,
7
+ ErrorChar,
8
+ } from './units.types'
2
9
  import { ProblemStandard } from './model.types'
3
10
 
4
11
  export type GetAlternativesPayload = {
@@ -107,17 +114,25 @@ export type ChatHintPayload = {
107
114
  correctAnswer: string[]
108
115
  userAnswer?: string | string[]
109
116
  stroke?: Stroke[]
110
- previousHint?: string
117
+ previousHints?: string[]
111
118
  language: string
112
119
  imageAltText?: string
113
120
  imageCdnId?: string
114
121
  drawBoardText?: string
122
+ spreadSheetContent?: SpreadsheetItem[]
123
+ equationContent?: EquationItem[]
124
+ drawBoardImage?: string
125
+ hintNumber: number
126
+ studentInput: string
127
+ answerOptions?: string[]
115
128
  }
116
129
 
117
130
  export type ChatHintResponse = {
118
131
  message: string
119
132
  conversationId?: string | null
120
133
  errorStrokeIds?: string[]
134
+ errorCellIds?: string[]
135
+ errorChars?: ErrorChar[]
121
136
  }
122
137
  export type ErrorSpottingPayload = {
123
138
  strokes: FullStrokeData[]
@@ -16,7 +16,14 @@ import {
16
16
  SendMessageResponse,
17
17
  } from './api.types'
18
18
  import { ExtendWithOptional } from '../../../lib/helpers/types'
19
- import { ChatAnswer, ChatItem, ConversationMessage, FullStrokeData } from './units.types'
19
+ import {
20
+ EquationItem,
21
+ ChatAnswer,
22
+ ChatItem,
23
+ ConversationMessage,
24
+ FullStrokeData,
25
+ SpreadsheetItem,
26
+ } from './units.types'
20
27
  import { WithAbortSignal } from '../../../lib/types/requests'
21
28
  import { RequestOptionalConfig } from '../../../lib/effector/createControllerEffect'
22
29
 
@@ -117,8 +124,11 @@ type GetVisibleStrokesResponse = {
117
124
 
118
125
  type GetBoardContentResponse = {
119
126
  strokes?: FullStrokeData[]
120
- text?: string
121
127
  validationKey: string
128
+ spreadSheetContent?: SpreadsheetItem[]
129
+ equationContent?: EquationItem[]
130
+ drawBoardImage?: string
131
+ studentInput: string
122
132
  }
123
133
 
124
134
  export type IChatDrawBoardAdapter = {
@@ -2,16 +2,42 @@ export type Stroke = {
2
2
  x: number[]
3
3
  y: number[]
4
4
  }
5
+
5
6
  export type FullStrokeData = Stroke & {
6
7
  id: string
7
8
  }
8
9
 
10
+ export type EquationItem = {
11
+ id: string
12
+ value?: string
13
+ }
14
+
15
+ export type SpreadsheetItem = {
16
+ id: string
17
+ value?: string
18
+ point: {
19
+ x: number
20
+ y: number
21
+ }
22
+ }
23
+
24
+ export type ErrorChar = {
25
+ id: string
26
+ value: string
27
+ }
28
+
9
29
  export type IThreadItem = {
10
30
  id: string
11
31
  strokesValidationKey: string | null
12
32
  strokes: FullStrokeData[] | null
13
33
  history: string[]
34
+ hintsHistory: string[]
14
35
  errorStrokesIds: string[] | null
36
+ errorChars: ErrorChar[] | null
37
+ spreadSheetContent?: SpreadsheetItem[]
38
+ equationContent?: EquationItem[]
39
+ drawBoardImage?: string
40
+ studentInput: string
15
41
  }
16
42
 
17
43
  export type ChatAnswer = {
@@ -13,7 +13,6 @@ import {
13
13
  import { EOAModalContentProps } from '../../types'
14
14
  import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
15
15
  import { KeyboardKeys } from '../../../../lib/constants'
16
- import { TEST_IDS } from '../../../../config/dataTestIDs'
17
16
 
18
17
  export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
19
18
  useKeyBoard({
@@ -25,7 +24,7 @@ export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
25
24
  })
26
25
 
27
26
  return (
28
- <View style={styles.container} testID={TEST_IDS.EOA_CHEAT_DETECTED}>
27
+ <View style={styles.container}>
29
28
  <Typography variant="h2" style={styles.title}>
30
29
  {textContent.title}
31
30
  </Typography>
@@ -40,7 +39,6 @@ export const CheatDetected = ({ textContent, model }: EOAModalContentProps) => {
40
39
  size={ButtonSize.LARGE}
41
40
  style={{ text: styles.buttonText }}
42
41
  onPress={model.hidePopUpAndLeave}
43
- testID={TEST_IDS.EOA_LEAVE_BUTTON}
44
42
  >
45
43
  {textContent.leftButtonText}
46
44
  </Button>
@@ -12,7 +12,6 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
12
12
  import { KeyboardKeys } from '../../../../lib/constants'
13
13
  import { getEoaButtonColor } from '../../helpers'
14
14
  import { AssessmentScoreCard } from '../AssessmentScoreCard/AssessmentScoreCard'
15
- import { TEST_IDS } from '../../../../config/dataTestIDs'
16
15
 
17
16
  export const CorrectAnswer = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
18
17
  const popUpData = useUnit(model.$popUpData)
@@ -60,7 +59,6 @@ export const CorrectAnswer = ({ textContent, model, onPracticePress }: EOAModalC
60
59
 
61
60
  return (
62
61
  <View
63
- testID={TEST_IDS.EOA_WITH_CORRECT_ANSWER}
64
62
  style={[
65
63
  styles.wrapper,
66
64
  modalVariant !== EOAModalVariant.HAS_GOOD_DRAWING && { alignItems: 'center' },
@@ -13,7 +13,6 @@ import {
13
13
  import { EOAModalContentProps } from '../../types'
14
14
  import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
15
15
  import { KeyboardKeys } from '../../../../lib/constants'
16
- import { TEST_IDS } from '../../../../config/dataTestIDs'
17
16
 
18
17
  export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
19
18
  const handleDismiss = () => model.hidePopUp()
@@ -27,7 +26,7 @@ export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
27
26
  })
28
27
 
29
28
  return (
30
- <View style={styles.container} testID={TEST_IDS.EOA_EXAM_LEAVE}>
29
+ <View style={styles.container}>
31
30
  <Typography variant="h1" style={styles.description}>
32
31
  {textContent.description}
33
32
  </Typography>
@@ -48,7 +47,6 @@ export const ExamLeave = ({ textContent, model }: EOAModalContentProps) => {
48
47
  size={ButtonSize.LARGE}
49
48
  style={{ text: styles.buttonText }}
50
49
  onPress={model.hidePopUpAndLeave}
51
- testID={TEST_IDS.EOA_LEAVE_BUTTON}
52
50
  >
53
51
  {textContent.rightButtonText}
54
52
  </Button>
@@ -15,7 +15,6 @@ import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
15
15
  import { KeyboardKeys } from '../../../../lib/constants'
16
16
  import { getEoaButtonColor } from '../../helpers'
17
17
  import { useUnit } from 'effector-react'
18
- import { TEST_IDS } from '../../../../config/dataTestIDs'
19
18
 
20
19
  export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
21
20
  const popUpData = useUnit(model.$popUpData)
@@ -29,7 +28,7 @@ export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
29
28
  })
30
29
 
31
30
  return (
32
- <View style={styles.container} testID={TEST_IDS.EOA_EXAM_PAUSED}>
31
+ <View style={styles.container}>
33
32
  <Typography variant="h2" style={styles.title}>
34
33
  {textContent.title}
35
34
  </Typography>
@@ -44,7 +43,6 @@ export const ExamPaused = ({ textContent, model }: EOAModalContentProps) => {
44
43
  size={ButtonSize.LARGE}
45
44
  style={{ text: styles.buttonText }}
46
45
  onPress={model.hidePopUpAndLeave}
47
- testID={TEST_IDS.EOA_LEAVE_BUTTON}
48
46
  >
49
47
  {textContent.leftButtonText}
50
48
  </Button>
@@ -18,7 +18,6 @@ import { PracticeButton } from '../../ui/PracticeButton'
18
18
  import { useKeyBoard } from '../../../../shared/hooks/useKeyboard'
19
19
  import { KeyboardKeys } from '../../../../lib/constants'
20
20
  import { getEoaButtonColor } from '../../helpers'
21
- import { TEST_IDS } from '../../../../config/dataTestIDs'
22
21
 
23
22
  export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalContentProps) => {
24
23
  const popUpData = useUnit(model.$popUpData)
@@ -42,7 +41,7 @@ export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalCont
42
41
  })
43
42
 
44
43
  return (
45
- <View style={styles.container} testID={TEST_IDS.EOA_EXAM}>
44
+ <View style={styles.container}>
46
45
  <View style={styles.contentBackground}>
47
46
  {IS_MOBILE ? (
48
47
  <Image source={require('./blurred-card.png')} />
@@ -64,7 +63,6 @@ export const ExamSubmit = ({ textContent, model, onPracticePress }: EOAModalCont
64
63
  colorScheme={getEoaButtonColor(popUpData)}
65
64
  style={{ text: { textTransform: 'uppercase' } }}
66
65
  onPress={model.hidePopUpAndLeave}
67
- testID={TEST_IDS.EOA_LEAVE_BUTTON}
68
66
  >
69
67
  {textContent.leftButtonText ?? ''}
70
68
  </Button>