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

Enhance Object Highlighting for Improved Intuitiveness #192

Open pedrokohler opened 3 months ago

pedrokohler commented 3 months ago

When an object is highlighted, it displays lighter than the rest. I think it would be more intuitive to make all non-selected objects become lighter instead.

Enhance Object Highlighting for Improved Intuitiveness

Description

Revise the object highlighting mechanism to improve intuitiveness. Currently, when an object is selected, it displays lighter than the rest. However, it would be more intuitive to make all non-selected objects become lighter while the selected object remains unchanged. This enhancement will enhance user understanding and interaction with objects within the application.

Acceptance Criteria

  1. When an object is selected, it should remain unchanged in appearance.
  2. All non-selected objects should become lighter in color to indicate their unselected state.
  3. Ensure that the revised highlighting mechanism is consistent across different objects and configurations.

From #184

igoroctaviano commented 1 month ago

@fedorov can be closed. The annotations stroke/highlight colors can be changed via configuration. The default is exactly like the acceptance criteria.

fedorov commented 1 month ago

Let me see first how it works in https://slim-dmv.web.app/ before we close it!

fedorov commented 1 month ago

This is how highlight of the selected ROI works in IDC right now

image

We should update the configuration to show it in a color that has better contrast, such as the one in dmv instance right now

image

But let's not bother with updating IDC config until we are done with various issues related to ROI presentation, so we can update everything at the same time!

igoroctaviano commented 1 month ago

@fedorov env updated. You can test the highlight and double click. Please use a different interaction, other than draw to test the double click.