Show concierge system message after submit/approval action#77638
Conversation
|
Hey, I noticed you changed If you want to automatically generate translations for other locales, an Expensify employee will have to:
Alternatively, if you are an external contributor, you can run the translation script locally with your own OpenAI API key. To learn more, try running: npx ts-node ./scripts/generateTranslations.ts --helpTypically, you'd want to translate only what you changed by running |
|
@abzokhattab 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] |
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.
|
|
@AndrewGable any idea what happened here? It seems to have assigned two of us for the product-pr review? |
|
looks like we have some failing pipleines... |
|
@trjExpensify Hmm yes, looks like it's duplicating reviews. Can we make an internal E/E issue? I will have to dig into the logs |
|
Fixed conflicts and asked for translations here: https://expensify.slack.com/archives/C01GTK53T8Q/p1765856448170749 |
| reportAction: ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.SUBMITTED> | ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.FORWARDED>, | ||
| ): ReportAction<typeof CONST.REPORT.ACTIONS.TYPE.DYNAMIC_EXTERNAL_WORKFLOW_ROUTED> { | ||
| return { | ||
| reportActionID: `${reportAction.reportActionID}DEW`, |
There was a problem hiding this comment.
@francoisl is it fine that I just append DEW to the report action ID of the concierge message?
This is so the ID is consistent every time getDynamicExternalWorkflowRoutedAction is called, so the "Copy message" context menu can work.
|
Looks like the rest of the failing actions are unrelated. |
|
Please let me know when the tests are ready .. the changes generally looks good to me |
|
Oh, I thought it was a flaky test only. Checking... |
|
@abzokhattab done |
|
@abzokhattab can you complete the review ASAP? Thanks! |
Reviewer Checklist
Screenshots/Videos |
|
LGTM 🚀🚀 lets fix the eslint check @bernhardoj |
|
The lint error comes from #77512 |
|
Works great 🚀 I left a comment in the PR about the ESLint issue, I'll send a follow-up PR to fix those. |
|
@francoisl looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
ESLint error was unrelated to this PR. I'll send a follow-up PR to fix them. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.2.86-0 🚀
|
|
Anyone do the Internal QA here? I think it's the last thing blocking the deploy. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.2.86-4 🚀
|





Explanation of Change
Add a Concierge system message that appears after submit/approval actions in workspaces with Dynamic External Workflow (DEW) multi-level approval enabled.
Fixed Issues
$ #75223
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
Prerequisite: have a DEW-enabled workspace with multi-level approval and invite 2 members
report routed to {1st_approver} due to custom approval workflowconcierge message is shown after the submitted messagereport routed to {2nd_approver} due to custom approval workflowconcierge message is shown after the approved messagereport routed ...concierge message shown after the approved messagePR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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