Repository navigation
Feat/discovery spotlight campaigns badge progress cocreator attribution 1219 1224 1225 1226 - #1229
Merged
Conversation
…t banner - Implemented CampaignCard component to display individual campaign details including criteria, reward pool, and eligibility progress. - Created CampaignsSection component to list active campaigns on the discovery page, with a link to view all campaigns. - Developed SpotlightBanner component to showcase the current spotlight auction with key statistics and countdown. - Added useActiveCampaigns hook to fetch active campaigns based on the connected wallet. - Created CampaignsPage to display a full list of active campaigns with loading and error states. - Introduced campaignsService to handle API requests for active campaigns. - Added utility functions for campaign eligibility and filtering active campaigns. - Implemented tests for CampaignsSection and SpotlightBanner components to ensure proper rendering and functionality. - Added utility tests for campaign-related functions and action attribution utilities.
…ntProvider (accesslayerorg#1224) AnnouncementItem calls useAnnouncementContent, which needs a QueryClient. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@Petrelid Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Closes #1219
Closes #1224
Closes #1225
Closes #1226
Changes
SpotlightBannerat the top of/marketplaceand/discover: key name, creator, price, 24h volume, holders, live countdown, sponsor label, Buy Now →/creator/:id. Hidden when no spotlight is active or once it expires. Data fromGET /marketplace/spotlight.CampaignsSectionbelow the spotlight on discovery: criteria, reward pool, live countdown, wallet eligibility progress bar, Eligible badge, "View All Campaigns" → new/campaignspage. Hidden when no campaigns are active. Data fromGET /campaigns/active?wallet=.BadgeProgressTrackerbelow holdings on/portfolio: unearned badges with criteria and a progress bar, earned badges with a green check and earn date, hidden when all are earned. Adds Whale (10,000 XLM volume) and Top Trader (100 trades) badges. Progress polls every 30s and refetches when holdings change. Data fromGET /wallets/:address/badge-metrics.ActionAttributionLabelin announcement ("Posted by") and activity ("by") feeds: Creator label or co-creator role badge, truncated wallet with a popover showing the full address and a copy button (works on touch and keyboard). Activity feed now renders royalty claims and revenue distributions.Testing
tsc -bpasses; ESLint clean on changed files.AnnouncementFeed.test.tsxand 2 inWalletPortfolioPage.test.tsxalready fail ondevand are unchanged by this PR.