-
Notifications
You must be signed in to change notification settings - Fork 553
[NEW] Extract urls from room description and make them clickable #2249
base: develop
Are you sure you want to change the base?
[NEW] Extract urls from room description and make them clickable #2249
Conversation
@bizzbyster Would you have time to take a look? Thank you 😊 |
@water2015sit, good, but actually it should be text "realtime contribution leaderboard" with url https://gsoc.rocket.chat It's Makrdown like in GitHub. |
@water2015sit Are you going to update this PR (taking in consideration the comment above from @Adizbek)? |
@filipedelimabrito Yes, I will update this PR. |
Thanks @water2015sit! |
for (clickablePart in clickablePartList) { | ||
val clickableSpan = object : ClickableSpan() { | ||
override fun onClick(widget: View) { | ||
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(clickablePart)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
val intent
is not being used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@water2015sit It is not working properly. Just get a description where the rocket.chat
word appears, it is being highlighted but it is not possible to open that supposed link we have there.
Something like [site name](site url)
is not working too.
Can you fix it?
@filipedelimabrito OK, I will fix it. |
@water2015sit Are you able to fix it? |
@RocketChat/android
Changes:
Extract urls from room description.
Make urls clickable.
Screenshots or GIF for the change:
IMG_2585.MOV.zip