feat(new-study-panel): default to list view for non thumbnail series, change default fitler to all, and add more menu to thumbnail items with a dicom tag browser (#4417)
This commit is contained in:
1 parent
1d0259451f
commit
a7fd9fa5bf
74 files changed
+361
-478
No files matched your search
@@ -57,9 +57,6 @@ interface IMicroscopyPanelProps extends WithTranslation {
|
||||
servicesManager: AppTypes.ServicesManager;
|
||||
extensionManager: ExtensionManager;
|
||||
commandsManager: CommandsManager;
|
||||
renderHeader?: boolean;
|
||||
getCloseIcon?: PropTypes.func;
|
||||
tab: PropTypes.object;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -332,20 +329,6 @@ function MicroscopyPanel(props: IMicroscopyPanelProps) {
|
||||
|
||||
return (
|
||||
<>
|
||||
{props.renderHeader && (
|
||||
<>
|
||||
<div className="bg-primary-dark flex select-none rounded-t pt-1.5 pb-[2px]">
|
||||
<div className="flex h-[24px] w-full cursor-pointer select-none justify-center self-center text-[14px]">
|
||||
<div className="text-primary-active flex grow cursor-pointer select-none justify-center self-center text-[13px]">
|
||||
<span>{props.tab.label}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{props.getCloseIcon()}
|
||||
</div>
|
||||
<Separator orientation="horizontal" className="bg-black" thickness="2px" />
|
||||
</>
|
||||
)}{' '}
|
||||
<div
|
||||
className="ohif-scrollbar overflow-y-auto overflow-x-hidden"
|
||||
data-cy={'measurements-panel'}
|
||||
|
||||
@@ -13,7 +13,7 @@ export default function getPanelModule({
|
||||
extensionManager,
|
||||
servicesManager,
|
||||
}: Types.Extensions.ExtensionParams) {
|
||||
const wrappedMeasurementPanel = ({ renderHeader, getCloseIcon, tab }) => {
|
||||
const wrappedMeasurementPanel = ({}) => {
|
||||
const [{ activeViewportId, viewports }] = useViewportGrid();
|
||||
|
||||
return (
|
||||
@@ -25,9 +25,6 @@ export default function getPanelModule({
|
||||
commandsManager={commandsManager}
|
||||
servicesManager={servicesManager}
|
||||
extensionManager={extensionManager}
|
||||
renderHeader={renderHeader}
|
||||
getCloseIcon={getCloseIcon}
|
||||
tab={tab}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user