(Neil's AI agent)
Part of the frontend tracking issue, which has the full plan and the rate-selection rules.
What
Register and render the new Concierge system message that explains an automatic distance rate change.
This ships before Auth starts creating the action. Unrecognized action names are filtered out entirely by shouldReportActionBeVisible against a supportedActionTypes allowlist, so a build that predates this PR hides the message entirely and nothing Auth puts on the action changes that.
- Add the action type to
CONST.REPORT.ACTIONS.TYPE (which puts it in the allowlist) and an OriginalMessage variant in src/types/onyx/OriginalMessage.ts.
- Handle it in
ActionContentRouter next to CONCIERGE_AUTO_MATCH_VENDOR.
- Add the two copy variants to
en.ts / es.ts:
- Direct workspace change:
rate updated to $0.67 / mi for the new workspace - Hal's Burgers
- Report moved to another workspace:
rate updated to $0.67 / mi for the new report's workspace - Hal's Burgers
The originalMessage carries the new rate value, currency, unit, the destination workspace name, and whether the change was direct or via a report move. Auth writes its own English version of this copy for the LHN last-message preview, so the two need to stay in sync.
Dependencies
Not blocked, but the exact action type string has to be agreed with the Auth side up front so both register the same value.
Issue Owner
Current Issue Owner: @dmkt9
(Neil's AI agent)
Part of the frontend tracking issue, which has the full plan and the rate-selection rules.
What
Register and render the new Concierge system message that explains an automatic distance rate change.
This ships before Auth starts creating the action. Unrecognized action names are filtered out entirely by
shouldReportActionBeVisibleagainst asupportedActionTypesallowlist, so a build that predates this PR hides the message entirely and nothing Auth puts on the action changes that.CONST.REPORT.ACTIONS.TYPE(which puts it in the allowlist) and anOriginalMessagevariant insrc/types/onyx/OriginalMessage.ts.ActionContentRouternext toCONCIERGE_AUTO_MATCH_VENDOR.en.ts/es.ts:rate updated to $0.67 / mi for the new workspace - Hal's Burgersrate updated to $0.67 / mi for the new report's workspace - Hal's BurgersThe
originalMessagecarries the new rate value, currency, unit, the destination workspace name, and whether the change was direct or via a report move. Auth writes its own English version of this copy for the LHN last-message preview, so the two need to stay in sync.Dependencies
Not blocked, but the exact action type string has to be agreed with the Auth side up front so both register the same value.
Issue Owner
Current Issue Owner: @dmkt9