-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2023-10-09] [HOLD for payment 2023-09-04] [HOLD 25758][$2000] App displays strong HTML tag in reply in thread first message if we keep it in edit mode and edit message in main report #21527
Comments
Triggered auto assignment to @dylanexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
reviewing today! |
Cannot reproduce, @kavimuru can you confirm this is still happening? |
Closing, @kavimuru feel free to open if you can repro |
@kavimuru @dylanexpensify I can still reproduce it on prod, staging and dev. See below video FYI 21527-dupe-steps-video.movReproduce steps:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.App displays strong HTML tag in reply in thread first message if we keep it in edit mode and edit message in main report What is the root cause of that problem?The root cause of this issue is that
What changes do you think we should make in order to solve the problem?To fix this issue, we should save and read To achieve it, we can
useEffect(() => {
// We want to early return if the action is deleted or it's an initial draft
if (ReportActionsUtils.isDeletedAction(props.action) || props.draftMessage === props.action.message[0].html) {
return;
}
setDraft(Str.htmlDecode(props.draftMessage));
}, [props.draftMessage, props.action.message]); After fixing, the editing state of the first message of a thread and the message from parent report will be synced. Click to see demo videoScreen.Recording.2023-07-01.at.12.25.15.AM.movWhat alternative solutions did you explore? (Optional)N/A |
@dylanexpensify Issue is still reproduced by Dhanashree and Eric 21527-dupe-steps-video.movScreen.Recording.2023-07-03.at.8.42.01.PM.mov |
reviewing |
Confirmed! |
Job added to Upwork: https://www.upwork.com/jobs/~01ee1f1adfd50b483f |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
No proposals, doubling |
@techievivek mind if we get an update today/tomorrow? 🙇♂️ |
@situchan mind giving us an update today? |
waiting for PR from @eh2077 |
@eh2077 mind updating? |
@dylanexpensify Sorry for the delay! I'll submit the PR today. |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
Payment summary:
|
Payments sent! @situchan can we get BZ checklist done |
We never synced editing status of parent message and thread first message from the beginning. Regression Test Proposal
|
Should I propose regression test for #27605 since our PR fixed that bug as well? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.75-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-10-09. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
yes please @situchan, just in that issue! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should not display HTML tags around bold messages
Actual Result:
App display's strong HTML tag around message in reply in thread if the message is kept in edit and we edit that message in main thread
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.32-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
strong.HTML.reply.in.thread.mp4
Desktop.2023.06.24.-.16.25.16.12.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687259310889789
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: