Rocket.Chat.ReactNative/app/containers/message
Saket Mahajan 8bc32a3e77
[BUG] App isn't showing message for PDF/file uploads (#2584)
* Fixed the issue #2531

In app/containers/message/Reply.js added a View Contaier around the
Attachment Touchable and Added a Markdown attribute with msg set to
description of attachment to display the message if any.

* Added the condition to check if File Description Exists

Added an if statement to check if file description exists and if yes
then add a markdown with value msg equal to the description.

Also tested using 'yarn test -u' to add/update the tests.

* Made the requested Changes

Removed the condition to check for attachment description.
Added the `markdown` inside the touchable and wrapped `attachmentContainer` and the `markdown` inside a `<>` component

* Added file not showing message issue code in this branch

* Fixed the mistake in return

* fix

* Add tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-11-04 14:25:06 -03:00
..
Attachments.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
Audio.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
Blocks.js [FIX] UIKit with only one block (#2022) 2020-04-13 10:56:57 -03:00
Broadcast.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
CallButton.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00
Content.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
Context.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
Discussion.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00
Emoji.js [FIX] ReactionsModal (#2085) 2020-05-04 11:09:47 -03:00
Encrypted.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
Image.js [IMPROVEMENT] Clear image cache when clear cache (#2300) 2020-07-17 14:39:06 -03:00
Message.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
MessageAvatar.js [FIX] Storybook not able to import Avatar (#2607) 2020-11-04 13:53:44 -03:00
MessageError.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
Reactions.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
ReadReceipt.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
RepliedThread.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
Reply.js [BUG] App isn't showing message for PDF/file uploads (#2584) 2020-11-04 14:25:06 -03:00
Thread.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00
Touchable.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
Urls.js [IMPROVEMENT] Clear image cache when clear cache (#2300) 2020-07-17 14:39:06 -03:00
User.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
Video.js [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -03:00
constants.js Message render performance (#880) 2019-05-20 17:43:50 -03:00
index.js [FIX] Storybook not able to import Avatar (#2607) 2020-11-04 13:53:44 -03:00
styles.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00
utils.js [NEW] Threads (#2567) 2020-10-30 14:35:07 -03:00