44 Box ,
55 Divider ,
66 Flex ,
7+ Grid ,
8+ GridItem ,
79 ListItem ,
810 SimpleGrid ,
911 Skeleton ,
@@ -38,6 +40,7 @@ import { CompletenessBadgeCircle } from 'src/components/metadata-completeness-ba
3840import { ResourceCatalogCollection } from './components/collection-information' ;
3941import { DownloadMetadata } from '../download-metadata' ;
4042import { SearchableItems } from 'src/components/searchable-items' ;
43+ import { Summary } from './components/summary' ;
4144import { OverviewSectionWrapper } from './components/overview-section-wrapper' ;
4245import { getMetadataDescription } from '../metadata' ;
4346import { TagWithUrl } from '../tag-with-url' ;
@@ -117,13 +120,15 @@ const Sections = ({
117120 < ResourceBanner data = { data } />
118121
119122 { /*<--- AI Generated short description -->*/ }
120- { /* {data?.disambiguatingDescription && (
121- <Flex mx={6} my={2}>
122- <Summary
123- description={data.disambiguatingDescription}
124- tagLabel='AI Generated'
125- />
126- {data && data['_meta'] && (
123+ { process . env . NODE_ENV !== 'production' &&
124+ data ?. disambiguatingDescription && (
125+ < Flex mx = { 6 } my = { 2 } >
126+ < Summary
127+ description = { data . disambiguatingDescription }
128+ tagLabel = 'AI Generated'
129+ />
130+ { /* Badge indicating completeness of metadata */ }
131+ { /* {data && data['_meta'] && (
127132 <Flex
128133 px={4}
129134 py={4}
@@ -137,9 +142,9 @@ const Sections = ({
137142 size='lg'
138143 />
139144 </Flex>
145+ )} */ }
146+ </ Flex >
140147 ) }
141- </Flex>
142- )} */ }
143148
144149 { sections . map ( section => {
145150 return (
0 commit comments