diff --git a/src/components/Project/ProjectMonitorView.js b/src/components/Project/ProjectMonitorView.js index a6f95ad1f..3c8fadf7b 100644 --- a/src/components/Project/ProjectMonitorView.js +++ b/src/components/Project/ProjectMonitorView.js @@ -139,6 +139,9 @@ const ProjectMonitorView = ({ counterValue={projectSummary.data.files_count ?? 0} link={`/projects/${params.projectName}/files`} projectSummary={projectSummary} + tip="This counter is the number of artifacts with different names (keys). + Each such artifact may have many versions, produced by multiple runs and given multiple tags. + You can browse them in the Artifacts page." title="Artifacts" /> {nuclioStreamsAreEnabled && ( diff --git a/src/elements/ProjectSummaryCard/ProjectSummaryCard.js b/src/elements/ProjectSummaryCard/ProjectSummaryCard.js index 0f28bd870..32dd27670 100644 --- a/src/elements/ProjectSummaryCard/ProjectSummaryCard.js +++ b/src/elements/ProjectSummaryCard/ProjectSummaryCard.js @@ -22,15 +22,9 @@ import { Link } from 'react-router-dom' import PropTypes from 'prop-types' import Loader from '../../common/Loader/Loader' -import { Tooltip, TextTooltipTemplate } from 'igz-controls/components' +import { Tip, Tooltip, TextTooltipTemplate } from 'igz-controls/components' -const ProjectSummaryCard = ({ - counterValue, - link, - projectSummary, - title, - tooltipText -}) => { +const ProjectSummaryCard = ({ counterValue, link, projectSummary, tip, title, tooltipText }) => { return (
{title} + {tip && }
@@ -60,7 +55,9 @@ const ProjectSummaryCard = ({ } ProjectSummaryCard.defaultProps = { + tip: null, tooltipText: null + } ProjectSummaryCard.propTypes = { @@ -68,6 +65,7 @@ ProjectSummaryCard.propTypes = { .isRequired, link: PropTypes.string.isRequired, projectSummary: PropTypes.object.isRequired, + tip: PropTypes.string, title: PropTypes.string.isRequired, tooltipText: PropTypes.string }