integrations / microsoft-teams

Bringing your code and work to the conversations you care about with the GitHub and Microsoft integration
430 stars 95 forks source link

Add option to disable link unfurling #247

Open jmarolf opened 1 year ago

jmarolf commented 1 year ago

When I paste in a github link and continue typing my message the cursor is reset to the end of the link portion when the unfurling action completes, which invariably makes me quite irritated.

I can understand this feature being useful but need some gesture to paste without it activating and asynchronously moving my message around leading to a poor writing experience.

heaths commented 1 year ago

The cursor behavior I experience as well, and while it's likely caused by Teams itself (I've seen this with similar bots), many issues or even PRs with large templates are just way too large to insert into the content. It's also distracting. In my org, out of habit almost everyone disables link previews from everything. Occasionally we'll keep them if the generated thumbnail provides value, but it's rare and the default link unfurling that Teams itself does is enough (also thanks to GitHub's thumbnail generator for images and PRs).

With the custom link unfurling that pulls in much more content, it is a productivity killer to have to disable them, especially when it makes me scroll. I've also found that, unlike default link unfurling previews in Teams, there's no easy way to remove these cards once a message is committed.

dls314 commented 1 week ago

It used to be the case that I could delete the unfurled information block by editing a message and the block would be gone when saving my edit. This was painful, but okay.

However, now, when I delete the unfurled information block while editing, it is re-added when saving the edit.

This is not okay.