Apps.Github22 icon indicating copy to clipboard operation
Apps.Github22 copied to clipboard

[FEAT]Expand code link added

Open chinma-yyy opened this issue 1 year ago • 1 comments

Issue(s)

closes #26

Acceptance Criteria fulfillment

  • [x] Expand code link on recieving a github code link in the rocket chat message

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 avatar Mar 07 '23 13:03 chinma-yyy

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

chinma-yyy avatar Mar 15 '23 13:03 chinma-yyy