Fix expense last message shows HTML tag#71418
Conversation
|
@QichenZhu 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] |
|
@QichenZhu For the 2nd case, it looks like the message purely comes from the BE (we don't handle the custom message on the FE), so it should be fixed on the BE. (this is just my assumption because I don't have a Sage Intacct account) |
Reviewer Checklist
Screenshots/Videos |
Confirmed this fixes case 1 and doesn't case 2. If it's a BE issue I'm afraid we have to revert #70777 and reapply it after BE is updated. |
|
Author's checklist lacks screenshots. |
@pecanoro can you confirm what we should do in this case. Should we continue with this follow up PR, or revert the previous PR and reapply it after the BE is fixed? I'll complete the screenshots if we want to continue with this PR. |
If we can get a fix, it's probably better to fix it than revert it. Or do you guys think it's better to revert it? |
@QichenZhu The first image is the report action data, but the 2nd one is the report data. So it seems BE correctly set the report action message
@pecanoro If we can quickly fix the BE, then I think we can just continue with this PR. |
|
Removing the app deploy label as the front end issue depends on backend and is minor UX issue reachable only with specific flows. |
|
@s77rt Since you fixed the BE, can you take a look at this comment? #71418 (comment) |
|
Also, can you check this comment? I can't access the PR so not sure what's going on there. |
|
@pecanoro any update with the BE? |
|
@s77rt Any updates with #71418 (comment)? |
|
@pecanoro This is the one that I think is related to https://github.com/Expensify/Auth/pull/17417 cc @srikarparsi |
|
Hey, yes, that backend PR should send back the right lastMessageText. I'll test and put it in review tomorrow |
|
@bernhardoj, the backend PR hit prod and resolves case 2. Can you go ahead and fix case 1? |
|
@QichenZhu case 1 is already handled. I just merged with main. |
|
@bernhardoj, please complete author's checklist. |
|
@QichenZhu completed |
|
🚀 Deployed to staging by https://github.com/pecanoro in version: 9.2.31-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.2.31-2 🚀
|








Explanation of Change
Fixed Issues
$ #71415
$ #60746
PROPOSAL:
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR 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
MacOS: Desktop