Rocket.Chat.ReactNative/__tests__/containers
Reinaldo Neto 59a2c7c424
fix: link preview without embed image (#4723)
* [FIX] Link preview with embed image

* refactor the location

* refactor and added test

* minor tweak

* image test

* fix the MessageURl showing when there isn't hasContent or imageUrl

* refactor how to test if it's an image

* update tests

* keep the same behavior for android and ios

* refactor

* update storyshot

* minor tweak, pass hasContent and imageLoadedState instead of style

* remove react memo from urlImage

* merge urlimage inside url

* minor tweak useTheme

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2023-03-17 15:37:34 -03:00
..
Avatar/__snapshots__ Chore: Update Storybook libs to v6 (#4439) 2022-08-19 16:53:40 -03:00
BackgroundContainer/__snapshots__ [NEW] Use Inter font (#4459) 2022-08-23 16:32:51 -03:00
Button/__snapshots__ [IMPROVE] Increase border radius on all buttons (#4657) 2022-11-10 13:22:02 -03:00
Chip/__snapshots__ [IMPROVE] Increase border radius on all buttons (#4657) 2022-11-10 13:22:02 -03:00
HeaderButton/__snapshots__ Chore: Update Storybook libs to v6 (#4439) 2022-08-19 16:53:40 -03:00
List/__snapshots__ [FIX] Can't close the keyboard after entering data in one text box on the screen (#4910) 2023-03-16 16:17:24 -03:00
LoginServices/__snapshots__ [IMPROVE] Increase border radius on all buttons (#4657) 2022-11-10 13:22:02 -03:00
ReactionsList/__snapshots__ [IMPROVE] Redesign emoji picker (#4328) 2022-10-21 15:27:55 -03:00
RoomHeader/__snapshots__ [NEW] Use Inter font (#4459) 2022-08-23 16:32:51 -03:00
RoomItem/__snapshots__ [NEW] Presence Cap (#4900) 2023-02-14 10:47:56 -03:00
SearchBox/__snapshots__ [IMPROVE] Border radius and width on inputs (#4659) 2022-11-10 13:35:59 -03:00
ServerItem/__snapshots__ [NEW] Use Inter font (#4459) 2022-08-23 16:32:51 -03:00
TextInput/__snapshots__ [IMPROVE] Border radius and width on inputs (#4659) 2022-11-10 13:35:59 -03:00
UIKit/__snapshots__ Chore: Update Storybook libs to v6 (#4439) 2022-08-19 16:53:40 -03:00
UnreadBadge/__snapshots__ [NEW] Use Inter font (#4459) 2022-08-23 16:32:51 -03:00
markdown [FIX] Markdown links coloured same as normal text for old markdown (#4905) 2023-03-16 11:12:46 -03:00
message fix: link preview without embed image (#4723) 2023-03-17 15:37:34 -03:00