diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc8242..5beb55d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - Fix: menubar Keyboard Shortcuts submenu now reflects custom shortcuts - Fix: GitHub release notes now aggregate all unreleased changelog entries -- Feat: PR link badge in session list items (clickable, opens browser) +- Feat: PR link badge in session list items (clickable, opens browser, searchable by URL) - Feat: purple dot on projects currently open in VS Code/Cursor - Pin axios to 1.14.0 (avoid compromised 1.14.1) diff --git a/src/switcher-ui.tsx b/src/switcher-ui.tsx index e6b38f1..3028709 100644 --- a/src/switcher-ui.tsx +++ b/src/switcher-ui.tsx @@ -353,7 +353,7 @@ function SwitcherApp() { const words = query.toLowerCase().split(/\s+/).filter(Boolean); return allItems.filter((s) => { const prInfo = prLinks[s.sessionId]; - const searchTarget = `${s.projectName} ${s.project} ${s.firstUserMessage} ${s.lastUserMessage} ${customTitles[s.sessionId] || ''} ${branches[s.sessionId] || ''} ${prInfo ? `PR #${prInfo.prNumber}` : ''} ${assistantResponses[s.sessionId] || ''}`.toLowerCase(); + 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(); return words.every((w: string) => searchTarget.includes(w)); }); }; diff --git a/yarn.lock b/yarn.lock index 8df0993..a1afc85 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2418,7 +2418,7 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -axios@^1.14.0: +axios@1.14.0: version "1.14.0" resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb" integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==