MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / handleInsert

Function handleInsert

src/components/QuickOpenDialog.tsx:116–123  ·  view source on GitHub ↗
(p: string, mention: boolean)

Source from the content-addressed store, hash-verified

114 };
115
116 const handleInsert = (p: string, mention: boolean) => {
117 onInsert(mention ? `@${p} ` : `${p} `);
118 logEvent('tengu_quick_open_insert', {
119 result_count: results.length,
120 mention,
121 });
122 onDone();
123 };
124
125 return (
126 <FuzzyPicker

Callers 1

QuickOpenDialogFunction · 0.70

Calls 2

logEventFunction · 0.85
onDoneFunction · 0.50

Tested by

no test coverage detected