Repository navigation
[NoQA][Insights] Add the AI insight card row - #104564
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@abdulrahuman5196 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
I can |
|
@MelvinBot request review from |
|
I requested a review from |
|
@dubielzyk-expensify I'll create an issue for that separately. Thanks. |
maybe we could implement it together with this: #104266 (comment) cc: @adamgrzybowski |
|
Sure that sounds good! |
good catch, turns out this part of the design doc was wrong. the backend does generate different ai insights based on the group-by, so we're good here |
|
@mhawryluk Please let me know once it is ready to review again |
|
@truph01 it's ready for you review, we'll address issues that require backend changes in follow-ups |
|
🚧 JmillsExpensify has triggered a test Expensify/App build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
JmillsExpensify
left a comment
There was a problem hiding this comment.
All good on my end with this PR. I like addressing whatever else C+ finds, then let's get this merged. It's behind a beta.
|
I am completing checklist |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-11-02.at.23.26.36.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-11-02.at.23.21.44.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.5.28-4 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.5.30-0 🚀
|
|
🚀 Deployed to production by https://github.com/blimpich in version: 9.5.30-0 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Adds a row of AI insight cards above the headline chart on the Insights dashboard, behind a new
insightsAIbeta. The cards come from a newaiInsightsfield on the dashboard's Onyx record. Placeholders show until the dashboard loads for the current filters. The row is hidden when there are no cards, and also when the app is offline and nothing has loaded yet.The design doc's
InsightsCardwas renamed toAIInsight, to match the dashboard property sent by the backend.Fixed Issues
$ #102758
$ #102760
PROPOSAL: N/A
Tests
insightsAIbeta enabled (on the backend) and has expenses (at least one 30+ days back from today).Offline tests
QA Steps
No tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
Simulator.Screen.Recording.-.iPhone.17.-.2026-10-23.at.15.22.19.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
Nagranie.z.ekranu.2026-10-23.o.13.43.06.mov