feat(studyPrefetcher): Study Prefetcher (#4206)

This commit is contained in:
Leonardo Campos authored and GitHub committed 2024-06-28 08:58:39 -04:00
1 parent 257cc477cd
commit 2048b19484
24 files changed
+992 -98

No files matched your search

@@ -17,6 +17,7 @@ const Thumbnail = ({
description,
seriesNumber,
numInstances,
loadingProgress,
countIcon,
messages,
dragData = {},
@@ -94,6 +95,17 @@ const Thumbnail = ({
/>
{` ${numInstances}`}
</div>
<div className="flex mr-2 last:mr-0">
{loadingProgress && loadingProgress < 1 && (
<>{Math.round(loadingProgress * 100)}%</>
)}
{loadingProgress && loadingProgress === 1 && (
<Icon
name={'database'}
className="w-3"
/>
)}
</div>
<DisplaySetMessageListTooltip
messages={messages}
id={`display-set-tooltip-${displaySetInstanceUID}`}
@@ -124,6 +136,7 @@ Thumbnail.propTypes = {
description: PropTypes.string.isRequired,
seriesNumber: StringNumber.isRequired,
numInstances: PropTypes.number.isRequired,
loadingProgress: PropTypes.number,
messages: PropTypes.object,
isActive: PropTypes.bool.isRequired,
onClick: PropTypes.func.isRequired,