ohif-viewer/platform/core/src
Bill Wallace 6b6761088b
fix: Several new worklist issues (#6130)
* fix: Several new worklist issues

* refactor: Export a single OnStudyDoubleClick type from the StudyList barrel

Addresses PR review feedback: the double-click handler signature was
written out in both TableProps and the WorkList customization cast,
so the two could drift apart.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* feat: Run worklist study double-click as a command, registrable by modes

- Modes can now export getCommandsModule on their definition; appInit
  registers it (via the new ExtensionManager.registerCommandsModule)
  before the mode is instantiated, in a new 'WORKLIST' commands context,
  so the commands are available on the worklist before any mode route
  is entered.
- The workList.onStudyDoubleClick customization is now a command run
  input (name/options) instead of a bare function, defaulting to the
  new launchDefaultMode command, which launches the default workflow
  falling back to the first applicable one. commandOptions.workflowId
  overrides it to a specific mode.
- Duplicate mode ids are now skipped before running their modeFactory
  rather than after.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 08:16:16 -04:00
..
__mocks__ chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
classes feat: Add support for labelmap seg images in any supported tsuid (also for compressed bitmap) (#5806) 2026-07-09 20:54:23 -04:00
contextProviders feat: add viewport overlays to microscopy mode (#4776) 2025-02-11 12:39:45 -05:00
DataSources feat(DataSource): Allow for dynamic data source configuration and creation (#3543) 2023-07-20 11:43:05 -04:00
defaults fix(hotkeyBindings): consolidate Escape hotkey behavior for contour drawing tools (#6104) 2026-06-26 08:20:22 -04:00
DICOMWeb [Ready] fix 5288 removal of accept header options in retrieve metadata (#5293) 2025-10-16 20:01:34 -04:00
enums fix(demo): Deploy issue (#3951) 2024-02-22 14:42:46 -05:00
extensions fix: Several new worklist issues (#6130) 2026-07-10 08:16:16 -04:00
hooks feature(segmentation): Add contour tools and utilities in a side panel (#5517) 2025-10-29 14:15:52 -04:00
measurements/tools feat(SR): Measurement adapter mappings and save to same series (#3140) 2023-02-17 16:44:21 -05:00
services feat: Add customization URL parameter (#5992) 2026-07-07 15:30:27 -04:00
types feat: Add customization URL parameter (#5992) 2026-07-07 15:30:27 -04:00
utils feat: Add support for labelmap seg images in any supported tsuid (also for compressed bitmap) (#5806) 2026-07-09 20:54:23 -04:00
errorHandler.js feat: configuration to hook into XHR Error handling 2020-04-22 22:01:34 -04:00
ie.js Chore/kill yalc with fire (#629) 2019-08-13 15:36:46 -04:00
index.ts fix: A couple of changes to enable cs3d integration build (#5944) 2026-04-10 16:51:37 -04:00
log.js feat(debug): Add timing information about time to first image/all images, and query time (#3681) 2023-10-03 17:01:00 -04:00
object.js lint(curly): consistent use of curly brackets in codebase (#3584) 2023-08-09 10:07:33 -04:00
string.js chore(prettier): full repo linting and code reformatting once and for all (#3627) 2023-09-01 16:19:39 -04:00
user.ts [Ready] fix 5288 removal of accept header options in retrieve metadata (#5293) 2025-10-16 20:01:34 -04:00