verdnatura-chat/app/utils
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
..
base64-js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
fileUpload [REGRESSION] Multiple uploads not working on iOS (#2738) 2020-12-23 08:49:00 -03:00
log [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
navigation [NEW] Support RTL (#2656) 2020-11-30 18:47:05 -03:00
shortnameToUnicode [FIX] Remove unrecognized emoji flags on android (#1887) 2020-03-17 17:19:18 -03:00
appGroup.js [CHORE] App Group path as a iOS constant (#2439) 2020-08-31 17:29:44 -03:00
avatar.js [CHORE] Refactor mention tracking logic (#2997) 2021-04-07 15:56:16 -03:00
debounce.js [WIP] Improves (#245) 2018-03-02 21:31:44 +00:00
deferred.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
deviceInfo.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
events.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
fetch.js [IMPROVEMENT] Change server while connecting/updating (#1981) 2020-05-05 10:11:28 -03:00
goRoom.js [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
info.js [FIX] Logout from custom oauth (#2377) 2020-08-25 17:04:18 -03:00
isReadOnly.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
isValidEmail.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
layoutAnimation.js [FIX] Watermelon throwing "Cannot update a record with pending updates" (#1754) 2020-03-02 17:12:41 -03:00
localAuthentication.js [FIX] Deep linking and other connectivity issues (#2894) 2021-03-05 13:10:21 -03:00
media.js [NEW] Send multiple attachments (#2162) 2020-06-26 17:22:56 -03:00
messageTypes.js [NEW] Filter system messages per room (#1815) 2020-03-06 11:19:03 -03:00
moment.js [FIX] MomentJS crashing on Spanish language (#2616) 2020-11-06 11:27:25 -03:00
openLink.js [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
random.js [NEW] OAuth (#241) 2018-02-23 17:29:05 -03:00
review.js [NEW] Add to F-Droid (#2171) 2020-08-24 09:24:10 -03:00
room.js [NEW] Create Team (#3082) 2021-05-12 16:01:29 -03:00
scaling.js [NEW] Tablet support (#1300) 2019-11-25 17:01:17 -03:00
scrollPersistTaps.js Emoji picker (#185) 2018-01-16 16:48:05 -02:00
server.js [NEW] Support client certificates for SSL (two-way authentication) (#1125) 2019-09-02 13:19:05 -03:00
sslPinning.js [NEW] Support client certificates for SSL (two-way authentication) (Android) (#2624) 2020-11-30 14:00:06 -03:00
theme.js [FIX] Wait attach activity before changeNavigationBarColor (#2111) 2020-05-13 17:26:26 -03:00
throttle.js Beta (#265) 2018-04-24 17:08:17 -03:00
touch.js [FIX] Wrong styling on E2E encryption banner (#2767) 2021-01-21 16:52:26 -03:00
twoFactor.js [NEW] Two Factor authentication via email (#1961) 2020-04-01 17:32:24 -03:00
url.js [NEW] Delete Server (#1975) 2020-05-04 17:20:45 -03:00