Skip to content

Commit e0d73b5

Browse files
authored
Merge pull request #85 from grimmerk/fix/pr-link-url-search
fix: include PR URL in session search
2 parents af26990 + b022d33 commit e0d73b5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Fix: menubar Keyboard Shortcuts submenu now reflects custom shortcuts
66
- Fix: GitHub release notes now aggregate all unreleased changelog entries
7-
- Feat: PR link badge in session list items (clickable, opens browser)
7+
- Feat: PR link badge in session list items (clickable, opens browser, searchable by URL)
88
- Feat: purple dot on projects currently open in VS Code/Cursor
99
- Pin axios to 1.14.0 (avoid compromised 1.14.1)
1010

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
};

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ available-typed-arrays@^1.0.7:
24182418
dependencies:
24192419
possible-typed-array-names "^1.0.0"
24202420

2421-
axios@^1.14.0:
2421+
axios@1.14.0:
24222422
version "1.14.0"
24232423
resolved "https://registry.yarnpkg.com/axios/-/axios-1.14.0.tgz#7c29f4cf2ea91ef05018d5aa5399bf23ed3120eb"
24242424
integrity sha512-3Y8yrqLSwjuzpXuZ0oIYZ/XGgLwUIBU3uLvbcpb0pidD9ctpShJd43KSlEEkVQg6DS0G9NKyzOvBfUtDKEyHvQ==

0 commit comments

Comments
 (0)