Repository navigation
Conversation
A Raycast extension for YC founders: search Bookface, browse the feed, chat with the YC Agent, and track demo day countdowns. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Congratulations on your new Raycast extension! 🚀 We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. Once the PR is approved and merged, the extension will be available on our Store. |
Greptile SummaryThis PR adds a new Bookface Companion extension with four commands: Algolia-backed search, a feed browser with threaded comments and voting, a YC Agent chat interface, and a menu bar demo day countdown.
Confidence Score: 3/5Two P1 logic bugs need to be fixed before merging: a stale closure in the agent chat and potentially broken navigation URLs in search results. The stale extensions/bookface-companion/src/yc-agent.tsx and extensions/bookface-companion/src/search-bookface.tsx Important Files Changed
Prompt To Fix All With AIThis is a comment left during a code review.
Path: extensions/bookface-companion/src/yc-agent.tsx
Line: 177-214
Comment:
**Stale `selectedChat` closure in `handleSubmit`**
`selectedChat` is read inside the callback but omitted from the `useCallback` dependency array. When the user switches conversations, `handleSubmit` still sees the old `selectedChat` value, so the `selectedChat !== String(newChatId)` guard will fire incorrectly — either skipping `setSelectedChat` when it should run, or calling `loadChat` when the `useEffect` would already handle it.
```suggestion
[chatId, selectedChat],
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/bookface-companion/src/search-bookface.tsx
Line: 148-155
Comment:
**`search_path` may be a relative URL**
Algolia result payloads for Bookface typically store `search_path` as a site-relative path (e.g. `/companies/acmecorp`). Passing a bare path to `Action.OpenInBrowser` won't navigate to the correct page — Raycast requires an absolute URL. Prefix the value with the Bookface base URL if it is not already absolute.
```suggestion
{hit.search_path && (
<Action.OpenInBrowser
title="Open on Bookface"
url={hit.search_path.startsWith("http") ? hit.search_path : `https://bookface.ycombinator.com${hit.search_path}`}
/>
)}
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/bookface-companion/src/search-bookface.tsx
Line: 163-168
Comment:
**Copy URL action affected by the same relative-path issue**
`Action.CopyToClipboard` will copy a bare path instead of a usable link if `search_path` is relative. Apply the same base-URL prefix as the `OpenInBrowser` action.
```suggestion
{hit.search_path && (
<Action.CopyToClipboard
title="Copy URL"
content={hit.search_path.startsWith("http") ? hit.search_path : `https://bookface.ycombinator.com${hit.search_path}`}
shortcut={{ modifiers: ["cmd", "opt"], key: "c" }}
/>
)}
```
How can I resolve this? If you propose a fix, please make it concise.
---
This is a comment left during a code review.
Path: extensions/bookface-companion/package.json
Line: 8-10
Comment:
**Remove the `"Other"` category**
`"Other"` should only be used when no predefined category fits. Since `"Productivity"` already covers the primary functionality, including `"Other"` adds noise without improving discoverability. Remove it and keep only `"Productivity"`.
**Rule Used:** What: Assign at least one predefined category to e... ([source](https://app.greptile.com/review/custom-context?memory=f49debbf-b6f6-4c0d-9b35-e1927815992b))
How can I resolve this? If you propose a fix, please make it concise.Greploops — Automatically fix all review issues by running Reviews (2): Last reviewed commit: "Fix CI and review feedback: vote re-rend..." | Re-trigger Greptile |
…atting Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
- Fix P1: vote actions now call mutate() to trigger React re-render - Fix TS: Image.Mask.Circle instead of string literal, Icon.Hammer for employer - Fix P2: hardcode en-US locale, remove Other category, remove manual Preferences type Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
This pull request has been automatically marked as stale because it did not have any recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊 |
|
This pull request has been automatically closed due to inactivity. Feel free to comment in the thread when you're ready to continue working on it 🙂 You can also catch us in Slack if you want to discuss this. |
Description
New extension: Bookface Companion for Y Combinator founders. Search Bookface, browse the feed, chat with the YC Agent, and track demo day countdowns from Raycast.
Commands
Note on API usage
This extension uses Bookface's authenticated JSON APIs (not scraping). The YC software team has been contacted and is aware of the extension.
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfmetadatafolder