Commit Graph

631 Commits

Author SHA1 Message Date
dannyrb
570424e3e9 Add support for LayoutSelector 2020-06-15 23:38:48 -04:00
James A. Petts
00f0ae4bbc By default other tool state not loaded into the viewport. (set disabled) 2020-06-15 12:09:48 +01: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
acc2537140 New @ohif/ui does not have ViewportDownloadForm; stub Hello World for time being 2020-06-14 23:44:03 -04:00
dannyrb
2d278be3fd Remove storeContexts for capture modal form 2020-06-14 23:43:31 -04:00
dannyrb
e104fb9fbd Clear showDownloadViewport command errors 2020-06-14 23:43:09 -04:00
dannyrb
8c1a844558 Nested toolbar w/ "sticky" when clicked 2020-06-14 23:42:44 -04:00
dannyrb
217d848f9f Do not expose cornerstone's toolbarModule 2020-06-14 21:58:37 -04:00
dannyrb
38203c9b31 Update example extension 2020-06-14 21:48:56 -04:00
dannyrb
f70392a52a Change toolbarModule scheme and extensionManager 2020-06-14 21:18:29 -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
James A. Petts
6f6fea973d WIP 2020-06-10 13:33:56 +01:00
James A. Petts
c8b3e130d0 WIP 2020-06-10 09:09:33 +01:00
dannyrb
fab7334696 Remove dead code; clean-up comments 2020-06-09 13:39:17 -04:00
dannyrb
3b81ebcc96 Clear studySummary state when no study is set 2020-06-09 13:38:27 -04:00
dannyrb
47f9e1391a update measurements panel when measurements change (debounced) 2020-06-09 13:38:09 -04:00
dannyrb
f3e783b63e wire up measurement service "removed" event w/ cornerstone ext 2020-06-09 13:37:26 -04:00
dannyrb
7a67b28c3f Fix sidepanel measurement calculation 2020-06-09 11:18:55 -04:00
dannyrb
dc5fb8b585 Make sure ViewportDialogs are full-width 2020-06-08 21:47:15 -04:00
dannyrb
5fde65a2c1 hide overlays 2020-06-08 21:47:01 -04:00
dannyrb
7700069e7c filter and update measurements when trackedMeasurements updates 2020-06-08 21:46:52 -04:00
dannyrb
10cbe9e1d4 clean up dead code in TrackedMeasurementsContext 2020-06-08 21:46:05 -04:00
dannyrb
3b7560a282 ability to "untrack" a series from thumbnail list 2020-06-07 12:31:18 -04:00
dannyrb
ffbf7b4a76 bubble up thumbnail "untrack" clicks to parent "StudyBrowser" component w/ prop drilling 2020-06-07 12:08:50 -04:00
dannyrb
0573cb18e6 Add support for SET_LAYOUT action on viewportGrid reducer 2020-06-07 11:48:13 -04:00
dannyrb
490eefdae0 Use viewportIndex from transition event to set viewportDialog placement 2020-06-07 11:25:11 -04:00
dannyrb
47b068afe4 Only add measurements after initial completion from csTools to MeasurementService 2020-06-07 11:23:47 -04:00
dannyrb
dcfb57ea16 remove console log 2020-06-07 11:17:39 -04:00
dannyrb
bd60b66977 Custom message per prompt type 2020-06-06 23:40:02 -04:00
dannyrb
2d903d731f simplify stateMachine 2020-06-06 23:35:12 -04:00
dannyrb
00f8d56a4e get ViewportDialog to display as a part of machine transition 2020-06-05 15:19:09 -04:00
James A. Petts
83497795ca Finish render tool other than rotated ellipse and clean up. 2020-06-05 17:59:07 +01:00
James A. Petts
f4470c9625 Generate render tool. 2020-06-05 16:36:11 +01:00
James A. Petts
7bd041a02c WIP 2020-06-05 09:19:43 +01:00
James A. Petts
e9db84c2c2 WIP 2020-06-04 19:39:32 +01:00
dannyrb
a4fc5e21b2 clean up study summary initial values and transitions 2020-06-04 12:49:09 -04:00
dannyrb
53407899e2 Set studySummary data 2020-06-04 12:18:57 -04:00
dannyrb
95249928a8 Replace measurementsPanel w/ a format that reduces nesting 2020-06-04 11:28:10 -04:00
James A. Petts
d39d103552 SR Viewport WIP 2020-06-04 13:26:06 +01:00
James A. Petts
99bf0e07b0 WIP SR Viewport. 2020-06-04 10:34:43 +01:00
dannyrb
98497f666c begin mapping measurement data to measurements table 2020-06-03 16:02:58 -04:00
dannyrb
9dd04122af pull in tracked measurements panel 2020-06-03 15:20:09 -04:00
dannyrb
70c39b9ad4 temporarily remove p10 loader 2020-06-03 14:30:29 -04:00
James A. Petts
558ab00c23 WIP SR viewport. 2020-06-03 18:12:13 +01:00
dannyrb
8674e676b7 viewportLabels for panel 2020-05-28 00:02:05 -04:00
dannyrb
b444836469 Set isTracked in actionbar 2020-05-27 23:16:41 -04:00
dannyrb
05a0bdc55b OHIFCornerstoneComponent from class component to function component 2020-05-27 23:09:06 -04:00
dannyrb
7a38b0048c Simplify cornerstone measurement subscriptions (short-term) 2020-05-27 22:21:00 -04:00
dannyrb
df95db6d15 Add referenceStudyUID to measurement schema 2020-05-27 22:20:40 -04:00
dannyrb
0a4af79b44 use measurement service to trigger state machine transitions 2020-05-27 22:20:17 -04:00
dannyrb
870489be1d Test state machine hook 2020-05-27 21:25:44 -04:00
dannyrb
c3dd2608b2 wire up some ActionBar data; default grid to 2x2 2020-05-27 08:56:52 -04:00
dannyrb
8117857a89 default to untracked 2020-05-27 08:32:27 -04:00
dannyrb
11a4d4227d Pull in correct context; add xstate package 2020-05-27 08:21:58 -04:00
dannyrb
9e893bbf90 Add ActionBar to UI (dummy) 2020-05-27 08:21:23 -04:00
dannyrb
e1c7a76025 Rename files to clarify they're "tracking" variants (simplify ide search) 2020-05-27 08:20:54 -04:00
dannyrb
e748eb1974 Beginning of TrackedMesurementContext 2020-05-27 08:20:30 -04:00
dannyrb
d510cc8ad2 casing change 2020-05-26 10:50:59 -04:00
dannyrb
591e21e287 casing change 2020-05-26 10:50:03 -04:00
dannyrb
38e60e297b longitudinal mode to use "tracked" thumbnails 2020-05-26 10:39:40 -04:00
dannyrb
d557acbb40 Support for additional "tracking" mode 2020-05-26 09:03:58 -04:00
dannyrb
fae21bed9c Allow empty slots for rightPanels and leftPanels 2020-05-26 09:02:47 -04:00
dannyrb
60c4a36cc5 Remove unused connectedCornerstoneViewport; guidance notes on how to migrate 2020-05-26 09:02:30 -04:00
dannyrb
7487cbb28c Hoist ViewportGrid context so UI Services can access/update it 2020-05-23 23:57:14 -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
3a78d313ac remove dead code 2020-05-23 20:48:09 -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
4a390bfb66 fix thumbnail persistence 2020-05-22 14:31:51 -04:00
dannyrb
23a94251fc map is not reactive 2020-05-21 20:51:48 -04:00
dannyrb
f87d18936e basic pub/sub refresh for tabs from displaysets from dicommetadata 2020-05-21 20:34:53 -04:00
dannyrb
1892ec2a2a fix incorrect argument to retrieve studies 2020-05-21 20:33:08 -04:00
dannyrb
715377c565 Move files around to confuse James and Erik 2020-05-21 16:24:35 -04:00
dannyrb
b5070dd518 Merge branch 'feat/ui-v2-rebase-services' of github.com:OHIF/Viewers into feat/ui-v2-rebase-services
# Conflicts:
#	platform/viewer/src/routes/Mode/Mode.jsx
2020-05-20 21:08:49 -04:00
dannyrb
a323157c62 capture changes 2020-05-20 21:07:25 -04:00
James A. Petts
a3e1c216c4 Working cornerstone tools buttons, needs UI updates + onClicks wrapped in toolbarService 2020-05-20 17:49:17 +01:00
James A. Petts
52d1b6276d Add in checks. 2020-05-20 12:59:10 +01: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
1c33914e27 Display regular thumbnail; not tracked variant 2020-05-19 23:15:13 -04:00
James A. Petts
d83c868cdd Working, needs optimisation. 2020-05-19 18:22:38 +01:00
James A. Petts
940e745d8d WIP bring back thumbnails. 2020-05-19 15:02:03 +01:00
James A. Petts
cf0e88bd0b Rebuild study browser reactivity. 2020-05-19 14:56:25 +01:00
James A. Petts
f7ae544716 WIP, wrap command manager controls so we can pass these to the UI component. 2020-05-19 13:01:39 +01:00
Erik Ziegler
d54bd5738e WIP reorganization for study browser (again) 2020-05-19 13:55:38 +02:00
James A. Petts
156b9cfd09 Pull in upstream. 2020-05-19 10:04:42 +01:00
James A. Petts
6a3e0db53e ToolBarService 2020-05-19 10:01:44 +01:00
Erik Ziegler
b65a91129e Still broken, but app runs 2020-05-19 10:59:50 +02:00
Erik Ziegler
66c7bd7492 Fix viewports 2020-05-19 09:11:16 +02:00
Erik Ziegler
755e6b5f77 wip: need to fix StackManager 2020-05-18 23:40:28 +02:00
Erik Ziegler
63cf079288 Make thumbnails display 2020-05-18 23:21:41 +02:00
dannyrb
c55d069e32 refactor how we slowly build our studies array 2020-05-18 16:20:39 -04:00
dannyrb
351e0f76d6 start cleaning up panels 2020-05-18 15:05:49 -04:00
Erik Ziegler
1bb204b9a5 Stop using children 2020-05-18 19:49:32 +02:00
Erik Ziegler
488bb5d266 Fixed! 2020-05-18 18:21:43 +02:00
Erik Ziegler
4e683ecdde still broken 2020-05-18 18:11:24 +02:00
James A. Petts
7a8418f64b WIP DisplaySetService 2020-05-18 16:21:57 +01:00
Erik Ziegler
10930cda68 Avoid re-renders in study browser and entire page 2020-05-16 15:08:06 +02:00