verdnatura-chat/app/lib/methods
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
..
helpers [NEW] Basic support to Teams (#3016) 2021-04-07 15:31:25 -03:00
subscriptions [FIX] Deep linking and other connectivity issues (#2894) 2021-03-05 13:10:21 -03:00
actions.js [FIX] HTTP Basic Auth (#1753) 2020-02-20 09:58:13 -03:00
callJitsi.js [FIX] Support Jitsi_URL_Room_Hash (#2905) 2021-02-22 18:37:13 -03:00
canOpenRoom.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
enterpriseModules.js [CHORE] Simplify server version comparison (#2922) 2021-03-18 10:33:35 -03:00
getCustomEmojis.js [CHORE] Simplify server version comparison (#2922) 2021-03-18 10:33:35 -03:00
getPermissions.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
getRoles.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
getRoomInfo.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
getRooms.js [FIX] Fetch rooms date (#662) 2019-02-27 17:29:37 -03:00
getSettings.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
getSingleMessage.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
getSlashCommands.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
getThreadName.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
getUsersPresence.js [IMPROVEMENT] User status icons (#2991) 2021-03-31 14:47:17 -03:00
loadMessagesForRoom.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
loadMissedMessages.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
loadNextMessages.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
loadSurroundingMessages.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
loadThreadMessages.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
logout.js [FIX] App forgetting workspace when server is not finished added (#2798) 2021-03-18 10:18:33 -03:00
readMessages.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
sendFileMessage.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
sendMessage.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
updateMessages.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00