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]/home/components/chat-context-kind-registry/chat-context-kind-registry.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/user-input/components/prompt-editor/use-prompt-editor.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -407,9 +407,6 @@ export function usePromptEditor({
407
407
408
408
constinsertResource=useCallback(
409
409
(resource: MothershipResource)=>{
410
-
constcontext=mapResourceToContext(resource)
411
-
if(!context)return
412
-
413
410
consttextarea=textareaRef.current
414
411
if(textarea){
415
412
constcurrentValue=valueRef.current
@@ -445,6 +442,7 @@ export function usePromptEditor({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/constants.ts
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@ export type MentionFolderId =
12
12
|'logs'
13
13
|'integrations'
14
14
15
+
/**
16
+
* Menu item category types for mention menu (includes folders + docs item)
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/hooks/use-mention-insert-handlers.ts
0 commit comments