@@ -682,7 +682,7 @@ const UpdatedDatasetDetailPage: React.FC = () => {
682682 return (
683683 < >
684684 < Box sx = { { padding : 4 } } >
685- < Button
685+ { /* <Button
686686 variant="text"
687687 onClick={() => navigate(-1)}
688688 sx={{
@@ -696,7 +696,80 @@ const UpdatedDatasetDetailPage: React.FC = () => {
696696 }}
697697 >
698698 Back
699- </ Button >
699+ </Button> */ }
700+
701+ { /* Breadcrumb Navigation (Home → Database → Dataset) */ }
702+ < Box
703+ sx = { {
704+ display : "flex" ,
705+ alignItems : "center" ,
706+ marginBottom : 2 ,
707+ } }
708+ >
709+ { /* Home Icon Button */ }
710+ < Button
711+ onClick = { ( ) => navigate ( "/" ) }
712+ sx = { {
713+ backgroundColor : "transparent" ,
714+ padding : 0 ,
715+ minWidth : "auto" ,
716+ "&:hover" : { backgroundColor : "transparent" } ,
717+ } }
718+ >
719+ < HomeIcon
720+ sx = { {
721+ color : Colors . white ,
722+ "&:hover" : {
723+ transform : "scale(1.1)" ,
724+ backgroundColor : "transparent" ,
725+ } ,
726+ } }
727+ />
728+ </ Button >
729+
730+ < Typography
731+ variant = "h5"
732+ sx = { { marginX : 1 , fontWeight : "bold" , color : Colors . white } }
733+ >
734+ »
735+ </ Typography >
736+
737+ { /* Database Name (Clickable) */ }
738+ < Button
739+ onClick = { ( ) => navigate ( `${ RoutesEnum . DATABASES } /${ dbName } ` ) }
740+ sx = { {
741+ textTransform : "none" ,
742+ fontSize : "1.2rem" ,
743+ fontWeight : "bold" ,
744+ color : Colors . white ,
745+ "&:hover" : {
746+ transform : "scale(1.05)" ,
747+ backgroundColor : "transparent" ,
748+ } ,
749+ } }
750+ >
751+ { dbName ?. toLowerCase ( ) }
752+ </ Button >
753+
754+ < Typography
755+ variant = "h5"
756+ sx = { { marginX : 1 , fontWeight : "bold" , color : Colors . white } }
757+ >
758+ »
759+ </ Typography >
760+
761+ { /* Dataset Name (_id field) */ }
762+ < Typography
763+ variant = "h5"
764+ sx = { {
765+ fontWeight : "bold" ,
766+ color : Colors . white ,
767+ fontSize : "1.2rem" ,
768+ } }
769+ >
770+ { docId }
771+ </ Typography >
772+ </ Box >
700773
701774 < Box
702775 sx = { {
@@ -733,73 +806,6 @@ const UpdatedDatasetDetailPage: React.FC = () => {
733806 </ Typography >
734807 ) }
735808
736- { /* Breadcrumb Navigation (Home → Database → Dataset) */ }
737- < Box
738- sx = { {
739- display : "flex" ,
740- alignItems : "center" ,
741- marginBottom : 2 ,
742- } }
743- >
744- { /* Home Icon Button */ }
745- < Button
746- onClick = { ( ) => navigate ( "/" ) }
747- sx = { {
748- backgroundColor : "transparent" ,
749- padding : 0 ,
750- minWidth : "auto" ,
751- "&:hover" : { backgroundColor : "transparent" } ,
752- } }
753- >
754- < HomeIcon
755- sx = { {
756- color : Colors . darkPurple ,
757- "&:hover" : {
758- transform : "scale(1.1)" ,
759- backgroundColor : "transparent" ,
760- } ,
761- } }
762- />
763- </ Button >
764-
765- < Typography variant = "h5" sx = { { marginX : 1 , fontWeight : "bold" } } >
766- »
767- </ Typography >
768-
769- { /* Database Name (Clickable) */ }
770- < Button
771- onClick = { ( ) => navigate ( `${ RoutesEnum . DATABASES } /${ dbName } ` ) }
772- sx = { {
773- textTransform : "none" ,
774- fontSize : "1.2rem" ,
775- fontWeight : "bold" ,
776- color : Colors . darkPurple ,
777- "&:hover" : {
778- transform : "scale(1.05)" ,
779- backgroundColor : "transparent" ,
780- } ,
781- } }
782- >
783- { dbName ?. toLowerCase ( ) }
784- </ Button >
785-
786- < Typography variant = "h5" sx = { { marginX : 1 , fontWeight : "bold" } } >
787- »
788- </ Typography >
789-
790- { /* Dataset Name (_id field) */ }
791- < Typography
792- variant = "h5"
793- sx = { {
794- fontWeight : "bold" ,
795- color : Colors . darkPurple ,
796- fontSize : "1.2rem" ,
797- } }
798- >
799- { docId }
800- </ Typography >
801- </ Box >
802-
803809 { /* ai summary */ }
804810 { aiSummary && < ReadMoreText text = { aiSummary } /> }
805811
0 commit comments