verdnatura-chat/app/containers/message
Djorkaeff Alexandre 46e3db97e8
[NEW] Channel avatars (#2504)
* [WIP] Avatar cache invalidation

* [WIP] Avatar container

* [IMPROVEMENT] Avatar container

* [CHORE] Improve code

* Allow static image on Avatar

* Fix avatar changing while change username (#1583)

Co-authored-by: Prateek93a <prateek93a@gmail.com>

* Add default props to properly update on Sidebar and ProfileView

* Fix subscribing on the wrong moment

* Storyshots update

* RoomItem using Avatar Component

* use iife to unsubscribe from user

* Use component on avatar container

* RoomItem as a React.Component

* Move servers models to servers folder

* Avatar -> AvatarContainer

* Users indexed fields

* Initialize author and check if u is present

* Not was found -> User not found (turn comments more relevant)

* RoomItemInner -> Wrapper

* Revert Avatar Touchable logic

* Revert responsability of LeftButton on Tablet Mode

* Prevent setState on constructor

* Run avatarURL only when its not static

* Add streams RC Version

* Move entire add user logic to result.success

* Reorder init on RoomItem

* onPress as a class function

* Fix roomItem using same username

* Add avatar Stories

* Fix pick an image from gallery on ProfileView

* Format Avatar URL to use RoomId.

Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* edit room avatar

* invalidate cache of room images

* reinit avatar if something change

* read avatar cache on search

* room avatar changed system message

* add avatar by rid test

* update snapshot

* etag cache on select channel

* reset room avatar

* increase caching to have a better image quality

* fix lgtm warn

* invalidate ci cache

* get avatar etag on select users of create discussion

* invalidate ci cache

* Fix migration

* Fix sidebar avatar not updating

* Remove outdated comment

* Tests

Co-authored-by: Prateek93a <prateek93a@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
2020-10-30 10:51:04 -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 [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -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 [CHORE] Update icon names (#2318) 2020-07-27 16:53:33 -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] Avatar cache invalidation (#2311) 2020-10-30 10:12:02 -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 [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
Reply.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
Thread.js [IMPROVEMENT] Refactor icon package (#2146) 2020-06-05 10:28:58 -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] Avatar cache invalidation (#2311) 2020-10-30 10:12:02 -03:00
styles.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
utils.js [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00