RocketChat / Apps.Github22

The ultimate AI-powered app extending Rocket.Chat for global developers collaborating on Github (2024 and beyond)
33 stars 37 forks source link

[FEAT]Expand code link added #61

Open chinma-yyy opened 1 year ago

chinma-yyy commented 1 year ago

Issue(s)

closes #26

Acceptance Criteria fulfillment

Proposed changes (including videos or screenshots)

image

Screenshot from 2023-03-16 00-02-24

So if the text contains code link then the checkPreMessageSentExtend first checks for the github link then executePreMessageSentExtend checks whether the link is of code link. The structure is like this because for #27 and #28 we can have similar checks in executePreMessageSentExtend. Then the handleCode link adds the attachment to the message.

Further comments

chinma-yyy commented 1 year ago

Hey @samad-yar-khan this pr is ready for a review.