ohif-viewer/platform/ui-next
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
..
.webpack feat: Update to use pnpm (#6031) 2026-06-12 16:04:56 -04:00
assets feat(image capture): Enhance SEG and RTSS Support with Dependency Updates and Bug Fixes (#4924) 2025-04-04 12:11:29 -04:00
src fix: Several new worklist issues (#6130) 2026-07-10 08:16:16 -04:00
31fb9346313fc3740d7b.woff2 chore(version): version.json [skip ci] 2025-03-11 13:58:47 +00:00
babel.config.js fix(security): Patch for Babel vulnerability (#5193) 2025-07-11 09:43:56 -04:00
CHANGELOG.md chore(version): Update package versions to 3.13.0-beta.89 [skip ci] 2026-06-10 00:29:36 +00:00
components.json chore(ui): creating a playground for the new components (#4301) 2024-07-26 11:04:58 -04:00
jest.config.js feat(component): Adds SmartScrollbar to ui-next - OHIF-2558 (#5924) 2026-04-06 09:21:13 -04:00
package.json chore(version): Update package versions to 3.13.0-beta.115 [skip ci] 2026-07-08 18:15:05 +00:00
tailwind.config.js ui(feat): Adds light/dark mode support for viewport overlay text and markers (#5041) 2025-05-15 17:12:53 -04:00
tsconfig.json feat(studies-panel): New OHIF study panel - under experimental flag (#4254) 2024-09-11 14:57:19 -04:00