If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide, specifically for machine setup and for developer workflow.
Notes: Jira ticket
Currently we cut the text after 300 characters, but this causes issues with Markdown rendering (e.g. code blocks and tables). See https://github.com/mattermost/mattermost-server/issues/7399.
Propose that instead of cutting off the text, we render the whole message attachment and use CSS to only show the first three lines on the screen until the user clicks "Show More...". This should apply for browsers, desktop apps and mobile apps.
Example:
1) Use this payload to post a webhook message
{"attachments":[{ "color": "#009edc", "text": "Build started by user.\n\n| Module | version | target env |\n| -------- | -------- | ------------------- |\n| Core | v2.3.0_27 | server1|\n| Batch | v2.3.0_16 | server1|\n" }]}
Observed:
Expected:
@esethna can i work on this?
@narendravardi go for it, thanks!
@esethna, I was looking out for Java Repo and by mistake looked into this repo. I am not aware of Go and hence it would good if you could assign this to someone else.
Sorry! :)
@narendravardi Actually, this ticket won't involve any Go, and the code changes would be done in the https://github.com/mattermost/mattermost-webapp repository.
Let me know if you'd still be interested to give it a try?
@jasonblais Don't know ReactJS too :|
@narendravardi No worries! Thanks for your interest regardless! :)
If you know Javascript, we have a few help wanted tickets on our desktop repository: https://github.com/mattermost/desktop/issues?q=is%3Aissue+is%3Aopen+label%3A%22Help+Wanted%22
Otherwise, there are open Hacktoberfest issues from other projects that involve Java, which can be found here: https://github.com/search?l=Java&q=label%3Ahacktoberfest+state%3Aopen+type%3Aissue&type=Issues
I would like to work on this issue
Great, thanks @KishoreFartiyal!
@jasonblais , can you help me reproduce this issue?
I need steps to reproduce this issue and where to find the issue in UI?
@KishoreFartiyal Have you sent webhook messages before? If so, there's an example in the issue description.
If you haven't I can give you a few extra steps to help you guide through it
@jasonblais No, I have never sent webhook messages before. It'll be helpful if you can provide few steps from the beginning to create the issue.
@KishoreFartiyal Here's sample steps:
{"attachments":[{ "color": "#009edc", "text": "Build started by user.\n\n| Module | version | target env |\n| -------- | -------- | ------------------- |\n| Core | v2.3.0_27 | server1|\n| Batch | v2.3.0_16 | server1|\n" }]}
^Let me know if that helps?
@jasonblais thanks for your help !
I am able to follow the steps conveniently .
Let's come to the issue.
Currently, it displays correctly as specified in the expected screenshot.
Expected Behavior from the description of the issue:
Current behavior:
Kindly help what is actually expected
@KishoreFartiyal Hmm I see. I think https://github.com/mattermost/mattermost-server/pull/7707 submitted Oct 24th may have fixed that particular issue.
I didn't find any corner cases so this issue can be considered fixed. Would there be another help wanted ticket you'd be interested taking a look?
@jasonblais no problem, I would pick another issue to work on
I just hit this bug today with Mattermost 5.1.1. It it suppose to be fixed?
Screen sample:
Thanks @matejzero. Looks like I closed the ticket in error.
The issue is fixed in Mattermost 5.2, as part of https://mattermost.atlassian.net/browse/MM-11422
That’s really good news. I guess this fix will arrive in september’s gitlab
release.
Thanks!
On 13 Sep 2018, at 15:55, Jason Blais notifications@github.com wrote:
Thanks @matejzero https://github.com/matejzero. Looks like I closed the
ticket in error.
The issue is fixed in Mattermost 5.2, as part of
https://mattermost.atlassian.net/browse/MM-11422
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mattermost/mattermost-server/issues/7582#issuecomment-421016013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEeNZMfW9ZRKnRHyK4LsSLGG31jC0xCOks5uamPdgaJpZM4PvVTu
.
That's correct, 5.2 will ship in GitLab's September release @matejzero 👍