feat: whats happening carrousel#27538
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
|
This comment was marked as duplicate.
This comment was marked as duplicate.
|
✅ E2E Fixture Validation — Schema is up to date |




Description
This PR is the first step for introducing the new feature called "What's Happening", it's under a feature flag and still under development.
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Adds a new homepage section that fetches remote AI market overview data and introduces a new navigation route, which could affect homepage rendering/refresh behavior and network load when the flag is enabled.
Overview
Adds a new feature-flagged
What's happeningcarousel section to the homepage, including integration into section ordering, section-index analytics (HomeSectionNames.WHATS_HAPPENING), and homepage-wide refresh.Introduces
WhatsHappeningSectionUI with loading skeletons, error retry state, and card rendering, backed by a newuseWhatsHappeninghook that callsAiDigestController.fetchMarketOverview()and maps trends into carousel items.Adds a
selectWhatsHappeningEnabledremote flag selector, a newRoutes.WHATS_HAPPENING_DETAILnavigation target (placeholder params), English strings for the section/categories, and bumps@metamask/ai-controllersto^0.4.0, with unit tests covering the new hook/components.Written by Cursor Bugbot for commit ddcbe6a. This will update automatically on new commits. Configure here.