@@ -3,12 +3,10 @@ import AllLogsRowTop from "./AllLogsRowTop";
33import Divider from "./Divider" ;
44import DataRow from "./DataRow" ;
55import DataModal from "./DataModal" ;
6- import LikeModal from "./LikeModal" ;
76
87const AllLogsRow = ( props ) => {
98 const [ expand , setExpand ] = useState ( false ) ;
109 const [ showFull , setShowFull ] = useState ( false ) ;
11- const [ showLikeModal , setShowLikeModal ] = useState ( false ) ;
1210
1311 let index =
1412 typeof props . index !== "string" ? String ( props . index + 1 ) : props . index ;
@@ -17,7 +15,12 @@ const AllLogsRow = (props) => {
1715 }
1816
1917 return (
20- < div className = "bg-[#23232D] py-2.5 px-4 rounded-xl mb-4 " >
18+ < div
19+ className = { `bg-[#23232D] py-2.5 px-4 rounded-xl mb-4 border border-[#23232D] hover:bg-[#171721] hover:border-[#5587fd] text-left` }
20+ onClick = { ( ) => {
21+ ! expand && setExpand ( true ) ;
22+ } }
23+ >
2124 { ! props . inModal && showFull && (
2225 < DataModal
2326 onClick = { ( ) => setShowFull ( ! showFull ) }
@@ -36,15 +39,7 @@ const AllLogsRow = (props) => {
3639 projectName = { props . projectName }
3740 />
3841 ) }
39- { showLikeModal && (
40- < LikeModal
41- onClick = { ( ) => setShowLikeModal ( false ) }
42- uuid = { props . uuid }
43- selectedTab = { props . selectedTab }
44- score = { props . score }
45- projectName = { props . projectName }
46- />
47- ) }
42+
4843 < AllLogsRowTop
4944 index = { index }
5045 question = { props . question }
@@ -54,11 +49,11 @@ const AllLogsRow = (props) => {
5449 setExpand = { setExpand }
5550 inModal = { props . inModal }
5651 selectedTab = { props . selectedTab }
57- setShowLikeModal = { setShowLikeModal }
5852 updated = { props . updated }
5953 uuid = { props . uuid }
6054 projectName = { props . projectName }
6155 AiConfidence = { props . AiConfidence }
56+ evaluationId = { props . evaluationId }
6257 />
6358 { expand || props . inModal ? (
6459 < >
0 commit comments