Skip to content

Commit

Permalink
Implement Pacs Query for oxidicom (#1125)
Browse files Browse the repository at this point in the history
* feat: Implement pacs query retrieve with oxidicom

* refactor: restore all the functionalities of the series card

* feat: Continue polling from where the user last left off on the page

* refactor: Remove unused imports

* feat: When a user hits 'pull study' and a series is already being retrieved, skip retrieval
  • Loading branch information
PintoGideon authored Mar 27, 2024
1 parent c2d0cd6 commit 54cad39
Show file tree
Hide file tree
Showing 15 changed files with 503 additions and 873 deletions.
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"@niivue/niivue": "^0.39.0",
"@patternfly/react-catalog-view-extension": "^5.0.0",
"@patternfly/react-charts": "^7.1.2",
"@patternfly/react-core": "^5.2.0",
"@patternfly/react-core": "^5.2.3",
"@patternfly/react-log-viewer": "^5.1.0",
"@patternfly/react-table": "^5.2.0",
"@patternfly/react-table": "^5.2.4",
"@react-hook/resize-observer": "^1.2.6",
"@tanstack/react-query": "^5.17.15",
"antd": "^5.14.1",
Expand Down
23 changes: 0 additions & 23 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,6 @@
padding-block-end: 0;
}

.series-actions {
margin: -1em -1em 1em -1em;
height: 8em;
overflow: hidden;
position: relative;
}

.action-button-container {
position: absolute;
top: 0;
width: 100%;
height: 100%;
padding: 1em;
text-align: center;
}

.action-button-container[class~="hover"] {
opacity: 0;
transition: opacity 0.25s ease;
&:hover {
opacity: 1;
}
}

.small-button {
width: 20px;
Expand Down
6 changes: 6 additions & 0 deletions src/components/Icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ import {
SearchPlusIcon,
SearchIcon,
InfoIcon,
DatabaseIcon,
QuestionCircleIcon,
ThLargeIcon,
} from "@patternfly/react-icons";

const MergeIcon = () => {
Expand Down Expand Up @@ -223,4 +226,7 @@ export {
InfoIcon,
RulerIcon,
BrightnessIcon,
DatabaseIcon as LibraryIcon,
QuestionCircleIcon,
ThLargeIcon,
};
4 changes: 4 additions & 0 deletions src/components/LibraryCopy/Browser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const Browser = ({ handleFolderClick, folders, files, path }: BrowserProps) => {
}}
hasGutter
>
{folders && folders.length > 0 && (
<div>Number of Folders: {folders.length}</div>
)}
{files && files.length > 0 && <div>Number of Files : {files.length}</div>}
{files &&
files.length > 0 &&
files.map((file) => {
Expand Down
Loading

0 comments on commit 54cad39

Please sign in to comment.