Commit Graph

535 Commits

Author SHA1 Message Date
igoroctaviano
04baaf941b Update snackbar styles 2020-06-30 14:25:10 -03:00
igoroctaviano
5ca6757b44 Add error message of generate reportt 2020-06-30 14:02:23 -03:00
igoroctaviano
d94bc2d5a2 Merge branch 'feat/v2-main' of github.com:OHIF/Viewers into feat/ohif-179 2020-06-30 12:43:19 -03:00
igoroctaviano
1bfb62d26d Add messages to sr pacs 2020-06-30 12:33:38 -03:00
James Petts
2c11609c55
OHIF-198 - Jump to thumbnail when a new displaySet is added (#1834)
* Viewport letter only in multi-viewport layout.

* If SliceThickness not available print N/A

* Create displaySet in local session on SR generation.

* Jump to thumbnail when a new displaySet is added with the madeInClient property.

* Check if scrollIntoView exists.
2020-06-30 16:27:35 +01:00
Danny Brown
d5d219c271
Merge pull request #1831 from OHIF/feat/ohif-203
OHIF-203: Add new viewport overlay
2020-06-30 08:41:20 -04:00
James Petts
d266b944c2
[OHIF-192] - Viewport letter only if using multiple viewport layout. (#1822)
* Viewport letter only in multi-viewport layout.

* If SliceThickness not available print N/A
2020-06-30 11:41:50 +01:00
dannyrb
a0b0f365dd Handle for interaction outside of the ViewportDialog (default to cancel) 2020-06-29 23:29:40 -04:00
igoroctaviano
9e2ed50e79 add new overlay 2020-06-29 18:05:52 -03:00
Danny Brown
6db780842e
Merge pull request #1827 from OHIF/feat/ohif-127-196
OHIF-127-196-191: Hotkeys config and defaults
2020-06-29 15:09:06 -04:00
igoroctaviano
fc9a0941db Fix problem with focus 2020-06-29 15:30:22 -03:00
Danny Brown
0594525301
Merge pull request #1823 from OHIF/fix/minor-defects
fix: sort number of instances | format date in study panel
2020-06-29 12:45:56 -04:00
Danny Brown
aa402183f4
Merge pull request #1824 from OHIF/feat/ohif-125
OHIF-125: Error boundaries
2020-06-26 16:47:52 -04:00
Danny Brown
baf6093fca
Merge pull request #1825 from OHIF/feat/ohif-195
OHIF-195: Update "More Menu" toolbar icons to use previous versions
2020-06-26 16:43:45 -04:00
igoroctaviano
b18e5099d9 Add more icons 2020-06-26 17:03:17 -03:00
igoroctaviano
550564d60f Add more icons 2020-06-26 16:59:47 -03:00
igoroctaviano
9bd1ce734c Add more icons 2020-06-26 16:56:19 -03:00
igoroctaviano
f5b78536d2 Add old icons 2020-06-26 16:49:34 -03:00
Rodrigo Antinarelli
9145215596 move formatDate to ohif/core 2020-06-26 16:17:25 -03:00
Danny Brown
1931d45450
Merge branch 'feat/v2-main' into dannyrb/ohif-154/restore-command-functionality-for-toolbar 2020-06-26 14:26:35 -04:00
dannyrb
8339154820 Clean up old comments 2020-06-26 14:17:45 -04:00
igoroctaviano
b34a9880f7 Use modal as default fallback 2020-06-26 14:47:18 -03:00
Rodrigo Antinarelli
a5170076db fix date format 2020-06-26 14:29:25 -03:00
dannyrb
aa4e88c2fa Set initial state for provider; fix useReducer usage 2020-06-26 13:29:10 -04:00
Rodrigo Antinarelli
cdc88ff552 fix learn more 2020-06-26 12:59:06 -03:00
Rodrigo Antinarelli
c93faf628b nuke inputnumber 2020-06-26 12:44:30 -03:00
Rodrigo Antinarelli
0d53346d61 Merge branch 'feat/v2-main' of https://github.com/OHIF/Viewers into feat/ui-v2-Dropdown 2020-06-26 12:42:56 -03:00
igoroctaviano
a197b887fb Merge branch 'feat/v2-main' of github.com:OHIF/Viewers into feat/ohif-125 2020-06-26 12:38:18 -03:00
igoroctaviano
34afb12c6f Add proptypes 2020-06-26 12:38:10 -03:00
Rodrigo Antinarelli
edd4a4118c
feat: Modal + ViewportDownloadForm (#1799)
* feat: Modal + ViewportDownloadForm

* styles for image preview box

* modal update & close handler

* open modal for Learn More (search info)

* change modal default alignment

* Update platform/ui/src/components/InputNumber/InputNumber.mdx

* nuke inputNumber and use inputText with refactor

* make input more reusable

* revert inputText "number" stuff

* replace inputText to Input

* fix input spacing + label

* fix modal overlay classes

* fix inline styles

* fix onclick learn more

* fix close icon

* revert transition

* remove inline styles

* remove unecessary stuff
2020-06-26 16:34:43 +01:00
Rodrigo Antinarelli
d220dd2489 create dropdown documentation 2020-06-26 12:34:10 -03:00
Rodrigo Antinarelli
ec48801be7 fix: instances should not be able to sort 2020-06-26 12:20:18 -03:00
Igor Octaviano
554b9a0db4
OHIF-174: Patient Info Icon should be clickable and show the correct details (#1816)
* Update patient info to be clickable and update fields in viewers

* Add spacing

* Remove log

* round number

* Add default
2020-06-26 16:05:29 +01:00
Igor Octaviano
101efa4cf4
Add simple loading and default state to datasourcewrapper (#1815) 2020-06-26 15:08:16 +01:00
igoroctaviano
e9696894a9 Add error boundary 2020-06-26 10:26:50 -03:00
Rodrigo Antinarelli
eeeaa8d1da fix tailwind class 2020-06-25 18:45:28 -03:00
dannyrb
dfbf32fe43 Add "todo" notes for next work day 2020-06-25 17:02:10 -04:00
dannyrb
6e873cc92a Expose ViewportGridService API methods to extensions 2020-06-25 17:00:42 -04:00
igoroctaviano
5d89460326 Merge branch 'feat/v2-main' of github.com:OHIF/Viewers into feat/ohif-151 2020-06-25 16:13:47 -03:00
Danny Brown
9c3159cc15
more descriptive comment for isDisabled prop 2020-06-25 15:06:14 -04:00
Rodrigo Antinarelli
b0935e4fb6 fix icon size 2020-06-25 15:42:36 -03:00
Danny Brown
11932f460e
Merge pull request #1813 from OHIF/feat/v2-main
catch-up
2020-06-25 14:39:45 -04:00
igoroctaviano
44297af965 Create window level dropdown menu 2020-06-25 15:27:42 -03:00
Rodrigo Antinarelli
547e11d877 minor fix class order 2020-06-25 13:52:40 -03:00
Rodrigo Antinarelli
e70c7a455a split dropdown item into a separated render component 2020-06-25 13:46:24 -03:00
James Petts
c01466762d
WIP Measurements service. (#1808) 2020-06-25 17:13:31 +01:00
igoroctaviano
911f93d378 Update toolbar service and add active icon in nested button 2020-06-24 12:11:54 -03:00
Rodrigo Antinarelli
a19c1acd7b fix dropdown title 2020-06-24 01:27:02 -03:00
Rodrigo Antinarelli
987dae9b2d fix dropdown 2020-06-24 01:16:39 -03:00
Rodrigo Antinarelli
9745f06c4c fix eventListener 2020-06-23 23:40:35 -03:00
Rodrigo Antinarelli
70cf31b449 fix navbar height 2020-06-23 00:10:44 -03:00
Rodrigo Antinarelli
aecd3d9071 change modal default alignment 2020-06-23 00:09:49 -03:00
Rodrigo Antinarelli
487bcf043b feat: Dropdown component 2020-06-23 00:09:31 -03:00
Rodrigo Antinarelli
92a2071a04 open modal for Learn More (search info) 2020-06-22 22:38:52 -03:00
Rodrigo Antinarelli
248639777e modal update & close handler 2020-06-22 22:38:39 -03:00
Rodrigo Antinarelli
c89f3682cc styles for image preview box 2020-06-22 20:14:59 -03:00
Rodrigo Antinarelli
a538824cc7 feat: Modal + ViewportDownloadForm 2020-06-19 20:59:09 -03:00
dannyrb
0717893e56 Force descriptions to wrap if they would overflow container (thumbnails) 2020-06-16 23:15:40 -04:00
dannyrb
5eb06d0916 Wire up mode buttons to mode routes; Expose displayName; 2020-06-16 22:06:54 -04:00
dannyrb
6e65e7eaf5 Conditionally show left/right and userinfo for active viewport 2020-06-16 00:56:54 -04:00
dannyrb
27e62949ce Allow null content for ToolTip content 2020-06-16 00:44:33 -04:00
dannyrb
c264b32e7d Swap rows/cols 2020-06-16 00:44:19 -04:00
dannyrb
570424e3e9 Add support for LayoutSelector 2020-06-15 23:38:48 -04:00
dannyrb
3a15702907 Have content assume it's jsx/node 2020-06-15 23:37:04 -04:00
James A. Petts
e7501933dd Pull in master 2020-06-15 09:23:35 +01:00
dannyrb
9146a9ee32 Create new ToolbarButton type for Layout Selector; wire up custom UI; prep for viewportGridService usage 2020-06-15 00:51:36 -04:00
dannyrb
8c1a844558 Nested toolbar w/ "sticky" when clicked 2020-06-14 23:42:44 -04:00
dannyrb
3cec88b552 remove "Toolbar" and ViewportToolbar from @ohif/ui
Unecessary wrappers for displaying ToolbarButtons
2020-06-14 21:57:45 -04:00
James A. Petts
c5e6e97980 Merge in feat/ui-v2-rebase-services 2020-06-11 17:26:38 +01:00
James A. Petts
2fc171e297 Enable non-thumbnail entries in thumbnail list. 2020-06-10 14:10:00 +01:00
dannyrb
ffbf7b4a76 bubble up thumbnail "untrack" clicks to parent "StudyBrowser" component w/ prop drilling 2020-06-07 12:08:50 -04:00
dannyrb
fd3b7e7ee7 set interaction for viewportPane on mouse down 2020-06-07 11:17:28 -04:00
dannyrb
00f8d56a4e get ViewportDialog to display as a part of machine transition 2020-06-05 15:19:09 -04:00
dannyrb
a4fc5e21b2 clean up study summary initial values and transitions 2020-06-04 12:49:09 -04:00
dannyrb
66e8f7a592 bump docz version 2020-06-04 12:37:05 -04:00
dannyrb
17b6e3ca6c truncate and ellipse studysummary text 2020-06-04 12:18:44 -04:00
dannyrb
95249928a8 Replace measurementsPanel w/ a format that reduces nesting 2020-06-04 11:28:10 -04:00
dannyrb
74edfb0913 fix incorrect react-dnd backend 2020-06-03 15:08:19 -04:00
dannyrb
ecb458e37c bump yarn lock after gatsby version updates 2020-06-03 14:07:24 -04:00
dannyrb
765099f912 Flex column ordering for viewport panes 2020-05-27 08:32:39 -04:00
dannyrb
03c4136bac Note on how to clean up styling 2020-05-27 08:26:01 -04:00
dannyrb
e3e8bbd679 Decrease viewportActionBar series description max-width 2020-05-27 08:22:18 -04:00
dannyrb
38e60e297b longitudinal mode to use "tracked" thumbnails 2020-05-26 10:39:40 -04:00
dannyrb
ff371ece8d prefer onInteraction over more granular events for changing activeViewport 2020-05-25 08:43:04 -04:00
dannyrb
9b75d95e48 action on ViewportPanes for setting the active viewport 2020-05-24 22:34:01 -04:00
dannyrb
db76eac047 wire up UI Services 2020-05-23 23:38:20 -04:00
dannyrb
c9a4ab13ef empty viewport, prevent duplicate series meta from add, protect broadcast events when no data has changed 2020-05-23 22:15:21 -04:00
dannyrb
692f4c1ca5 remove uneccessary tabData check 2020-05-23 20:49:12 -04:00
dannyrb
40a62b1329 hoist state for expanded studies; allow multiple open 2020-05-22 15:47:38 -04:00
dannyrb
7c1dcb53c2 hoist activeTab state 2020-05-22 15:33:07 -04:00
dannyrb
a41a455237 user-select, none for study items 2020-05-22 15:14:16 -04:00
dannyrb
a323157c62 capture changes 2020-05-20 21:07:25 -04:00
dannyrb
c3373357ee dropped item logs displaySetInstanceUID 2020-05-19 23:34:56 -04:00
dannyrb
591da12536 Drag and drop w/ dragSource + dragTarget w/o errors 2020-05-19 23:28:41 -04:00
dannyrb
1333c2b89d Re-enable draggable thumbs 2020-05-19 23:15:33 -04:00
Erik Ziegler
d54bd5738e WIP reorganization for study browser (again) 2020-05-19 13:55:38 +02:00
Erik Ziegler
b65a91129e Still broken, but app runs 2020-05-19 10:59:50 +02:00
Erik Ziegler
755e6b5f77 wip: need to fix StackManager 2020-05-18 23:40:28 +02:00
Erik Ziegler
ba5d465aa9 Temporarily remove drag from thumbnails 2020-05-18 23:27:43 +02:00
James A. Petts
7a8418f64b WIP DisplaySetService 2020-05-18 16:21:57 +01:00
James A. Petts
649216fde4 Co-authored-by: Danny Brown <danny.ri.brown@gmail.com> 2020-05-18 14:46:05 +01:00
Erik Ziegler
10930cda68 Avoid re-renders in study browser and entire page 2020-05-16 15:08:06 +02:00
James A. Petts
4fc3169fed display viewport. 2020-05-15 18:07:21 +01:00
Erik Ziegler
7c0d93f011 Try to do study panel the way react wants 2020-05-15 15:56:57 +02:00
Erik Ziegler
264a72b566 Missing file 2020-05-15 14:30:47 +02:00
Erik Ziegler
f3f50d11fe Fixes after rebasing 2020-05-15 14:29:27 +02:00
Erik Ziegler
70b7158c9b StudyBrowser almost works 2020-05-15 13:09:46 +01:00
Erik Ziegler
ec2df02e83 Improve study browser 2020-05-15 13:06:23 +01:00
dannyrb
6044190ab1 Fine tune grid spacing 2020-05-15 13:05:56 +01:00
dannyrb
41c0b38bf7 expose className on ViewportPane 2020-05-15 13:05:55 +01:00
dannyrb
66e3aea773 update Viewer example to use updated components 2020-05-15 13:05:55 +01:00
dannyrb
50d0144e78 update docz examples to match new component api 2020-05-15 13:05:55 +01:00
dannyrb
d7cdc1c3ba Rename dndContext --> dndProvider 2020-05-15 13:05:55 +01:00
dannyrb
599204176c Add drag and drop provider 2020-05-15 13:05:55 +01:00
dannyrb
fe57becb2c Pull @ohif/ui ViewportPane into separate component and expose 2020-05-15 13:05:54 +01:00
dannyrb
f319092b84 Cleanup @ohif/ui ViewportGrid API 2020-05-15 13:05:52 +01:00
dannyrb
26450644ab add react-dnd 2020-05-15 13:04:54 +01:00
dannyrb
c1d399d543 export studyListTableRow from @ohif/ui 2020-05-15 13:02:02 +01:00
dannyrb
c532d94025 Default to truncating overflow text in series table 2020-05-15 13:02:02 +01:00
dannyrb
1107779a63 fix duplicate name/key render warning 2020-05-15 13:02:01 +01:00
dannyrb
053ed36e8f full circle ModalitiesInStudy filtering 2020-05-15 13:02:00 +01:00
dannyrb
17e2680da8 Update Select to work on an array of values; so long as values are contained in options array 2020-05-15 13:02:00 +01:00
dannyrb
92923789e5 fix daterange presets 2020-05-15 13:02:00 +01:00
dannyrb
8f284aafac apply start/end dates to qido search 2020-05-15 13:02:00 +01:00
dannyrb
2b8f527d8c round trip query string parameters for startDate and endDate; drop JSON stringify 2020-05-15 13:02:00 +01:00
dannyrb
36bc73579d Title hover for truncated text 2020-05-15 13:01:59 +01:00
dannyrb
8dac6d7318 truncate and show ellipsis for content outside of cell bounds 2020-05-15 13:01:59 +01:00
dannyrb
1b9c0fcfae Auto include collapse/expand icon for first column as a part of row component 2020-05-15 13:01:59 +01:00
dannyrb
e3b0f60e69 Can't select row text, but can select expanded content text 2020-05-15 13:01:58 +01:00
dannyrb
4c57335696 Rename setFilterValues prop to onChange 2020-05-15 13:01:24 +01:00
Gustavo André Lelis
e633eb80eb feat: Notification provider and service (#1703)
* Create basic structure for Viewport dialog provier and Dialog component

* Implementation of a UIViewportDialogService

* Update viewportDialogProvider docz

* Create example of use of UIViewportDialogService
2020-05-15 12:59:28 +01:00
Rodrigo Antinarelli
cee09fcf8d feat: OHIF-120 - Study List Route Template (#1693)
* fix pagination size

* clean up, start a very basic route configuration

* quick navigation between routes

* configure webpack to read .env variables

* export studylist filter

* split studylist filter into a component

* minor fix in studylist pagination

* update studylistfilter imports

* create studylist container with study list content

* moving file

* study list filter doc page

* catch change in ui-v2

* fix: 1px gap that shows text underneath

* Shift to routes folder

Co-authored-by: Danny Brown <danny.ri.brown@gmail.com>
2020-05-15 12:59:26 +01:00
Rodrigo Antinarelli
01b314522d feat: New @ohif/viewer project structure + routes (#1674)
* fix pagination size

* clean up, start a very basic route configuration

* quick navigation between routes

* configure webpack to read .env variables

* Move container components to Routes directory

* Fix naming of recipe file

* Clean up source folder

* update yarn.lock

* ci: update netlify deploy preview to build viewer project

* update PWA entrypoint to pass configuration on window to App as props

* fix: for missing key

* Pass routerBasename to our React Router component

* Simplify config for meow

Co-authored-by: dannyrb <danny.ri.brown@gmail.com>
2020-05-15 12:57:23 +01:00
Rodrigo Antinarelli
9a8bede80e fix small defects 2020-05-15 12:56:35 +01:00
Gustavo Lelis
11e58e70f6 Implement tooltip on remaining paces 2020-05-15 12:56:35 +01:00
Rodrigo Antinarelli
57f4f4691c update viewport documentation 2020-05-15 12:56:35 +01:00
Rodrigo Antinarelli
eafe158e62 clean up draft 2020-05-15 12:56:34 +01:00
Rodrigo Antinarelli
12d1ff6bea feat: Viewport API + Documentation Page 2020-05-15 12:56:32 +01:00
Rodrigo Antinarelli
5f9535a74b feat: Viewport component and API definition 2020-05-15 12:56:11 +01:00
Gustavo Lelis
08ebfd5865 Update sidePanel to support multiple components 2020-05-15 12:56:09 +01:00
Gustavo Lelis
802a8d5f1b Fix propTypes and update tracked series tag 2020-05-15 12:55:54 +01:00
Gustavo Lelis
928dc9f7b0 Updating mockData 2020-05-15 12:55:12 +01:00
Gustavo Lelis
19aec45797 Rename thumbnailSR 2020-05-15 12:55:12 +01:00
Gustavo Lelis
8ae21a97d8 Refactor Thumbnail component 2020-05-15 12:55:12 +01:00
Gustavo Lelis
61f10f024a Include theme min height 2020-05-15 12:55:12 +01:00
Gustavo Lelis
ad6b592a37 ThumbnailTracked component 2020-05-15 12:55:12 +01:00
Rodrigo Antinarelli
8e43bca3f2 fix: Update MeasurementTable doc page 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
54720368bf update documentation page 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
a3f2080834 feat: MeasurementsPanel API definition + content 2020-05-15 12:54:29 +01:00
Rodrigo Antinarelli
8f566c7ef4 update toolbar documentation page 2020-05-15 12:54:28 +01:00