Closed ayusht2810 closed 3 weeks ago
@hanzei added the comment for the above changes in the code. Please re-review
It looks like the screenshots changed the behavior of public vs ephemeral messages. Is this the case?
@mickmister Are you talking about the first case where the user doesn't have access to webhooks? If yes, the screenshot was missing the part for the public message. I have added a screenshot for both the cases again:
Case 1:
Case 2:
@ayusht2810 The duplicated text between the public and ephemeral messages is a bit confusing. If there is an ephemeral message involved with the response, I think we should remove any duplicated text that also exists in the public post. If the entire message is duplicated, then we can just omit the ephemeral message in that case. What do you think?
@mickmister Updated the messages:
Let me know if anything else needs to be changed here.
Summary
Screenshots
When user is not authorized to access webhooks
Before
After
When there is no webhook present
Before
After
Ticket Link
Fixes https://github.com/mattermost/mattermost-plugin-github/issues/715 Fixes https://github.com/mattermost/mattermost-plugin-github/issues/732
What to test?