chore: add support for x only sources#26335
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The changes don't affect:
Unit tests were added to cover the new tweet functionality. Since there are no E2E tests for this feature and the changes are low-risk UI additions behind a feature flag, no E2E tags are needed. Performance Test Selection: |
|



Description
Market Insights "What’s driving the price?" previously showed source icons and the sources sheet only for trends with articles. This PR adds support for tweet-only trends as well.
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
UI-only changes to Market Insights source rendering/selection with added test coverage; no auth, payments, or persistence logic touched.
Overview
Enables Market Insights trends to surface tweet-only sources in both the trend list and the “sources” bottom sheet, instead of only supporting article-backed trends.
Trend selection now opens the sources sheet when a trend has tweets (even if it has no articles), the sheet renders tweet entries with an X icon and opens tweet URLs, and trend items include
x.comin their displayed source icons. Adds/updates unit tests to cover tweet-only trends and tweet source passing/URL opening, plus a small selector memoization simplification inMainNavigator.Written by Cursor Bugbot for commit fe5970d. This will update automatically on new commits. Configure here.