Conversation
|
DeepSource reviewed changes in the commit range For detailed review results, please see the PR on DeepSource ↗ PR Report CardCode Review Summary
How are these analyzer statuses calculated?Administrators can configure which issue categories are reported and cause analysis to be marked as failed when detected. This helps prevent bad and insecure code from being introduced in the codebase. If you're an administrator, you can modify this in the repository's settings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Indicate in the DICOM tag browser which series are shown in the viewport
Closes #364
Description
When multiple slides and derived series (annotations, segmentations, parametric maps, etc.) are available, it was unclear which ones were currently displayed in the viewport. This PR adds visual indicators to the DICOM Tag Browser so users can see at a glance which series are active.
Changes
New files
slim/src/services/ActiveSeriesService.ts– Centralized service that tracks which series are currently active in the viewport (active image and visible derived overlays). ExposessetActiveSeries(),getActiveSeriesUIDs(),subscribe(), andclear().slim/src/hooks/useActiveSeries.ts– React hook that subscribes toActiveSeriesServiceand returns the set of active series UIDs for use in the DICOM Tag Browser.Modified files
slim/src/components/SlideViewer.tsx– Publishes active series state toActiveSeriesServicewhenever visibility changes:seriesInstanceUIDfrom the current routeslim/src/components/DicomTagBrowser/DicomTagBrowser.tsx– ConsumesActiveSeriesServiceviauseActiveSeries, adds an eye icon (👁) next to each active series in the Series dropdown.Behavior
Design notes
ActiveSeriesServicecentralizes all active-series logic.setActiveSeriesor subscribe; no cross-component wiring.