Rocket.Chat.ReactNative/app/containers/message
Diego Mello 3ef4ef5317
[NEW] Jump to message (#3099)
* Scrolling

* Add loadMore button at the end of loadMessagesForRoom

* Delete dummy item on tap

* Only insert loadMore dummy if there's more data

* load surrounding messages

* fixes and load next

* First dummy and dummy-next

* Save load next messages

* Check if message exists before fetching surroundings

* Refactoring List

* Jumping to message :)

* Showing blocking loader while scrolling/fetching message

* Check if message exists on local db before inserting dummy

* Delete dummies automatically when the message sent to updateMessages again

* Minor cleanup

* Fix scroll

* Highlight message

* Jump to bottom

* Load more on scroll

* Adding stories to LoadMore

* Refactoring

* Add loading indicator to LoadMore

* Small refactor

* Add LoadMore to threads

* getMoreMessages

* chat.getThreadMessages -> getThreadMessages

* Start jumping to threads

* Add jumpToMessageId on RoomView

* Nav to correct channel

* Fix PK issue on thread_messages

* Disable jump to thread from another room

* Fix nav to thread params

* Add navToRoom

* Refactor styles

* Test notch

* Fix Android border

* Fix thread message on title

* Fix NavBottomFAB on threads

* Minor cleanup

* Workaround for readThreads being called too often

* Lint

* Update tests

* Jump from search

* Go to threads from search

* Remove getItemLayout and rely on viewable items

* Fix load older

* stash working

* Fix infinite loading

* Lower itemVisiblePercentThreshhold to 10, so very long messages behave as viewable

* Add generateLoadMoreId util

* Minor cleanup

* Jump to message from notification/deep linking

* Add getMessageInfo

* Nav to threads from other rooms

* getThreadName

* Unnecessary logic

* getRoomInfo

* Colocate getMessageInfo closer to RoomView

* Minor cleanup

* Remove search from RoomActionsView

* Minor fix for search on not joined public channels

* Jump to any link

* Fix tablets

* Jump to message from MessagesView and other bug fixes

* Fix issue on Urls

* Adds race condition to cancel jump to message if it's stuck or after 5 seconds

* Jump from message search quote

* lint

* Stop onPress

* Small refactor on load methods

* Minor fixes for loadThreadMessages

* Minor typo

* LoadMore i18n

* Minor cleanup
2021-05-26 14:24:54 -03:00
..
Attachments.js Revert "[FIX] Make attachment validation compatible with web client (#2927)" (#3036) 2021-04-05 14:36:04 -03:00
Audio.js [IMPROVEMENT] Remove lodash.isEqual (#2893) 2021-02-26 13:01:45 -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] Jump to message (#3099) 2021-05-26 14:24:54 -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] Remove lodash.isEqual (#2893) 2021-02-26 13:01:45 -03:00
Message.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -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 [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
Reply.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
Thread.js [IMPROVEMENT] Threads layout tweaks (#2686) 2021-01-14 14:06:19 -03:00
Touchable.js [IMPROVEMENT] Message Touchable (#2082) 2020-04-30 17:05:59 -03:00
Urls.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
User.js [FIX] Message author touchable taking whole space available (#3048) 2021-04-19 11:33:07 -03:00
Video.js [IMPROVEMENT] Remove lodash.isEqual (#2893) 2021-02-26 13:01:45 -03:00
constants.js Message render performance (#880) 2019-05-20 17:43:50 -03:00
index.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
styles.js [IMPROVEMENT] Threads layout tweaks (#2686) 2021-01-14 14:06:19 -03:00
utils.js [FIX] System message of e2e encryption is missing (#2888) 2021-02-24 13:33:39 -03:00