2025-01-23 20:24:13 +01:00
|
|
|
import defaultContextMenuCustomization from './customizations/defaultContextMenuCustomization';
|
|
|
|
|
import helloPageCustomization from './customizations/helloPageCustomization';
|
|
|
|
|
import datasourcesCustomization from './customizations/datasourcesCustomization';
|
|
|
|
|
import multimonitorCustomization from './customizations/multimonitorCustomization';
|
|
|
|
|
import customRoutesCustomization from './customizations/customRoutesCustomization';
|
|
|
|
|
import studyBrowserCustomization from './customizations/studyBrowserCustomization';
|
|
|
|
|
import overlayItemCustomization from './customizations/overlayItemCustomization';
|
|
|
|
|
import contextMenuCustomization from './customizations/contextMenuCustomization';
|
2025-02-03 15:18:00 +01:00
|
|
|
import contextMenuUICustomization from './customizations/contextMenuUICustomization';
|
2025-01-23 20:24:13 +01:00
|
|
|
import menuContentCustomization from './customizations/menuContentCustomization';
|
|
|
|
|
import getDataSourceConfigurationCustomization from './customizations/dataSourceConfigurationCustomization';
|
|
|
|
|
import progressDropdownCustomization from './customizations/progressDropdownCustomization';
|
|
|
|
|
import sortingCriteriaCustomization from './customizations/sortingCriteriaCustomization';
|
2025-01-29 15:14:50 +01:00
|
|
|
import onDropHandlerCustomization from './customizations/onDropHandlerCustomization';
|
2025-02-03 15:18:00 +01:00
|
|
|
import loadingIndicatorProgressCustomization from './customizations/loadingIndicatorProgressCustomization';
|
|
|
|
|
import loadingIndicatorTotalPercentCustomization from './customizations/loadingIndicatorTotalPercentCustomization';
|
|
|
|
|
import progressLoadingBarCustomization from './customizations/progressLoadingBarCustomization';
|
|
|
|
|
import labellingFlowCustomization from './customizations/labellingFlowCustomization';
|
2025-02-04 14:46:39 +01:00
|
|
|
import viewportNotificationCustomization from './customizations/notificationCustomization';
|
2025-02-28 21:17:55 +01:00
|
|
|
import aboutModalCustomization from './customizations/aboutModalCustomization';
|
2026-06-29 18:38:46 +02:00
|
|
|
import appearanceModalCustomization from './customizations/appearanceModalCustomization';
|
2025-02-28 21:17:55 +01:00
|
|
|
import userPreferencesCustomization from './customizations/userPreferencesCustomization';
|
|
|
|
|
import reportDialogCustomization from './customizations/reportDialogCustomization';
|
2025-02-25 19:32:30 +01:00
|
|
|
import hotkeyBindingsCustomization from './customizations/hotkeyBindingsCustomization';
|
|
|
|
|
import onboardingCustomization from './customizations/onboardingCustomization';
|
2025-07-17 14:11:26 +02:00
|
|
|
import instanceSortingCriteriaCustomization from './customizations/instanceSortingCriteriaCustomization';
|
2026-05-28 18:26:30 +02:00
|
|
|
import getWorkListCustomization from './customizations/workListCustomization';
|
2022-11-24 22:28:10 +01:00
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* Note: this is an example of how the customization module can be used
|
|
|
|
|
* using the customization module. Below, we are adding a new custom route
|
|
|
|
|
* to the application at the path /custom and rendering a custom component
|
|
|
|
|
* Real world use cases of the having a custom route would be to add a
|
|
|
|
|
* custom page for the user to view their profile, or to add a custom
|
|
|
|
|
* page for login etc.
|
|
|
|
|
*/
|
2023-09-01 22:19:39 +02:00
|
|
|
export default function getCustomizationModule({ servicesManager, extensionManager }) {
|
2022-11-24 22:28:10 +01:00
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
name: 'helloPage',
|
2025-01-23 20:24:13 +01:00
|
|
|
value: helloPageCustomization,
|
2022-11-24 22:28:10 +01:00
|
|
|
},
|
2026-06-29 18:38:46 +02:00
|
|
|
{
|
|
|
|
|
name: 'theme',
|
|
|
|
|
value: appearanceModalCustomization,
|
|
|
|
|
},
|
2023-02-03 22:56:27 +01:00
|
|
|
{
|
|
|
|
|
name: 'datasources',
|
2025-01-23 20:24:13 +01:00
|
|
|
value: datasourcesCustomization,
|
2023-02-03 22:56:27 +01:00
|
|
|
},
|
2025-01-13 16:49:08 +01:00
|
|
|
{
|
|
|
|
|
name: 'multimonitor',
|
2025-01-23 20:24:13 +01:00
|
|
|
value: multimonitorCustomization,
|
2025-01-13 16:49:08 +01:00
|
|
|
},
|
2023-03-09 23:12:08 +01:00
|
|
|
{
|
|
|
|
|
name: 'default',
|
2025-01-23 20:24:13 +01:00
|
|
|
value: {
|
|
|
|
|
...customRoutesCustomization,
|
|
|
|
|
...studyBrowserCustomization,
|
|
|
|
|
...overlayItemCustomization,
|
|
|
|
|
...contextMenuCustomization,
|
|
|
|
|
...menuContentCustomization,
|
|
|
|
|
...getDataSourceConfigurationCustomization({ servicesManager, extensionManager }),
|
|
|
|
|
...progressDropdownCustomization,
|
|
|
|
|
...sortingCriteriaCustomization,
|
|
|
|
|
...defaultContextMenuCustomization,
|
2025-01-29 15:14:50 +01:00
|
|
|
...onDropHandlerCustomization,
|
2025-02-03 15:18:00 +01:00
|
|
|
...loadingIndicatorProgressCustomization,
|
|
|
|
|
...loadingIndicatorTotalPercentCustomization,
|
|
|
|
|
...progressLoadingBarCustomization,
|
|
|
|
|
...labellingFlowCustomization,
|
|
|
|
|
...contextMenuUICustomization,
|
2025-02-04 14:46:39 +01:00
|
|
|
...viewportNotificationCustomization,
|
2025-02-28 21:17:55 +01:00
|
|
|
...aboutModalCustomization,
|
|
|
|
|
...userPreferencesCustomization,
|
|
|
|
|
...reportDialogCustomization,
|
2025-02-25 19:32:30 +01:00
|
|
|
...hotkeyBindingsCustomization,
|
|
|
|
|
...onboardingCustomization,
|
2025-07-17 14:11:26 +02:00
|
|
|
...instanceSortingCriteriaCustomization,
|
2026-05-28 18:26:30 +02:00
|
|
|
...getWorkListCustomization(),
|
2025-01-23 20:24:13 +01:00
|
|
|
},
|
2023-03-09 23:12:08 +01:00
|
|
|
},
|
2022-11-24 22:28:10 +01:00
|
|
|
];
|
|
|
|
|
}
|