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]/files/components/file-viewer/rich-markdown-editor/mention/mention-chip.test.tsx
+87-20Lines changed: 87 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,14 @@ import type { Editor } from '@tiptap/react'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/mention/mention-chip.tsx
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,10 @@ const CHIP_CLASS =
28
28
29
29
/**
30
30
* Live chip: an entity icon + label matching the chat input's mention rendering. Where the host opted
31
-
* into navigation (the file viewer), Cmd/Ctrl-click routes to the resource; in a modal field it stays
32
-
* inert so a click can't navigate away from an unsaved edit. This view pulls the block registry (for
33
-
* integration brand icons), so it's kept out of the headless {@link MarkdownMention} module.
31
+
* into navigation (the file viewer), a click routes to the resource and Cmd/Ctrl-click opens it in a
32
+
* new tab; in a modal field it stays inert so a click can't navigate away from an unsaved edit. This
33
+
* view pulls the block registry (for integration brand icons), so it's kept out of the headless
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/mention/sim-link.test.ts
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,22 @@ describe('simLinkPath', () => {
6
6
7
7
// Each destination must match a real route — skills/folders deep-link via query params (no [id] route).
8
8
it('resolves every kind to its real in-app route',()=>{
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/mention/sim-link.ts
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/mention/use-editor-mentions.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ import type { Editor } from '@tiptap/react'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/rich-markdown-editor.tsx
0 commit comments