You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/fork-activity-panel/fork-activity-panel.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/fork-resource-picker/fork-resource-picker.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/fork-workspace-modal/fork-workspace-modal.tsx
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -316,15 +316,15 @@ export function ForkWorkspaceModal({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/promote-workspace-modal/cleared-refs-list.test.ts
+41-47Lines changed: 41 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -5,36 +5,54 @@ import { describe, expect, it } from 'vitest'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workspace-header/components/promote-workspace-modal/cleared-refs-list.ts
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ const PARENT_KINDS_THAT_PRESERVE_CHILD: ReadonlySet<string> = new Set(['knowledg
18
18
* - `reference`: drops off once its own resource is resolved (mapped or copied).
19
19
* - `dependent`: drops off once its PARENT resource (`parentKind`/`parentSourceId`) is resolved -
20
20
* using the SAME predicate as `reference` - but ONLY when the child follows that parent (a
21
-
* document under a KB). A credential- or table-anchored dependent is cleared on any parent
22
-
* remap, so it stays even after the parent is mapped. A dependent missing its parent stays.
21
+
* document under a KB). A credential- or table-anchored dependent is cleared on any parent remap,
22
+
* so it stays even after the parent is mapped.
23
23
* - `workflow`: always stays - a cross-workflow reference cannot be resolved in the modal.
24
24
*
25
25
* Pure so the reactive list is unit-testable independent of the modal's selection state.
@@ -30,12 +30,8 @@ export function selectVisibleClearedRefs(
0 commit comments