Skip to content

clean clipboard after copy self subtree #2981

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

souissimai
Copy link
Contributor

No description provided.

SOUISSI Maissa (Externe) and others added 2 commits June 24, 2025 15:50
@souissimai souissimai requested a review from klesaulnier June 24, 2025 15:00
SOUISSI Maissa (Externe) and others added 3 commits June 25, 2025 11:09
@@ -385,7 +408,7 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu
}
);
//Do not wait for the response, after the first CUT / PASTE operation, we can't paste anymore
dispatch(setNodeSelectionForCopy(noNodeSelectionForCopy));
// dispatch(setNodeSelectionForCopy(noNodeSelectionForCopy));
Copy link
Contributor

Choose a reason for hiding this comment

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

To revert I think

@@ -258,6 +268,12 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu
)
);
});
if (
studyUpdatedForce.eventData.headers.movedNode === nodeSelectionForCopyRef.current.nodeId ||
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this check is already made in "isSubtreeImpactedByMovedNode" ?

@@ -266,6 +282,12 @@ export const NetworkModificationTreePane = ({ studyUuid, studyMapTreeDisplay, cu
);
}
);
if (
studyUpdatedForce.eventData.headers.movedNode === nodeSelectionForCopyRef.current.nodeId ||
Copy link
Contributor

Choose a reason for hiding this comment

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

same here ?

SOUISSI Maissa (Externe) and others added 2 commits June 26, 2025 12:09
@souissimai souissimai requested a review from klesaulnier June 26, 2025 10:26
Copy link

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

Successfully merging this pull request may close these issues.

2 participants