You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-11-13] [Insights][R3][App] Add the Explain button and pass the Insights scope to Concierge #102759
Add the shared InsightsExplainButton and connect it to useAskConcierge. Support sidePanelContext.insightsScope, including numberOfPeriods, and send it with the card’s explainPrompt on web and mobile.
changed the title [-][Insights][R3][App] Add the Explain button and pass the Insights scope to Concierge[/-][+][Due for payment 2026-11-13] [Insights][R3][App] Add the Explain button and pass the Insights scope to Concierge[/+]on Nov 6, 2026
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR:
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Test:
Enable the insightsAI beta. Open Insights.
While the dashboard loads, check each AI card placeholder shows a short bar under the text where the Explain button goes.
Check every AI card has an Explain button and it looks correct.
Press Explain on a card.
Check a new Concierge thread opens: in the side panel on wide web, full screen on narrow and mobile. Check the message sent matches the card's prompt, e.g. "Explain why spend is up 18% vs last month".
In the Network tab, open the AddComment request. Check sidePanelContext has insightsScope with searchKey, policyIDs, date and groupCurrency matching the dashboard filters.
Check the headline chart and each supporting chart has an Explain button in its header.
Press Explain on Top merchants.
Check Concierge gets "Explain the data in Top merchants", with insightsScope in sidePanelContext.
Change Date, Workspace and Group currency. Press Explain on a chart again. Check insightsScope matches the new filters.
Pick filters with no expenses. Check the charts show the empty state with no Explain button.
Turn the insightsAI beta off. Check the AI card row and every chart's Explain button are gone, and the chart headers look the same as on main.
Activity
[-][Insights][R3][App] Add the Explain button and pass the Insights scope to Concierge[/-][+][Due for payment 2026-11-13] [Insights][R3][App] Add the Explain button and pass the Insights scope to Concierge[/+]5 remaining items
truph01 commentedon Nov 12, 2026
Contributor+ Checklist:
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR:
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Precondition:
Test:
insightsAIbeta. Open Insights.Do we agree 👍 or 👎
melvin-bot commentedon Nov 12, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)melvin-bot commentedon Nov 12, 2026
Payment Summary
Resolving PRs:
[NoQA] [Insights] Add the Explain button and pass the Insights scope to Concierge #104862
Contributor: @mhawryluk does not require payment (Contractor)
Reviewer: @truph01 owed $175 via NewDot
BugZero Checklist (@mallenexpensify)
JmillsExpensify commentedon Nov 14, 2026
This'll be closed soon. Just awaiting payment.
mallenexpensify commentedon Nov 16, 2026
Claude posting on behalf of Matt:
Ready. Job price: $250 (Insights project; truph01 joined it before 2026-09-19, as on 102758).
No deploy blockers or regressions on the issue or the PR.
One PR, #104862, also resolves 102761. Each issue pays the job price, as on 102758 and 102760.
Next: press Caps+Y, then pay. The test steps are the same on 102761: press Caps+Y here only.
Evidence
PAYPREP v1JmillsExpensify commentedon Nov 16, 2026
Looks like we're waiting on the regression testing steps.
mallenexpensify commentedon Nov 17, 2026
Payment Summary
Contributor+: @truph01 due $250 via NewDot