Skip to content

fix: update Superfluid campaign widget copy and FAQ - #149

Merged
blueogin merged 2 commits into
mainfrom
fix/superfluid-campaign-ui-copy
Aug 10, 2026
Merged

blueogin merged 2 commits into
mainfrom
fix/superfluid-campaign-ui-copy

Conversation

@goodbounties-nanoclaw-agent

Copy link
Copy Markdown
Contributor

Summary

  • Updates the campaign end date label and the three Ecosystem Actions point-value labels to G$-based figures.
  • Adds a new FAQ entry ("How can I get G$?") with inline external links, and updates the answer for the "How do I start receiving SUP?" FAQ (question text unchanged).
  • Adds a new FAQ entry ("What can I do with my SUP after claiming?") covering stake/stream/drain options.
  • Extends FaqItemDefinition.answer to 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) passes
  • pnpm lint passes
  • Full Playwright suite (tests/widgets/superfluid-campaign-widget/states.spec.ts) passes, 62/62
  • Regenerated baseline screenshots validated and committed
  • Reviewer: open the Storybook preview and check the FAQ section — new "How can I get G$?" entry (links open in a new tab), updated "How do I start receiving SUP?" answer, and new "What can I do with my SUP after claiming?" bullet list

🤖 Generated with Claude Code

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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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>
Copilot AI requested a review from blueogin August 10, 2026 14:46
@blueogin
blueogin merged commit 0313dd7 into main Aug 10, 2026
1 check passed
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.

3 participants