ImagingDataCommons / slim

Interoperable web-based slide microscopy viewer and annotation tool
https://imagingdatacommons.github.io/slim/
Apache License 2.0
111 stars 36 forks source link

Implement Contour Highlighting in Right Panel on Viewport Contour Click #196

Open pedrokohler opened 3 months ago

pedrokohler commented 3 months ago

when selecting a particular object (by clicking on the right column), it would be nice to also be able to select by clicking a contour and seeing the corresponding entry in the column highlight.

Implement Contour Highlighting in Right Panel on Viewport Contour Click

Description

Implement a feature to highlight contour information in the right panel when a user clicks on a contour in the viewport. This enhancement aims to provide clear visual feedback to facilitate easier identification of selected contours, enhancing navigation within the application.

Acceptance Criteria

  1. Contour information in the right panel should be highlighted immediately upon clicking a contour in the viewport.
  2. The highlighting in the right panel should clearly indicate the selected contour for easy identification.
  3. The highlighting should deactivate promptly when deselecting the contour or clicking elsewhere.
  4. Ensure consistent highlighting behavior across different viewport sizes and contour complexities.
  5. Integrate the highlighting feature seamlessly with existing right panel and viewport functionalities.

From #184