Repository navigation
feat: Enable Insights and comparisons on desktop web - #104591
Conversation
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. |
|
@mjasikowski 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] |
JS00001
left a comment
There was a problem hiding this comment.
lgtm, why do this in isBetaEnabled though, why not at the level where we check if the beta is enabled?
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
🚧 luacmartins has triggered a test Expensify/App build. You can view the workflow run here. |
feat: Enable Insights and comparisons on desktop web (cherry picked from commit 6b318fc) (cherry-picked to staging by luacmartins)
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.5.15-3 🚀
|
|
Help site update needed. I opened a draft docs PR: Docs updates for E/A#104591 Point web Insights steps to new Insights tab This PR gives every desktop web user the new Insights tab. It also removes the Insights section from Spend on web. That made these web steps wrong:
Each fix is a one-sentence edit for web. Mobile steps are unchanged. I didn't change the Violations by submitter article. On web it's no longer under Spend, and it isn't on the new Insights page either. I couldn't confirm the new web path, so please check that article. @luacmartins, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR view run · no recording available |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.5.15-3 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.5.16-0 🚀
|
|
A help site update is needed, and the draft docs PR already exists: [No QA] Docs updates for E/A#104591 Point web Insights steps to new Insights tab. It's still open, labeled This PR's diff hasn't changed since I opened it. On desktop web, Insights now has its own Insights tab and is no longer under Spend. The docs PR updates the web steps that still said to select Spend and then Insights. One open item: I didn't edit the Violations by submitter article. On web it's no longer under Spend, and I couldn't verify its new location. @luacmartins, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.5.18-0 🚀
|
|
A help site update is needed. I opened a draft PR: Docs updates for E/A#104591 Add Compare filter to How to Use Insights. This PR turns on the
The docs PR changes "three" to "these" and adds one Compare bullet marked web-only. Why nothing else changes
@luacmartins, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/grgia in version: 9.5.18-1 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
Enable Insights and its comparison controls by default on desktop web only. Mobile web, iOS and Android continue to require the existing
insightsPageandinsightsComparebetas, so desktop can launch without waiting for the native navigation fixes and app-store rollout.Keep both betas off globally until the mobile rollout is ready. Local beta overrides still take precedence outside production.
Related native PRs: #104368 and https://github.com/Expensify/Mobile-Expensify/pull/14193.
Fixed Issues
N/A
Tests
insightsPageorinsightsCompareand has no local beta overrides; confirm the Insights tab is visible.Offline tests
N/A
QA Steps
Same as 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
iOS: mWeb Safari
MacOS: Chrome / Safari