feat: move sources under the main text#30035
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:
Why no E2E tags are needed:
Performance Test Selection: |
|


Description
In What's Happening the sources will now be displayed right under the main text, instead of being sticky at the bottom.

Changelog
CHANGELOG entry: no-changelog
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI/layout change limited to the expanded card; main risk is minor regressions in press target/spacing or date rendering in the new inline sources row.
Overview
UI change: The expanded What’s Happening card now renders the sources row inline under the description (within the scroll area) instead of as a fixed/sticky footer, while keeping the same
onSourcesPressbehavior.Adds a memoized
formattedDatefor the inline row and updates the unit test to mockformatRelativeTimeand assert the relative date text is shown when sources are present.Reviewed by Cursor Bugbot for commit 3249a52. Bugbot is set up for automated code reviews on this repo. Configure here.