Skip to content

Add RFP Contribute CTA and funding-pool mode on contribute - #1095

Merged
nicktytarenko merged 5 commits into
rfp-funding-pool-typesfrom
rfp-funding-pool-contribute
Sep 11, 2026
Merged

Add RFP Contribute CTA and funding-pool mode on contribute#1095
nicktytarenko merged 5 commits into
rfp-funding-pool-typesfrom
rfp-funding-pool-contribute

Conversation

@nicktytarenko

Copy link
Copy Markdown
Member

No description provided.

@nicktytarenko
nicktytarenko requested a review from a team as a code owner September 9, 2026 18:13
@vercel

vercel Bot commented Sep 9, 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 11, 2026 7:00am UTC

Request Review

@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: 60c082c583

ℹ️ 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".

? (progressOverride?.goalAmountUsd ?? grantAmount?.usd ?? 0)
: (progressOverride?.goalAmountUsd ?? fundraise?.goalAmount?.usd ?? 0);
const remainingGoalUsd = Math.max(0, goalAmountUsd - currentAmountUsd);
const quickAmountCeilingUsd = isPoolMode && remainingGoalUsd <= 0 ? 10000 : remainingGoalUsd;

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 Keep the pool slider usable after the goal is met

When an open funding pool has amountRaised.usd >= grantAmount.usd, this fallback keeps the unbounded quick-amount buttons available, but the still-rendered FundingImpactPreview receives the original fully met goal. Its drag calculation treats the remaining goal as zero and calls onAmountChange(0) for every slider interaction, clearing the contribution and disabling Continue. Give the pool preview an unbounded ceiling too, or stop rendering it once the displayed goal has been met.

Useful? React with 👍 / 👎.

…Grant components; update ContributeToFundraiseModal to handle funding pool mode without grant amount.
@nicktytarenko
nicktytarenko added this pull request to stack #1097 September 10, 2026 10:57
@nicktytarenko
nicktytarenko removed this pull request from stack #1097 September 11, 2026 06:44
Base automatically changed from rfp-funding-pool-services to rfp-funding-pool-types September 11, 2026 06:55
@sonarqubecloud

Copy link
Copy Markdown

@nicktytarenko
nicktytarenko merged commit 38c3508 into rfp-funding-pool-types Sep 11, 2026
3 of 5 checks passed
@nicktytarenko
nicktytarenko deleted the rfp-funding-pool-contribute branch September 11, 2026 06:59
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