Skip to content

[Chat] Fixed the issue where RTE doesn't send HTML messages if there are attached files#4747

Merged
jpeng-ms merged 3 commits intomainfrom
john/john-rte-fix
Jun 18, 2024
Merged

[Chat] Fixed the issue where RTE doesn't send HTML messages if there are attached files#4747
jpeng-ms merged 3 commits intomainfrom
john/john-rte-fix

Conversation

@jpeng-ms
Copy link
Copy Markdown
Member

@jpeng-ms jpeng-ms commented Jun 18, 2024

What

when sending messages with attachments via RTE, raw HTML would be sending out and this PR address this issue:

before after
image image

Why

bug fix

How Tested

sample app
enable RTE
send a message with any attachments

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

Chat bundle size is increased❗.

  • Current size: 2098861
  • Base size: 2098849
  • Diff size: 12

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

  • Current size: 5031600
  • Base size: 5031600
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6391692
  • Base size: 6391680
  • Diff size: 12

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 26159 / 41085
63.67%
26159 / 41085
63.67%
715 / 1284
55.68%
2091 / 3313
63.11%
Current 26135 / 41085
63.61%
26135 / 41085
63.61%
715 / 1284
55.68%
2086 / 3314
62.94%
Diff -24 / 0
-0.06%
-24 / 0
-0.06%
0 / 0
0%
-5 / 1
-0.17%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 18, 2024

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 51002 / 82609
61.73%
51002 / 82609
61.73%
1037 / 2323
44.64%
2975 / 4906
60.64%
Current 51030 / 82610
61.77%
51030 / 82610
61.77%
1037 / 2323
44.64%
2998 / 4911
61.04%
Diff 28 / 1
0.04%
28 / 1
0.04%
0 / 0
0%
23 / 5
0.4%

"type": "patch",
"area": "fix",
"workstream": "File Sharing",
"comment": "Fixed the issue where RTE cannot send rich text with file attachments",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please use rich text editor instead of RTE?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks updated

Copy link
Copy Markdown
Member

@vhuseinova-msft vhuseinova-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment but otherwise looks good!

@jpeng-ms jpeng-ms enabled auto-merge (squash) June 18, 2024 20:37
@jpeng-ms jpeng-ms merged commit b6c5aa2 into main Jun 18, 2024
@jpeng-ms jpeng-ms deleted the john/john-rte-fix branch June 18, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants