feat: implement micro-interaction ads platform#5720
Open
tomeredlich wants to merge 1 commit intomainfrom
Open
Conversation
…s and animations - Added new plan for Micro-Interaction Ads Platform detailing features and architecture. - Introduced BrandedTag component for animated brand sponsorship in tags. - Implemented BrandedUpvoteAnimation for visual effects on upvotes. - Created HighlightedWord and MentionedToolsWidget components for highlighting sponsored keywords and tools. - Developed SponsoredTooltip and SponsoredTagHero for enhanced user engagement with sponsored content. - Added CSS animations for branded elements and integrated coupon features in the wallet. - Updated ProfileMenu and MainSection to accommodate new components and features.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
Contributor
Author
|
Handover note for reviewers/testers:
How to see/test quickly:
PR description contains full change breakdown and checklist. |
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.
Handover
This branch introduces a Micro-Interaction Ads Platform across feed, post, profile, wallet, and tags surfaces. The goal is to add sponsored/branded micro-interactions that feel native while remaining clearly labeled and testable.
What changed
useBrandSponsorshipandbrandutilities for sponsorship logic and rendering decisions.BrandedTag,HighlightedWord,SponsoredTooltip,SponsoredTagHero, andMentionedToolsWidget.PromotedChecklist, banner, and menu item variants) andusePromotedChecklisthook.TrendingTagsCardupdates, wallet sponsored coupon widgets/cards, and post/widget integration points.BrandedUpvoteAnimationandUpvoteButtonIconupdates for contextual sponsored interaction behavior.packages/webapp/pages/settings/coupons.tsxand wallet/tags page integrations.Main files to review
packages/shared/src/lib/brand.tspackages/shared/src/hooks/useBrandSponsorship.tspackages/shared/src/hooks/usePromotedChecklist.tspackages/shared/src/components/checklist/PromotedChecklist.tsxpackages/shared/src/components/brand/BrandedUpvoteAnimation.tsxpackages/shared/src/components/cards/common/UpvoteButtonIcon.tsxpackages/shared/src/components/brand/MentionedToolsWidget.tsxpackages/webapp/pages/settings/coupons.tsxpackages/webapp/pages/wallet.tsxpackages/webapp/pages/tags/[tag].tsxHow to run and see changes locally
pnpm installpnpm --filter webapp dev:notls/tags/[tag]): verify sponsored hero/tag rendering and related interaction states./wallet): verify sponsored coupon widget/card rendering./settings/coupons): verify new settings page and UX flow.Test plan
/tags/javascript(or another existing tag) and verify sponsored tag hero/tooltip behavior./walletand confirm sponsored coupon components render without layout regressions./settings/couponsand validate navigation + UI states.pnpm --filter shared lintpnpm --filter webapp lintNotes
origin/Micro-interactions-ads..cursor/debug-1c8d7a.lognot included in this PR.Made with Cursor