Skip to content

Conversation

@yasunariw
Copy link
Collaborator

Description of the task

(depends on #101 )

This PR extends the link unfurling feature to handle issue and PR links. Visually, it follows the style of GitHub's official Slack integration.

How to test

This shouldn't affect existing tests. New tests for url pattern matching are defined in tests/github_link_test.ml. You can also test by posting messages w/ links to a channel the bot is a member of.

make test

References

Copy link
Contributor

@ygrek ygrek left a comment

Choose a reason for hiding this comment

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

as discussed elsewhere, should truncate notification to contain only immediately useful info (title with number, assignee/author maybe, color-coding is good, date opened?), but we can tweak it live

@yasunariw yasunariw force-pushed the yasu/slack-unfurl-links-pr-issue branch from 810f7e9 to f8b1e4b Compare December 31, 2020 10:25
@yasunariw yasunariw force-pushed the yasu/slack-unfurl-links branch 3 times, most recently from 3200af0 to cfc4921 Compare January 4, 2021 06:46
@yasunariw yasunariw changed the base branch from yasu/slack-unfurl-links to master January 4, 2021 06:49
@yasunariw yasunariw force-pushed the yasu/slack-unfurl-links-pr-issue branch from f8b1e4b to b7ccbe7 Compare January 4, 2021 06:49
@yasunariw yasunariw merged commit 5083f31 into master Jan 4, 2021
@yasunariw yasunariw deleted the yasu/slack-unfurl-links-pr-issue branch January 4, 2021 07:48
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.

3 participants