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
{{ message }}
Repository navigation
Commit aa8b877
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/[documentId]/components/chunk-context-menu/chunk-context-menu.tsx
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@ export function ChunkContextMenu({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/document-context-menu/document-context-menu.tsx
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,6 @@ export function DocumentContextMenu({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/components/knowledge-base-context-menu/knowledge-base-context-menu.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/table-grid/headers/workflow-group-meta-cell.tsx
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -180,15 +180,15 @@ export function ColumnOptionsMenu({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workflow-list/components/context-menu/context-menu.test.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/components/sidebar/components/workflow-list/components/context-menu/context-menu.tsx
-22Lines changed: 0 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -165,29 +165,7 @@ export function ContextMenu({
165
165
showUploadLogo =false,
166
166
disableUploadLogo =false,
167
167
}: ContextMenuProps){
168
-
/**
169
-
* One rule, immediately before the destructive group — see the menu-grouping
170
-
* section of `.claude/rules/sim-list-ordering.md`.
171
-
*
172
-
* This menu previously carried four semantic bands (navigation / status / edit /
173
-
* copy / destructive) behind up to five separators. No toolbar in the app renders
174
-
* a divider — every header is a flat `gap-1` chip row — so those bands taught a
175
-
* taxonomy the user met nowhere else, and each caller's flag combination banded
176
-
* the same action differently (Pin alone here, Pin beside Duplicate there). Order
177
-
* still mirrors the surface's toolbar, which is what the ordering rule actually
178
-
* requires; only the rules between groups are gone.
179
-
*
180
-
* Every term below is the exact render condition of the item it stands for, so a
181
-
* separator can never outlive the group on either side of it. `showLeave` was the
182
-
* one asymmetric term — it omitted `&& onLeave`, so a caller passing `showLeave`
183
-
* from a permission check with a conditional `onLeave` (the `x ? fn : undefined`
184
-
* shape used for `onDuplicate`/`onTogglePin`/`onCloseTab` elsewhere) would have
185
-
* rendered a trailing rule under the last item.
186
-
*/
187
168
consthasActionsAboveDestructive=
188
-
/* No `openInNewTabPosition` term: the item renders in the 'first' slot or the
189
-
'last' one, and the prop is a closed two-value union, so `showOpenInNewTab &&
190
-
onOpenInNewTab` already means exactly "the nav item renders somewhere above". */
0 commit comments