Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roi time series select colour change #402

Open
wants to merge 1 commit into
base: develop-main
Choose a base branch
from

Conversation

milesAraya
Copy link
Collaborator

@milesAraya milesAraya commented Aug 5, 2024

Issue 359Optinist repo Issue 602の解決です。

ROI が選択されると色が白に変わり、Fluorescence plotがリンクされていればtime seriesがプロットされます。
Legend ROI が選択されると ROI は白くなります。
ROI を選択解除にするとtime seriesは消えます。Legend ROIを選択解除すると ROI は通常の色に戻ります。

既存の temp_merge_roi フレームワークと同様に temp_selected_roi を使用することで実現。

When ROI are selected, they change colour to white, and if fluorescence window is linked time-series is plotted.
When the legend ROI is selected the ROI turns white.
When ROI unselected the time series disappears. When the legend is unselected the ROI returns to normal colour.

Achieved through using a temp_selected_roi, similar to the existing temp_merge_roi framework.

@milesAraya milesAraya added the enhancement New feature or request label Aug 5, 2024
@milesAraya milesAraya self-assigned this Aug 5, 2024
@milesAraya milesAraya added this to the OIST requirements 2024 milestone Aug 15, 2024
@itutu-tienday itutu-tienday linked an issue Aug 20, 2024 that may be closed by this pull request
@milesAraya milesAraya linked an issue Dec 26, 2024 that may be closed by this pull request
@milesAraya milesAraya force-pushed the feature/RoiTimeSeriesSelectColourChange branch 2 times, most recently from c0e88cc to 0c36dda Compare December 27, 2024 02:27
@milesAraya milesAraya force-pushed the feature/RoiTimeSeriesSelectColourChange branch from 0c36dda to 2154498 Compare January 6, 2025 02:18
@milesAraya milesAraya force-pushed the feature/RoiTimeSeriesSelectColourChange branch from 0512367 to 149e5fc Compare January 6, 2025 04:10
@@ -290,6 +291,14 @@ const LegendSelect: FC = () => {
drawOrderList: newDrawOrderList,
}),
)
dispatch(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Behavior before Edit Roi is started
    • Flou selected before start of Edit Roi is not released after start of Edit Roi.
      -> The selection of ROI in Edit Roi and the selection of Flou do not match.
      -> When Flou is selected in this state, the ROI selection is canceled, which seems to be a reversed operation.

@@ -290,6 +291,14 @@ const LegendSelect: FC = () => {
drawOrderList: newDrawOrderList,
}),
)
dispatch(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Bug
    • React error when Add Roi -> Commit -> Select the added ROI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[No.205]Interaction of Roi and Flou in Visualize Selected fluorescence time courses also select ROI
2 participants