feat: Add White Labelling, Hanging Protocols, and tons of Extensions / Mode fixes

* modified

* new files in existing extensions/libraries/modes

* fixed bugs and tests

* Clean up

* fix: viewport display fixed

* Fixed configs for deployment

* Removed unnecessary files and functions

* Fixed default HP module

* Added white labelling

* Fixed hash routing

* Removed unnecessary routers

Co-authored-by: Alireza Sedghi <ar.sedghi@gmail.com>
This commit is contained in:
Erik ZieglerandAlireza Sedghi authored and GitHub committed 2021-05-28 14:32:48 -04:00
1 parent 0db81b30f3
commit 99b8dc4759
93 files changed
+3825 -1293

No files matched your search

@@ -8,8 +8,10 @@ import React, {
import PropTypes from 'prop-types';
const DEFAULT_STATE = {
numRows: 1,
numCols: 1,
// starting from null, hanging
// protocol will defined number of rows and cols
numRows: null,
numCols: null,
viewports: [
/*
* {
@@ -58,12 +60,14 @@ export function ViewportGridProvider({ children, service }) {
}
case 'RESET': {
return {
numCols: 1,
numRows: 1,
numCols: null,
numRows: null,
activeViewportIndex: 0,
viewports: [{
displaySetInstanceUID: null,
}],
viewports: [
{
displaySetInstanceUID: null,
},
],
cachedLayout: null,
};
}