Mattermost-plugin-github: Remove commented text in Tooltip link body

Created on 14 Jun 2020  路  6Comments  路  Source: mattermost/mattermost-plugin-github

Currently the link tooltip includes the contributing instructions in the body of the issue/PR. It is a bit noisy and doesn't convey the important information in the PR's description.

image

Medium Good First Issue TecGo TypEnhancement

All 6 comments

Let's go this server-side

I would like to give this a try.

I am thinking to use regular expressions for removing commented text inside <!-- -->.

Thanks for taking a look @abdulsmapara.

Regular expressions are definitiv a valid approach to solve this issue.

@mickmister, I have exactly considered the same regex present in template.go to avoid redundancy.

Was this page helpful?
0 / 5 - 0 ratings