Repository navigation
fix: update Superfluid campaign widget copy and FAQ - #149
Merged
Merged
Conversation
Updates campaign end date and Ecosystem Actions point-value labels to G$-based figures, adds a new "How can I get G$?" FAQ entry with inline external links, updates the SUP-claiming FAQ answer, and adds a new "What can I do with my SUP after claiming?" FAQ entry covering stake/ stream/drain options. Extends FaqItemDefinition to support paragraph and bullet-list answer blocks with inline links, backward-compatible with existing plain-string answers. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
goodbounties-nanoclaw-agent
Bot
requested review from
a team and
L03TJ3
and
a lite review from Copilot
August 10, 2026 14:05
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.
Adds support for richer FAQ answers (paragraphs, bullet lists, and inline links) and updates campaign copy/labels accordingly.
Changes:
- Extend FAQ answer schema to support block-based content with inline external links.
- Update FAQ rendering to display paragraphs, bullets, and links.
- Refresh campaign labels and add new FAQ entries.
Reviewed changes
Copilot reviewed 3 out of 37 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/superfluid-campaign-widget/src/widgetRuntimeContract.ts | Expands FAQ answer types to support blocks and link segments. |
| packages/superfluid-campaign-widget/src/components/FaqAccordion.tsx | Implements rendering for block-based FAQ answers with links and bullets. |
| packages/superfluid-campaign-widget/src/campaignDefinition.ts | Updates campaign labels and introduces new richer FAQ content using the new schema. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+17
to
+19
| <Anchor key={`${keyPrefix}-${index}`} href={segment.href} target="_blank"> | ||
| {segment.text} | ||
| </Anchor> |
Comment on lines
+134
to
+137
| { text: 'claim G$ for free', href: 'http://ubi.gd/4bE4Ptz' }, | ||
| ', or get G$ from the ', | ||
| { text: 'GoodReserve', href: 'http://ubi.gd/45VZE4I' }, | ||
| ' or supported DEXs on Celo.', |
Contributor
There was a problem hiding this comment.
Updated the flagged FAQ shortlinks to use HTTPS in commit 2e9b465.
Comment on lines
+33
to
+50
| {answer.map((block, blockIndex) => | ||
| Array.isArray(block) ? ( | ||
| <Text key={blockIndex} tone="soft"> | ||
| {renderSegments(block, `p${blockIndex}`)} | ||
| </Text> | ||
| ) : ( | ||
| <YStack key={blockIndex} gap="$1"> | ||
| {block.items.map((item, itemIndex) => ( | ||
| <XStack key={itemIndex} gap="$2"> | ||
| <Text tone="soft">{'•'}</Text> | ||
| <Text tone="soft" flex={1}> | ||
| {renderSegments(item, `b${blockIndex}-${itemIndex}`)} | ||
| </Text> | ||
| </XStack> | ||
| ))} | ||
| </YStack> | ||
| ), | ||
| )} |
Co-authored-by: blueogin <43612769+blueogin@users.noreply.github.com>
blueogin
approved these changes
Aug 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FaqItemDefinition.answerto optionally support paragraph and bullet-list blocks with inline links, remaining backward-compatible with all existing plain-string answers.Related to #127.
Test plan
pnpm build(package-level and full workspace) passespnpm lintpassestests/widgets/superfluid-campaign-widget/states.spec.ts) passes, 62/62🤖 Generated with Claude Code