integrations / microsoft-teams

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

Limit content embeds to fit into a Teams message #328

Open jlsjonas opened 11 months ago

jlsjonas commented 11 months ago

Describe the bug When linking to a big file on github (f.e. a translations file) the client-side embedding can exceed the message size limit of teams, leading to a stuck message

To Reproduce Steps to reproduce the behavior:

  1. Link to a big file on github under the teams integration
  2. attempt to send the message
  3. Failed to send

Expected behavior The embed to be restricted to a sensible size to avoid disrupting the user

Desktop: