Skip to content

Conversation

mficzel
Copy link
Member

@mficzel mficzel commented Jun 24, 2025

Add node state information isCreated, isModified and isRemoved to TreeNode

The information is obtained from the pendingChangeProjection nodes that are removed but not yet published
in the current workspace will still show up but not their children that only inherited the removed tag and have no change pending.

How I did it

Basically the nodes are read without subtree tag constraints but all removed nodes are filtered out if they
inherited the removed tag or have no pending change with deleted so they were deleted in another workspace.

@mficzel mficzel force-pushed the feature/add-change-state-to-tree-endpoints branch 7 times, most recently from 2300df2 to 2db5b71 Compare June 24, 2025 17:13
@mficzel mficzel changed the title TASK: Add node states created, modified and deleted to TreeNode TASK: Add node states isCreated, isModified and isRemoved to TreeNode Jun 24, 2025
@mficzel mficzel requested a review from mhsdesign June 24, 2025 17:18
@mficzel mficzel force-pushed the feature/add-change-state-to-tree-endpoints branch from 2db5b71 to 391ea4c Compare June 24, 2025 17:20
…to TreeNode

The information is obtained from the pendingChangeProjection nodes that are removed but not yet published
in the current workspace will still show up but not their children that only inherited the removed tag and have no change pending.
@mficzel mficzel force-pushed the feature/add-change-state-to-tree-endpoints branch from 391ea4c to 92890af Compare June 24, 2025 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant