Skip to content

feat: whats happening carrousel#27538

Merged
zone-live merged 20 commits into
mainfrom
TSA-119-whats-happening-carrousel
Mar 20, 2026
Merged

feat: whats happening carrousel#27538
zone-live merged 20 commits into
mainfrom
TSA-119-whats-happening-carrousel

Conversation

@zone-live

@zone-live zone-live commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

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.

Simulator Screenshot - iPhone 16e - 2026-03-17 at 15 28 54

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

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 happening carousel section to the homepage, including integration into section ordering, section-index analytics (HomeSectionNames.WHATS_HAPPENING), and homepage-wide refresh.

Introduces WhatsHappeningSection UI with loading skeletons, error retry state, and card rendering, backed by a new useWhatsHappening hook that calls AiDigestController.fetchMarketOverview() and maps trends into carousel items.

Adds a selectWhatsHappeningEnabled remote flag selector, a new Routes.WHATS_HAPPENING_DETAIL navigation target (placeholder params), English strings for the section/categories, and bumps @metamask/ai-controllers to ^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.

@zone-live zone-live added the team-social-ai Social & AI team label Mar 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk size-M labels Mar 17, 2026
@socket-security

socket-security Bot commented Mar 17, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​metamask/​ai-controllers@​0.3.0 ⏵ 0.4.074 +110074 +194 +1100

View full report

Comment thread app/selectors/featureFlagController/whatsHappening/index.ts Outdated
Comment thread app/components/Views/Homepage/Homepage.tsx
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk size-L and removed risk-high Extensive testing required · High bug introduction risk size-M labels Mar 17, 2026
Comment thread app/components/Views/Homepage/hooks/useHomeViewedEvent.ts
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk and removed risk-high Extensive testing required · High bug introduction risk labels Mar 17, 2026
@github-actions github-actions Bot removed the risk-high Extensive testing required · High bug introduction risk label Mar 17, 2026
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk and removed risk-high Extensive testing required · High bug introduction risk labels Mar 18, 2026
Comment thread app/components/Views/Homepage/Sections/WhatsHappening/WhatsHappeningSection.tsx Outdated
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk and removed risk-high Extensive testing required · High bug introduction risk labels Mar 19, 2026
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk and removed risk-high Extensive testing required · High bug introduction risk labels Mar 19, 2026
Comment thread app/components/Views/Homepage/Sections/WhatsHappening/WhatsHappeningSection.tsx Outdated
Comment thread app/selectors/featureFlagController/whatsHappening/index.ts
Comment thread app/components/Views/Homepage/Sections/WhatsHappening/WhatsHappeningSection.tsx Outdated
@github-actions github-actions Bot added risk-high Extensive testing required · High bug introduction risk and removed risk-high Extensive testing required · High bug introduction risk labels Mar 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeAccounts, SmokeConfirmations, SmokeIdentity, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeTrade, SmokeWalletPlatform, SmokeCard, SmokePerps, SmokeRamps, SmokeMultiChainAPI, SmokePredictions, FlaskBuildTests
  • Selected Performance tags: @PerformanceAccountList, @PerformanceOnboarding, @PerformanceLogin, @PerformanceSwaps, @PerformanceLaunch, @PerformanceAssetLoading, @PerformancePredict, @PerformancePreps
  • Risk Level: high
  • AI Confidence: 100%
click to see 🤖 AI reasoning details

E2E Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/ai-controllers. Running all tests.

Performance Test Selection:
Hard rule (controller-version-update): @MetaMask controller package version updated in package.json: @metamask/ai-controllers. Running all tests.

View GitHub Actions results

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@sonarqubecloud

Copy link
Copy Markdown

@codecov-commenter

This comment was marked as duplicate.

@github-actions

Copy link
Copy Markdown
Contributor

E2E Fixture Validation — Schema is up to date
17 value mismatches detected (expected — fixture represents an existing user).
View details

@zone-live zone-live requested a review from joaosantos15 March 20, 2026 09:49
@zone-live zone-live added this pull request to the merge queue Mar 20, 2026
Merged via the queue into main with commit 492c13d Mar 20, 2026
199 of 202 checks passed
@zone-live zone-live deleted the TSA-119-whats-happening-carrousel branch March 20, 2026 11:08
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 20, 2026
@metamaskbot metamaskbot added the release-7.72.0 Issue or pull request that will be included in release 7.72.0 label Mar 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.72.0 Issue or pull request that will be included in release 7.72.0 risk-high Extensive testing required · High bug introduction risk size-L team-social-ai Social & AI team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants