Skip to content

Show RFP funding amount on activity feed cards - #1106

Open
nicktytarenko wants to merge 1 commit into
mainfrom
activity-rfp-funding-amount
Open

Show RFP funding amount on activity feed cards#1106
nicktytarenko wants to merge 1 commit into
mainfrom
activity-rfp-funding-amount

Conversation

@nicktytarenko

Copy link
Copy Markdown
Member

Summary

  • Show RFP work cards with an Available amount using getGrantBadgeAmount

@nicktytarenko
nicktytarenko requested a review from a team as a code owner September 12, 2026 19:51
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
web Ready Ready Preview Sep 12, 2026 7:53pm UTC

Request Review

@sonarqubecloud

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃挕 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".

Comment on lines +117 to +119
if (work?.grant && work.documentType === 'funding_request') {
return 'grant';
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 馃憤聽/ 馃憥.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant