diff --git a/client/components/ChatBot/index.js b/client/components/ChatBot/index.js
index 168797d5..3daae0bd 100644
--- a/client/components/ChatBot/index.js
+++ b/client/components/ChatBot/index.js
@@ -259,13 +259,14 @@ const Chatbot = () => {
) : (
<>
+ {/* hintMessageIdx === 0 means FIRST ATTEMPT */}
{hintMessageIdx == 0 && Object.keys(currentWord).length > 0
&& (spentHints.length > 0 || emptyHintsList) && (
{hintMessage && attempt === 0 && (
-
+
{/*show ONLY ONE (i) if either references or explanation exists*/
(ref || explanation) && (
@@ -274,7 +275,7 @@ const Chatbot = () => {
)}
{preHints?.map((hint, index) => (
-
+
{/*show ONLY ONE (i) if either references or explanation exists*/
(ref && showReferenceIcon(hint)
@@ -294,12 +295,12 @@ const Chatbot = () => {
{/******************* iterate over messages=BUBBLES *******************/}
{messages.map((message, index) => (
<>
- {/******** ??? this must be for MESSAGE-USER ? ********/}
- {/******** ??? MESSAGE-USER + MESSAGE-BOT: what other types? ********/}
+ {/********this is for CHATTING: MESSAGE-USER + MESSAGE-BOT ********/}
+ {/******** MESSAGE-USER + MESSAGE-BOT: no other types ********/}
{message.text}
- {/******** ??? this must be for MESSAGE-BOT ? ********/}
+ {/******** HINT: this must be for MESSAGE-BOT ********/}
{(index === hintMessageIdx - 1 && hintMessageIdx > 0)
&& Object.keys(currentWord).length > 0
&& (spentHints.length > 0 || emptyHintsList) && (
@@ -307,7 +308,7 @@ const Chatbot = () => {
onMouseDown={handleTooltipClick}>
{hintMessage && attempt === 0 && (
-
+
{/* content to show AFTER message at index hintMessageIdx */}
{(ref || explanation) && (
@@ -320,7 +321,7 @@ const Chatbot = () => {
)}
{/******** ??? why are prehints here ? ********/}
{preHints?.map((hint, index) => (
-
+
{(ref && showReferenceIcon(hint)
|| explanation && checkHintForExplanation(hint))