Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idc update #8

Merged
merged 42 commits into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
bb5f30c
feat: 🎸 Update react-vtkjs-viewport usage to use requestPool (#1984)
JamesAPetts Aug 18, 2020
ca511ed
chore(release): publish [skip ci]
ohif-bot Aug 18, 2020
cd73dd3
fix: Avoid lerna:restore unless we are on Netlify (closes #1926, #1996)
swederik Aug 19, 2020
09745a0
wip
swederik Aug 19, 2020
829ac2b
fix: Avoid lerna:restore unless we are on Netlify (closes #1926, #199…
swederik Aug 19, 2020
ebdcde1
fix: Fix incorrect command name in Percy test (#1999)
swederik Aug 19, 2020
3b02a06
perf(stackPrefetch): Added stackPrefetch config with 20 max concurren…
Alex979 Aug 20, 2020
71b6b45
chore(release): publish [skip ci]
ohif-bot Aug 20, 2020
5fdace1
feat: 🎸 Filter/promote multiple series instances (#1533)
ladeirarodolfo Aug 20, 2020
248bc0a
chore(release): publish [skip ci]
ohif-bot Aug 20, 2020
59ab68b
fix: Updated react-cornerstone-viewport to version 4.0.2 (#2001)
Alex979 Aug 20, 2020
7f3ca1f
chore(release): publish [skip ci]
ohif-bot Aug 20, 2020
779a7e0
fix: 🐛 Fail gracefully on an MPR load error (#1992)
JamesAPetts Aug 24, 2020
ef28fa2
chore(release): publish [skip ci]
ohif-bot Aug 24, 2020
dbf0501
[IDC-1994] Sort series list by SeriesNumber, and sort by same SeriesN…
JamesAPetts Aug 28, 2020
29dcc82
chore(release): publish [skip ci]
ohif-bot Aug 28, 2020
a8caf4b
[IDC-2017] Harden segmentation import to support more SEGs (#2024)
JamesAPetts Sep 2, 2020
6a37a2a
chore(release): publish [skip ci]
ohif-bot Sep 2, 2020
a1dee16
[IDC-1939] Debug Dialog part 1 (#2011)
JamesAPetts Sep 3, 2020
45ca88f
chore(release): publish [skip ci]
ohif-bot Sep 3, 2020
f389790
IDC-1532 multiple series search google (#2026)
JamesAPetts Sep 3, 2020
e5b578b
chore(release): publish [skip ci]
ohif-bot Sep 3, 2020
d9231fd
Split query parameter calls. (#2035)
JamesAPetts Sep 9, 2020
48eb4a9
chore(release): publish [skip ci]
ohif-bot Sep 9, 2020
5cb6e63
[IDC-1672] Highlight SEG segment/ RT structure when click to jump. (#…
JamesAPetts Sep 10, 2020
a7b5f18
chore(release): publish [skip ci]
ohif-bot Sep 10, 2020
0ef88e8
[IDC-1129] - DICOM Tag Viewer extension (#2022)
JamesAPetts Sep 10, 2020
5a78da8
chore(release): publish [skip ci]
ohif-bot Sep 10, 2020
42803b0
[IDC-2006] - optional mailTo for debugging extension. (#2027)
JamesAPetts Sep 17, 2020
fab122d
chore(release): publish [skip ci]
ohif-bot Sep 17, 2020
bb1cdbd
[IDC-1905] Hover tooltips for Segmentation + RTSTRUCT extension (#2044)
JamesAPetts Sep 17, 2020
6cf72d1
chore(release): publish [skip ci]
ohif-bot Sep 17, 2020
ccdfcd4
[IDC-2049] Sort Tags in Tag browser split items in sequences, add ind…
JamesAPetts Sep 24, 2020
b8d241f
chore(release): publish [skip ci]
ohif-bot Sep 24, 2020
ea0fc07
Update react-cornerstone-viewport for performance improvements (#2062)
JamesAPetts Sep 29, 2020
cffc44f
chore(release): publish [skip ci]
ohif-bot Sep 29, 2020
8bc467f
[IDC-2052] PWA start url (#2070)
WoonchanCho Sep 30, 2020
48ecbc2
chore(release): publish [skip ci]
ohif-bot Sep 30, 2020
bea31d5
fix: Enable port changes for Docker image using the PORT variable (#2…
nbyl Sep 30, 2020
91364db
fix: use SeriesMetadata method instead of property in findMostRecentS…
slak44 Sep 30, 2020
11c1d12
chore(release): publish [skip ci]
ohif-bot Sep 30, 2020
73ad677
Pull in master and test features work.
JamesAPetts Oct 7, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .docker/Viewer-v2.x/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ if [ -n "$CLIENT_ID" ] || [ -n "$HEALTHCARE_API_ENDPOINT" ]
cp /usr/share/nginx/html/google.js /usr/share/nginx/html/app-config.js
fi

if [ -n "${PORT}" ]
then
echo "Changing port to ${PORT}..."
sed -i -e "s/listen 80/listen ${PORT}/g" /etc/nginx/conf.d/default.conf
fi

echo "Starting Nginx to serve the OHIF Viewer..."

exec "$@"
61 changes: 61 additions & 0 deletions extensions/cornerstone/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,68 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<<<<<<< HEAD
## [2.9.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-03)
=======
## [2.9.5](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-29)

**Note:** Version bump only for package @ohif/extension-cornerstone





## [2.9.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-03)

**Note:** Version bump only for package @ohif/extension-cornerstone





## [2.9.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-02)

**Note:** Version bump only for package @ohif/extension-cornerstone





## [2.9.2](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-20)


### Bug Fixes

* Updated react-cornerstone-viewport to version 4.0.2 ([#2001](https://github.com/OHIF/Viewers/issues/2001)) ([59ab68b](https://github.com/OHIF/Viewers/commit/59ab68b4edbfec010170c4429c300a53f688bf94))





## [2.9.1](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-20)


### Performance Improvements

* **stackPrefetch:** Added stackPrefetch config with 20 max concurrent requests ([#2000](https://github.com/OHIF/Viewers/issues/2000)) ([3b02a06](https://github.com/OHIF/Viewers/commit/3b02a06f5e250660edde4862ce44147db3dc3ab9))





# [2.9.0](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-18)


### Features

* 🎸 Update react-vtkjs-viewport usage to use requestPool ([#1984](https://github.com/OHIF/Viewers/issues/1984)) ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9))





## [2.8.5](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-05)
>>>>>>> upstream/master

**Note:** Version bump only for package @ohif/extension-cornerstone

Expand Down
4 changes: 2 additions & 2 deletions extensions/cornerstone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-cornerstone",
"version": "2.9.4",
"version": "2.9.5",
"description": "OHIF extension for Cornerstone",
"author": "OHIF",
"license": "MIT",
Expand Down Expand Up @@ -51,6 +51,6 @@
"classnames": "^2.2.6",
"lodash.merge": "^4.6.2",
"lodash.throttle": "^4.1.1",
"react-cornerstone-viewport": "4.0.2"
"react-cornerstone-viewport": "4.0.4"
}
}
5 changes: 5 additions & 0 deletions extensions/debugging/src/DebugReportModal.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
display: flex;
flex-direction: column;
}

.debug-report-modal-buttons-container {
display: flex;
flex-direction: row;
}
48 changes: 38 additions & 10 deletions extensions/debugging/src/DebugReportModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,21 @@ const DubugReportModal = ({
servers,
extensionManager,
mailTo,
debugModalMessage,
}) => {
const mailToFunction = () => {
const StudyInstanceUID = Object.keys(studies.studyData)[0];
const copyDebugDataToClipboard = () => {
const body = getEmailBody();

const subject = encodeURI(`Issue with Study: ${StudyInstanceUID}`);
const textArea = document.createElement('textarea');

textArea.value = body;
document.body.appendChild(textArea);
textArea.select();
document.execCommand('copy');
document.body.removeChild(textArea);
};

const getEmailBody = () => {
let body = `Enter the description of your problem here: \n\n\n`;

body += `============= SESSION INFO =============\n\n`;
Expand Down Expand Up @@ -55,13 +64,11 @@ const DubugReportModal = ({
body += `URL\t ${window.location.href}\n\n`;

// Layout

const { numRows, numColumns, viewportSpecificData } = viewports;

body += '== Viewport Layout ==\n';
body += `Rows\t${numRows}\n`;
body += `Columns\t${numColumns}\n\n`;

body += '== Viewports ==\n';

Object.keys(viewportSpecificData).forEach(viewportIndex => {
Expand All @@ -75,6 +82,16 @@ const DubugReportModal = ({
body += `[${row},${column}]\t${vsd.SeriesInstanceUID}\n`;
});

return body;
};

const mailToFunction = () => {
const StudyInstanceUID = Object.keys(studies.studyData)[0];

const subject = encodeURI(`Issue with Study: ${StudyInstanceUID}`);

let body = getEmailBody();

// TODO Text dump of rest of stuff.

body = encodeURI(body);
Expand All @@ -84,16 +101,27 @@ const DubugReportModal = ({

return (
<div className="debug-report-modal-container">
{mailTo ? (
{debugModalMessage ? <p>{debugModalMessage}</p> : null}
<div className="debug-report-modal-buttons-container">
{mailTo ? (
<div>
<ToolbarButton
label={'Send Bug Report'}
onClick={mailToFunction}
icon={'envelope-square'}
isActive={false}
/>
</div>
) : null}
<div>
<ToolbarButton
label={'Send Bug Report'}
onClick={mailToFunction}
icon={'envelope-square'}
label={'Copy To Clipboard'}
onClick={copyDebugDataToClipboard}
icon={'clipboard'}
isActive={false}
/>
</div>
) : null}
</div>
<div>
<table>
{getAppVersion()}
Expand Down
1 change: 1 addition & 0 deletions extensions/debugging/src/commandsModule.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function getCommands(context, servicesManager, extensionManager) {
servers={servers}
extensionManager={extensionManager}
mailTo={state.mailTo}
debugModalMessage={state.debugModalMessage}
/>
);
};
Expand Down
10 changes: 8 additions & 2 deletions extensions/debugging/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,14 @@ export default {
sharedContext.dicomWebClient = dicomWebClient;
}

if (configuration && configuration.mailTo) {
state.mailTo = configuration.mailTo;
if (configuration) {
if (configuration.mailTo) {
state.mailTo = configuration.mailTo;
}

if (configuration.debugModalMessage) {
state.debugModalMessage = configuration.debugModalMessage;
}
}
},

Expand Down
2 changes: 1 addition & 1 deletion extensions/debugging/src/state.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const state = { mailTo: undefined };
const state = { mailTo: undefined, debugModalMessage: undefined };

export default state;
12 changes: 12 additions & 0 deletions extensions/dicom-pdf/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ All notable changes to this project will be documented in this file. See

**Note:** Version bump only for package @ohif/extension-dicom-pdf

## [1.0.5](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-03)

**Note:** Version bump only for package @ohif/extension-dicom-pdf

## [1.0.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-28)

**Note:** Version bump only for package @ohif/extension-dicom-pdf

## [1.0.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-04-02)

**Note:** Version bump only for package @ohif/extension-dicom-pdf

## [1.0.2](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-03-09)

**Note:** Version bump only for package @ohif/extension-dicom-pdf
Expand Down
59 changes: 59 additions & 0 deletions extensions/dicom-rt/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,69 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.6](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-17)

**Note:** Version bump only for package @ohif/extension-dicom-rt





## [0.4.5](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-rt





## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-rt





## [0.4.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-03)

**Note:** Version bump only for package @ohif/extension-dicom-rt





## [0.4.2](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-02)

**Note:** Version bump only for package @ohif/extension-dicom-rt





## [0.4.1](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-28)

**Note:** Version bump only for package @ohif/extension-dicom-rt





# [0.4.0](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-18)


### Features

* 🎸 Update react-vtkjs-viewport usage to use requestPool ([#1984](https://github.com/OHIF/Viewers/issues/1984)) ([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9))





# [0.3.0](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-10)

**Note:** Version bump only for package @ohif/extension-dicom-rt

## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-rt
Expand Down
2 changes: 1 addition & 1 deletion extensions/dicom-rt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-rt",
"version": "0.4.5",
"version": "0.4.6",
"description": "OHIF extension for rendering DICOM RTSTRUCTs on top of cornerstone images.",
"author": "OHIF",
"license": "MIT",
Expand Down
32 changes: 32 additions & 0 deletions extensions/dicom-segmentation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file. See
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.4.6](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-17)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.4.5](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation
Expand Down Expand Up @@ -35,6 +39,34 @@ All notable changes to this project will be documented in this file. See

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.4.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.4.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-03)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.4.2](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-02)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.4.1](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-28)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

# [0.4.0](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-18)

### Features

- 🎸 Update react-vtkjs-viewport usage to use requestPool
([#1984](https://github.com/OHIF/Viewers/issues/1984))
([bb5f30c](https://github.com/OHIF/Viewers/commit/bb5f30ce2a0192d2e021beaaadfff22fd38e17b9))

## [0.3.4](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-08-10)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation

## [0.3.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-07-13)

**Note:** Version bump only for package @ohif/extension-dicom-segmentation
Expand Down
2 changes: 1 addition & 1 deletion extensions/dicom-segmentation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-segmentation",
"version": "0.4.5",
"version": "0.4.6",
"description": "OHIF extension for viewing segmentations in the 2D MPR view",
"author": "OHIF",
"license": "MIT",
Expand Down
8 changes: 8 additions & 0 deletions extensions/dicom-tag-browser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.3](https://github.com/OHIF/Viewers/compare/@ohif/[email protected]...@ohif/[email protected]) (2020-09-24)

**Note:** Version bump only for package @ohif/extension-dicom-tag-browser





## 0.0.2 (2020-09-10)

**Note:** Version bump only for package @ohif/extension-dicom-tag-browser
2 changes: 1 addition & 1 deletion extensions/dicom-tag-browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ohif/extension-dicom-tag-browser",
"version": "0.0.2",
"version": "0.0.3",
"description": "OHIF extension for checking DICOM headers.",
"author": "OHIF",
"license": "MIT",
Expand Down
Loading