Skip to content

Commit 0b6bd7f

Browse files
grimmerkclaude
andcommitted
fix: include PR URL in session search target
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e35b0dc commit 0b6bd7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/switcher-ui.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function SwitcherApp() {
353353
const words = query.toLowerCase().split(/\s+/).filter(Boolean);
354354
return allItems.filter((s) => {
355355
const prInfo = prLinks[s.sessionId];
356-
const searchTarget = `${s.projectName} ${s.project} ${s.firstUserMessage} ${s.lastUserMessage} ${customTitles[s.sessionId] || ''} ${branches[s.sessionId] || ''} ${prInfo ? `PR #${prInfo.prNumber}` : ''} ${assistantResponses[s.sessionId] || ''}`.toLowerCase();
356+
const searchTarget = `${s.projectName} ${s.project} ${s.firstUserMessage} ${s.lastUserMessage} ${customTitles[s.sessionId] || ''} ${branches[s.sessionId] || ''} ${prInfo ? `PR #${prInfo.prNumber} ${prInfo.prUrl}` : ''} ${assistantResponses[s.sessionId] || ''}`.toLowerCase();
357357
return words.every((w: string) => searchTarget.includes(w));
358358
});
359359
};

0 commit comments

Comments
 (0)