Skip to content

fix: keep RHF bounty USD display at $150#870

Open
2bf wants to merge 2 commits into
ResearchHub:mainfrom
2bf:fix/rhf-bounty-foundation-detection
Open

fix: keep RHF bounty USD display at $150#870
2bf wants to merge 2 commits into
ResearchHub:mainfrom
2bf:fix/rhf-bounty-foundation-detection

Conversation

@2bf
Copy link
Copy Markdown

@2bf 2bf commented May 20, 2026

Summary

  • make Foundation bounty detection resilient when NEXT_PUBLIC_FOUNDATION_USER_ID is unavailable
  • fall back to the public ResearchHub Foundation account name across the bounty API shapes already handled by bountyUtil
  • lets existing work header, bounty tab, banner, and bounty card display helpers keep RHF peer-review bounties at the flat $150 USD amount

Closes ResearchHub/issues#355

Testing

  • git diff --check
  • attempted npm ci, but install is blocked by private Tiptap registry credentials: 403 Forbidden - https://registry.tiptap.dev/@tiptap-pro/extension-unique-id/...
  • attempted npx -p typescript@5.9.3 tsc --noEmit -p tsconfig.json --pretty false, but it fails after the blocked install because project dependencies/types are missing

@2bf 2bf requested a review from a team as a code owner May 20, 2026 09:29
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 20, 2026

@2bf is attempting to deploy a commit to the ResearchHub Team on Vercel.

A member of the Team first needs to authorize it.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@2bf 2bf changed the title fix: keep RHF bounty USD display at fix: keep RHF bounty USD display at $150 May 20, 2026
@sonarqubecloud
Copy link
Copy Markdown

@2bf
Copy link
Copy Markdown
Author

2bf commented May 20, 2026

Updated the branch to address the SonarCloud S7765 hint. SonarCloud now reports 0 open new issues for this PR; git diff --check is clean locally. I could not run npm run type-check in this checkout because dependencies are not installed (tsc: command not found).

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.

Set display price to $150 for all RHF peer review bounties

1 participant