Closed IuliiaHerets closed 1 week ago
Triggered auto assignment to @luacmartins (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
Triggered auto assignment to @sakluger (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
We think that this bug might be related to #wave-collect - Release 1
Edited by proposal-police: This proposal was edited at 2024-10-02 18:27:11 UTC.
OpenApp
returns the message's html
as plain text:causing the shouldRenderAsText
here to be false (because html
and text
are the same in this case) and thus the iouMessage
renders as plain text:
...with Expensify via [workspace rules](${CONST.CONFIGURE_REIMBURSEMENT_SETTINGS_HELP_URL})
I don't know if this needs to be a deploy blocker, it's not really blocking users from completing actions in Expensify. @luacmartins what do you think?
@sakluger I think we should still try to fix the issue rather than letting the problem go out to production. @luacmartins were you able to look into this yet?
Not yet, but as pointed out by @gijoe0295 this seems to be a backend issue, so maybe a DeployBlocker
for web-e, not App.
Do we know which PR caused this? At this point, we should revert it or we won't deploy today
Current assignee @luacmartins is eligible for the DeployBlockerCash assigner, not assigning anyone new.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Actually, I think the main cause is https://github.com/Expensify/App/pull/49187. I pinged Alex in Slack
yep yep, lookingggg
Hmm honestly i wouldn't call this a blocker - the copy / paste including the href part - i did that on purpose... If we want to change that so it doesn't have the link, i'm fine with that but doesn't need to be blocker-priority
I don't understand the other point - The system message also shows and when the report is opened for the first time (after relogin). - I don't see that in the videos
Demoting to NAB given Alex's comment
Assigning so i can also get some thoughts in - this is related to https://github.com/Expensify/App/issues/35091 btw
@trjExpensify do you think the "workspace rules" link should be copied with the html when a user copies the text of that auto-reimbursed report action?
I was involved in a similar PR a while ago, Here is how we did it
Instead of using <a>
in translation we created a src/components/ReportActionItem/ExportIntegration.tsx
use TextLink
Hmm @ishpaul777 so it looks like you left the HTML link in the message when copied, right?
yeah! actualy link copying was handled with setClipboardMessage
, sorry i didn't noticed earlier
yeah! actualy link copying was handled with setClipboardMessage
and does it convert it to markdown when copied then?
For the second issue, the message shows as plain text initially when you first open the report after logging in:
For the first issue, you can try copy-paste a message from Concierge with link, you'll see that it converts the links to markdown. And the fix is just simple as mentioned in my proposal https://github.com/Expensify/App/issues/50090#issuecomment-2389313586.
aah markdown when copied! I like that plan, that sounds better than the HTML 👍
we might also need to fix delayed submission system message, within the scope of this issue
would love to take c+ role if this goes external
Thanks @ishpaul777 - before we got external I think we need to nail down all the things we need to get updated / fixed in this issue 👍 want to help with that? Then, yes I'm quite sure we can get this going external for the fix(es)
Agreed! looked through other places we have hardcoded <a>
all relevant place that are used as ReportAction is copied using setClipboardMessage
instead of Clipboard.setString
for example ReportActionsUtils.getExportIntegrationMessageHTML
and ReportActionsUtils.getCardIssuedMessage
Nice, yep i def think that's a first thing to update 👍 👍
Do you have any ideas for fixing the "oh first loading a report w/ HTML in the report action, after logging in & loading the report, the HTML is displayed as text instead of rendered HTML" - does that make sense?
By the way I have a backend PR up to fix the "first load of the auto-paid message" - I found the bug & hopefully fixed it
Backend PR merged, once deployed the "first load" part should be fixed
Thanks for the update @Beamanator. Is https://github.com/Expensify/App/pull/50181 "first load" PR?
Nahhh, #50181 is just about copying / pasting that system message, which is lower priority IMO so i haven't had time to prioritize yettt
Got it. So where is the other PR? I don't see any others linked to this GH issue.
Aah the other one is https://github.com/Expensify/Auth/pull/12691! Which is on prod as of last night so hopefully we can see it's fixed now! 🙏
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.48-2 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-10-22. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Upwork offer: https://www.upwork.com/nx/wm/offer/104438278
I sent it from [$250] Payment issue for E/App PR#50059
@ishpaul777 do we need any regression new tests for this one?
[Upwork Job]()
This has already been paid in https://github.com/Expensify/App/issues/50742.
@ishpaul777 let us know if we need any regression tests before we close the issue.
Sorry i missed ping, no i dont think we need regression becuase its found in normal QA process we might have tests covering this already
@sakluger Isn't https://github.com/Expensify/App/issues/50742 a payment issue for different PR ?
Oh wow, you're right - I misread the issue number on that one. My mistake!
Here's an offer for this one: https://www.upwork.com/nx/wm/offer/104577466
Paid! Thanks again for staying on top of this @ishpaul777.
@Beamanator @sakluger @luacmartins Be sure to fill out the Contact List!
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.43-0 Reproducible in staging?: Y Reproducible in production?: N Email or phone of affected tester (no customers): applausetester+pso@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The content will be pasted correctly.
Actual Result:
The pasted content has
<a href="link"> and </a>
. The system message also shows<a href="link"> and </a>
when the report is opened for the first time (after relogin).Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/751df924-d0ae-4af5-97d4-dc9d8a0a0662
https://github.com/user-attachments/assets/3514897f-6044-4fed-a71b-29af3f1a762d
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @sakluger