Show RFP funding amount on activity feed cards - #1106
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
There was a problem hiding this comment.
馃挕 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8943a3587a
鈩癸笍 About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 馃憤.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| if (work?.grant && work.documentType === 'funding_request') { | ||
| return 'grant'; | ||
| } |
There was a problem hiding this comment.
Preserve comment previews when selecting the RFP grant slot
When a single comment, peer review, tip, or bounty payout targets a funding request with grantSummary, this early return selects the grant slot before the action-specific branch. buildBasePresentation then sets showComment to false for that slot, and ActivityCard omits the CommentReadOnly preview, so the actual comment or review disappears from the activity feed. Preserve the comment preview while adding the RFP funding statistics.
Useful? React with 馃憤聽/ 馃憥.



Summary
getGrantBadgeAmount