Skip to content

Fund sidebar: power card + recently visited - #982

Open
nicktytarenko wants to merge 3 commits into
stack/01-activity-feed-redesignfrom
stack/02-fund-sidebar-widgets
Open

Fund sidebar: power card + recently visited#982
nicktytarenko wants to merge 3 commits into
stack/01-activity-feed-redesignfrom
stack/02-fund-sidebar-widgets

Conversation

@nicktytarenko

@nicktytarenko nicktytarenko commented Aug 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Add FundSidebar with funding power stats and recently visited entries

Stack

  1. Activity feed redesign
  2. This PR
  3. Homepage
  4. Navigation

Introduce FundSidebar with funding power stats and recently visited suggestions so the homepage hub can mount a shared right rail.

Co-authored-by: Cursor <cursoragent@cursor.com>
@nicktytarenko
nicktytarenko requested a review from a team as a code owner August 1, 2026 13:38
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
web Ready Ready Preview Aug 2, 2026 2:30pm

@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: a3ca7bc2fd

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

* Shared Fund right column (Activity / RFPs / Proposals): funding power on top,
* recently visited beneath (dropped entirely once cleared / empty).
*/
export function FundSidebar() {

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 Wire the new sidebar into fund layouts

As of this commit, rg "FundSidebar" only finds this declaration and imports inside the same file; /fund, /fund/proposals, /grants, and the grant layout still pass FundingSidebarServer while /activity sets rightSidebar={false}. That means the funding power and recently visited widgets never render in any of the Activity/RFP/Proposal surfaces described here, so this ships as dead UI unless the existing right-sidebar wiring is replaced or composed with this component.

Useful? React with 👍 / 👎.

Comment thread components/Funding/FundingPowerCard.tsx Outdated

// Wait for auth + (when showing USD) a usable rate so we don't flash the
// empty CTA or an RSC figure that then swaps to dollars.
const isReady = !isUserLoading && (!showUSD || (!isRateLoading && exchangeRate > 0));

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 Fall back when the exchange rate is unavailable

When USD is selected, which is the default preference, a failed exchange-rate fetch leaves isRateLoading false and exchangeRate at 0 in ExchangeRateProvider; this condition therefore never becomes ready and the card stays in the skeleton forever, even for signed-out users or for users whose RSC balance could still be shown. Please stop requiring exchangeRate > 0 after loading completes, or fall back to the RSC/empty state on rate errors.

Useful? React with 👍 / 👎.

@sonarqubecloud

sonarqubecloud Bot commented Aug 2, 2026

Copy link
Copy Markdown

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