11import { FC , ReactNode } from 'react'
22import { useHref , useParams } from 'react-router-dom'
33import { useTranslation } from 'react-i18next'
4+ import Box from '@mui/material/Box'
45import Grid from '@mui/material/Grid'
56import Skeleton from '@mui/material/Skeleton'
7+ import Tooltip from '@mui/material/Tooltip'
68import Typography from '@mui/material/Typography'
9+ import InfoIcon from '@mui/icons-material/Info'
710import { styled } from '@mui/material/styles'
811import {
912 Layer ,
@@ -16,6 +19,7 @@ import { getPreciseNumberFormat } from '../../../locales/getPreciseNumberFormat'
1619import { AppErrors } from '../../../types/errors'
1720import { useRequiredScopeParam } from '../../hooks/useScopeParam'
1821import { useTypedSearchParam } from '../../hooks/useTypedSearchParam'
22+ import { COLORS } from '../../../styles/theme/colors'
1923import { useScreenSize } from '../../hooks/useScreensize'
2024import { PageLayout } from '../../components/PageLayout'
2125import { SubPageCard } from '../../components/SubPageCard'
@@ -145,7 +149,16 @@ export const RoflAppDetailsView: FC<{
145149 < DetailsRow title = { t ( 'rofl.endorsement' ) } >
146150 < Endorsement policy = { app . policy } />
147151 </ DetailsRow >
148- < DetailsRow title = { t ( 'rofl.secrets' ) } >
152+ < DetailsRow
153+ title = {
154+ < Box sx = { { display : 'flex' , alignItems : 'center' , gap : 2 } } >
155+ { t ( 'rofl.secrets' ) }
156+ < Tooltip title = { t ( 'rofl.secretsTooltip' ) } placement = "top" >
157+ < InfoIcon htmlColor = { COLORS . brandDark } fontSize = "small" />
158+ </ Tooltip >
159+ </ Box >
160+ }
161+ >
149162 < Secrets secrets = { app . secrets } />
150163 </ DetailsRow >
151164 </ StyledDescriptionList >
@@ -319,7 +332,7 @@ const LastActivityRow: FC<{
319332
320333const DetailsRow : FC < {
321334 children : ReactNode
322- title : string
335+ title : ReactNode
323336} > = ( { children, title } ) => {
324337 return (
325338 < >
0 commit comments