feat(frontend): Promotion adjustments (carousel, explorer)#13245
Draft
sbpublic wants to merge 5 commits into
Draft
feat(frontend): Promotion adjustments (carousel, explorer)#13245sbpublic wants to merge 5 commits into
sbpublic wants to merge 5 commits into
Conversation
Drop the Harvest Autopilot slide from the dApps carousel and the now-orphaned harvest_autopilot_carousel_slide_* i18n keys (all locales + type definition). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fill the empty German category labels (aa_new, ab_icp, lending, rwa, social) that rendered as blank filter chips in the explorer, and change staking from "Beteiligungen" to the common "Staking". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fill the empty category labels across ar, cs, es, fr, hi, it, ja, ko-KR, pl, pt, ru, vi and zh-CN so the explorer filter chips no longer render blank. Acronyms and proper nouns (ICP, DEX, NFT, RWA) are kept as-is in every language, "Lending" stays English in Latin-script locales, and clear common terms are localized. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Motivation
The dApps carousel had grown too many promotional cards, and the explorer's category filter chips were only partially translated (many rendered blank). This trims the carousel and fills in the missing category labels across all supported languages.
Changes
dapp-descriptions.json).harvestAutopilotSlidederived slide, its entry in the carousel slide list, and thepagePath/AppPath.Earnwiring inDappsCarousel.svelte, along with the now-unusedEARNING_ENABLED,stakeProvidersConfig,StakeProviderandAppPathimports.harvest_autopilot_carousel_slide_title/harvest_autopilot_carousel_slide_ctai18n keys from all locales and the i18n type definition.ICP,DEX,NFT,RWA) kept as-is everywhere;Lendingkept in English for Latin-script locales and localized for non-Latin scripts; clear common terms (Recently added, Social, AI) localized per language. Germanstakingalso changed from "Beteiligungen" to the more common "Staking".Tests
DappsCarousel.spec.ts: removed the Harvest Autopilot id from the hidden-ids case, dropped the unused stake imports, and refreshed the now-stale test titles. All 7 tests pass.🤖 Generated with Claude Code — Claude Opus 4.8 (claude-opus-4-8)