-
Notifications
You must be signed in to change notification settings - Fork 70
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
[GH-240]:Fixed issue #240 edited the pretext of custom post #287
Conversation
Hello @Kshitij-Katiyar, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #287 +/- ##
=======================================
Coverage 19.33% 19.33%
=======================================
Files 9 9
Lines 1479 1479
=======================================
Hits 286 286
Misses 1138 1138
Partials 55 55 ☔ View full report in Codecov by Sentry. |
@@ -79,7 +79,7 @@ export default class PostTypeZoom extends React.PureComponent { | |||
let content; | |||
let subtitle; | |||
if (props.meeting_status === 'STARTED') { | |||
preText = 'I have started a meeting'; | |||
preText = post.message; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that these are originally set by
mattermost-plugin-zoom/server/http.go
Line 287 in c3533e3
post.Message = "The meeting has ended." |
and
mattermost-plugin-zoom/server/http.go
Line 287 in c3533e3
post.Message = "The meeting has ended." |
/update-branch |
We don't have permissions to update this PR, please contact the submitter to apply the update. |
@hanzei synced with master |
We don't have permissions to update this PR, please contact the submitter to apply the update. |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
@AayushChaudhary0001 Can you please review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hanzei @Kshitij-Katiyar Tested this PR, working fine for text messages, but not supporting emoji's and GiF's if added in the message
To render the markdown using the webapp's markdown logic, we can use the webapp's exposed functions formatText and messageHtmlToComponent const text = messageHtmlToComponent(
formatText(props.message, markdownOptions),
true,
messageHtmlToComponentOptions,
);
return (
<div>
{text}
</div>
); |
@AayushChaudhary0001 this has been fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and approved
Working fine for emoji's and reactions, LGTM!
@Kshitij-Katiyar Please merge |
Summary
Issue