Commit Graph

108 Commits

Author SHA1 Message Date
Ross 13361a30a5 Refactor DICOM viewer mounting logic and enhance container management
- Introduced a new `mountContainer` function to handle individual container mounting and unmounting.
- Added `shouldMountContainer` to determine if a container should be mounted based on provided options.
- Enhanced `parseToDescriptors` to improve parsing of image stack data, supporting both named stacks and plain arrays.
- Updated `mountDicomViewers` to utilize the new mounting logic and streamline container processing.
- Exposed `remountDicomViewer` globally for dynamic remounting of specific containers.
- Removed redundant debug logging and improved error handling for invalid data.
2026-05-18 14:07:33 +01:00
Ross 627cd740f1 Enhance debugging capabilities by adding detailed logging for thumbnail generation and viewer mounting processes 2026-05-18 13:14:15 +01:00
Ross af6e22fd91 Enhance viewport preset management by adding active preset tracking and applying presets on image changes 2026-05-18 12:39:08 +01:00
Ross 7b786fcf9f Refactor stack thumbnail management with dedicated setter and localStorage integration for stack panel width 2026-05-18 12:33:28 +01:00
Ross c9902a2e15 Enhance loading state management by adding 'displayset' option and improve user feedback during data loading 2026-05-18 12:29:42 +01:00
Ross 99df1cd1c1 Add stripWadouriPrefix function and refactor image ID handling for improved URL normalization 2026-05-18 12:17:35 +01:00
Ross f169238057 Enhance viewer functionality with volume diagnostics and fullscreen toggle 2026-05-18 11:51:38 +01:00
Ross f0e0fe0ef6 Implement drag-and-drop functionality for viewport stack management with visual drop zone previews 2026-05-18 11:37:34 +01:00
Ross 19702b6052 Refactor CT presets and enhance modality-specific preset options for improved functionality 2026-05-18 10:48:28 +01:00
Ross 1674254a3c Add clearViewer function to reset viewer state and annotations 2026-05-11 11:34:36 +01:00
Ross aeb04bcf2f Refactor URL normalization to ensure valid wadouri: prefix for DICOM entries
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 15:01:47 +01:00
Ross e29bce42e2 Implement resizable stack panel with min/max width constraints and update side menu button positioning 2026-04-27 12:02:54 +01:00
Ross d34772a3fa Refactor fullscreen exit logic to use appRootRef for improved reliability 2026-04-27 09:43:41 +01:00
Ross add45567d8 Enhance metadata caching in setLoadedImageIdsAndCacheMeta and add forced warm-up for visible stack viewports 2026-04-27 09:34:07 +01:00
Ross 3294151a92 Add shift key support for reference cursors and update button text 2026-04-27 09:26:27 +01:00
Ross 776b5faffe Refactor grid button styles for improved visibility and interaction 2026-04-27 09:21:59 +01:00
Ross c5a58da6a3 Refactor annotation import handling to improve race condition management and type safety 2026-03-23 11:08:21 +00:00
Ross be16e3554f Add defensive guards and queueing for annotation imports to handle race conditions 2026-03-23 11:02:03 +00:00
Ross 6cd9e33e65 Refactor annotation delete button styles for improved UI consistency 2026-03-23 10:41:36 +00:00
Ross e161377245 Add test links page for easy access to viewer test cases 2026-03-23 10:10:39 +00:00
Ross 1efd81bb0b Add embedded viewer test page with initial layout and functionality 2026-03-23 10:03:42 +00:00
Ross c0c5cd6195 Enhance tool options dropdowns to include icons for improved UI clarity 2026-03-23 09:43:57 +00:00
Ross 0c4db1904c Enhance tool options with icons for a more compact UI and improve annotation display styles for better readability 2026-03-16 14:29:39 +00:00
Ross 52f4be1a96 Refactor viewport state restoration and enhance error handling for volume and stack loading 2026-03-16 14:08:40 +00:00
Ross 8faa7e9be4 Add directory loading support and enhance file handling in the viewer 2026-03-16 12:31:42 +00:00
Ross adff7caffd Enhance error handling for graphics rendering and update external image loader registration 2026-03-16 11:09:04 +00:00
Ross 8dc4bb0aaa Add graphics error handling and notification for WebGL issues 2026-03-16 10:53:26 +00:00
Ross ef62ffac9f add basic non dicom support 2025-12-15 11:39:44 +00:00
Ross 72462b49ef Add support for external image loading and enhance pan/zoom interactions 2025-12-15 09:15:27 +00:00
Ross 181f471806 basic 2025-12-15 09:07:36 +00:00
Ross 8a0a08000e add basic thumbnail support 2025-12-15 09:04:54 +00:00
Ross 6ee9489a5f Add debug logging for thumbnail generation and improve error handling 2025-10-13 09:56:26 +01:00
Ross 6e70a32ffe Enhance dropdown scrolling behavior to prevent wheel event propagation and allow smooth navigation 2025-10-06 13:14:54 +01:00
Ross 5b3e47edea Add thumbnail generation for image stacks and improve rendering logic 2025-09-22 15:13:01 +01:00
Ross 8d67078a90 Add reset button to viewport for restoring default properties 2025-09-22 11:58:35 +01:00
Ross 9c3c3573bc Increase z-index for bottom controls to ensure proper layering and interaction 2025-09-22 11:56:24 +01:00
Ross f695fcccd0 Add thumbnail image display for stacks and relocate settings button to viewport area 2025-09-22 11:34:16 +01:00
Ross 2f14631ad0 Enhance right-side stack panel interaction with hover button and settings button adjustments 2025-09-22 11:26:30 +01:00
Ross 0ba752c28e Update settings button position to avoid overlap with right-side controls 2025-09-22 11:04:19 +01:00
Ross 82d4c94255 Refactor right-side stack panel to simplify open state management and remove pinning functionality 2025-09-22 11:03:30 +01:00
Ross f4497ef59d Remove right-side stack panel implementation and update comments for clarity 2025-09-22 10:59:33 +01:00
Ross e685b8b11d Refactor stack panel functionality to remove top bar and implement toggle for right-side panel visibility 2025-09-22 10:58:05 +01:00
Ross 67329d0468 Refactor layout to integrate right-side stack panel with improved hover and pinning functionality 2025-09-22 10:26:49 +01:00
Ross 6ab976a82b Add pinnable right-side stack panel with hover functionality 2025-09-22 09:47:31 +01:00
Ross 4bff9b39f3 Add toggle functionality for top stack bar visibility and persistent button to reveal it 2025-09-22 09:41:03 +01:00
Ross e6a6128aca Replace stackId with studyId in named stacks and update App component to include studyId in stack entries 2025-09-15 14:28:08 +01:00
Ross 654abaaaf4 Implement drag-and-drop functionality for stack selection and enhance stack grouping by studyId in the DICOM viewer 2025-09-15 14:14:47 +01:00
Ross 1a8fb26a29 Add stackId support to named stacks for improved data handling 2025-09-15 14:03:57 +01:00
Ross b66352f9b9 Enhance stack handling by adding studyId support and improving descriptor parsing logic 2025-09-15 13:48:25 +01:00
Ross 2c9b0345c4 Implement code changes to enhance functionality and improve performance 2025-09-15 12:42:55 +01:00