From 02a0a6d655dddcae202d0ab496439673fe834055 Mon Sep 17 00:00:00 2001 From: Joe Boccanfuso Date: Fri, 22 Sep 2023 14:06:33 -0400 Subject: [PATCH] New side panel tab icon for the studies panel. --- extensions/default/src/getPanelModule.tsx | 2 +- .../measurement-tracking/src/getPanelModule.tsx | 2 +- platform/ui/src/assets/icons/tab-studies.svg | 13 +++++++++++++ platform/ui/src/components/Icon/getIcon.js | 2 ++ 4 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 platform/ui/src/assets/icons/tab-studies.svg diff --git a/extensions/default/src/getPanelModule.tsx b/extensions/default/src/getPanelModule.tsx index f8e1cbf6750..559f98fcad7 100644 --- a/extensions/default/src/getPanelModule.tsx +++ b/extensions/default/src/getPanelModule.tsx @@ -20,7 +20,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager }) return [ { name: 'seriesList', - iconName: 'group-layers', + iconName: 'tab-studies', iconLabel: 'Studies', label: 'Studies', component: WrappedPanelStudyBrowser.bind(null, { diff --git a/extensions/measurement-tracking/src/getPanelModule.tsx b/extensions/measurement-tracking/src/getPanelModule.tsx index 36fa7651c4f..6d7a906333e 100644 --- a/extensions/measurement-tracking/src/getPanelModule.tsx +++ b/extensions/measurement-tracking/src/getPanelModule.tsx @@ -9,7 +9,7 @@ function getPanelModule({ commandsManager, extensionManager, servicesManager }): return [ { name: 'seriesList', - iconName: 'group-layers', + iconName: 'tab-studies', iconLabel: 'Studies', label: 'Studies', component: PanelStudyBrowserTracking.bind(null, { diff --git a/platform/ui/src/assets/icons/tab-studies.svg b/platform/ui/src/assets/icons/tab-studies.svg new file mode 100644 index 00000000000..7e3e1ce3e3f --- /dev/null +++ b/platform/ui/src/assets/icons/tab-studies.svg @@ -0,0 +1,13 @@ + + + tab-studies + + + + + + + + + + diff --git a/platform/ui/src/components/Icon/getIcon.js b/platform/ui/src/components/Icon/getIcon.js index 3b74fd4ef99..9604964a46d 100644 --- a/platform/ui/src/components/Icon/getIcon.js +++ b/platform/ui/src/components/Icon/getIcon.js @@ -73,6 +73,7 @@ import tabLinear from './../../assets/icons/tab-linear.svg'; import tabPatientInfo from './../../assets/icons/tab-patient-info.svg'; import tabROIThreshold from './../../assets/icons/tab-roi-threshold.svg'; import tabSegmentation from './../../assets/icons/tab-segmentation.svg'; +import tabStudies from './../../assets/icons/tab-studies.svg'; import uiArrowDown from './../../assets/icons/ui-arrow-down.svg'; import uiArrowUp from './../../assets/icons/ui-arrow-up.svg'; import uiArrowLeft from './../../assets/icons/ui-arrow-left.svg'; @@ -263,6 +264,7 @@ const ICONS = { 'tab-patient-info': tabPatientInfo, 'tab-roi-threshold': tabROIThreshold, 'tab-segmentation': tabSegmentation, + 'tab-studies': tabStudies, 'ui-arrow-down': uiArrowDown, 'ui-arrow-up': uiArrowUp, 'ui-arrow-left': uiArrowLeft,