Rocket.Chat.ReactNative/app/views
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
..
AdminPanelView [IMPROVEMENT] Support badge number on header buttons (#2566) 2020-10-30 13:15:58 -03:00
AutoTranslateView [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
CreateDiscussionView [FIX] Create discussion request being sent with null value on encryption param (#3033) 2021-04-01 09:24:28 -03:00
DirectoryView [TESTS] Add E2E tests to directory (#2964) 2021-03-18 10:32:48 -03:00
InviteUsersEditView [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
InviteUsersView [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
LanguageView [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
MessagesView [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
NewServerView [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
NotificationPreferencesView [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
OnboardingView [FIX] Back button closing activity when on root stack screen (#2804) 2021-01-15 14:49:00 -03:00
ProfileView [IMPROVEMENT] Remove lodash.isEqual (#2893) 2021-02-26 13:01:45 -03:00
ReadReceiptView [FIX] Use List.Separator in all places (#2931) 2021-02-26 13:27:04 -03:00
RoomActionsView [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
RoomInfoEditView [CHORE] Simplify server version comparison (#2922) 2021-03-18 10:33:35 -03:00
RoomInfoView [NEW] Basic support to Teams (#3016) 2021-04-07 15:31:25 -03:00
RoomMembersView [FIX] Unable to search non-latin alphabet names on members list (#3039) 2021-04-07 16:15:05 -03:00
RoomView [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
RoomsListView [CHORE] Refactor mention tracking logic (#2997) 2021-04-07 15:56:16 -03:00
SearchMessagesView [NEW] Jump to message (#3099) 2021-05-26 14:24:54 -03:00
SettingsView [REGRESSION] Clear local server cache not loading rooms (#3007) 2021-04-01 09:58:20 -03:00
ShareListView [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
ShareView [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
SidebarView [IMPROVEMENT] User status icons (#2991) 2021-03-31 14:47:17 -03:00
ThreadMessagesView [NEW] Basic support to Teams (#3016) 2021-04-07 15:31:25 -03:00
UserNotificationPreferencesView [FIX] User notification preferences throwing an error when select default Email option (#2615) 2020-11-06 11:26:43 -03:00
UserPreferencesView [FIX] Whitelabel unable to find package name (#2626) 2020-11-12 13:06:48 -03:00
WorkspaceView [NEW] Support RTL (#2656) 2020-11-30 18:47:05 -03:00
AddChannelTeamView.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
AddExistingChannelView.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
AttachmentView.js [FIX] Temp attachment files not being flushed after saved to gallery (#2871) 2021-02-22 18:53:44 -03:00
AuthLoadingView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
AuthenticationWebView.js [REGRESSION] SAML stopped working after #2978 (#3060) 2021-04-14 11:24:13 -03:00
ChangePasscodeView.js [FIX] App not sending second argument for EventEmitter.removeListener on some places (#2909) 2021-02-23 16:00:39 -03:00
CreateChannelView.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
DefaultBrowserView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
E2EEncryptionSecurityView.js [NEW] Encrypted Discussions (#2813) 2021-01-20 14:34:01 -03:00
E2EEnterYourPasswordView.js [IMPROVEMENT] Add `Change Encryption Password` and `Reset E2E Key` (#2542) 2020-10-30 15:31:04 -03:00
E2EHowItWorksView.js [IMPROVEMENT] Support badge number on header buttons (#2566) 2020-10-30 13:15:58 -03:00
E2ESaveYourPasswordView.js [IMPROVEMENT] Add `Change Encryption Password` and `Reset E2E Key` (#2542) 2020-10-30 15:31:04 -03:00
ForgotPasswordView.js [NEW] Log events from RoomsList, SideDrawer and Profile (#2190) 2020-07-30 10:26:17 -03:00
ForwardLivechatView.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
JitsiMeetView.js [NEW] Log remaining events (#2368) 2020-08-05 10:15:56 -03:00
LegalView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
LivechatEditView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
LoginView.js [FIX] i18n not being applied on login/register labels (#2930) 2021-04-01 18:17:21 -03:00
MarkdownTableView.js [FIX] Minor i18n issues (#2335) 2020-07-31 15:30:36 -03:00
ModalBlockView.js [IMPROVEMENT] Remove lodash.isEqual (#2893) 2021-02-26 13:01:45 -03:00
NewMessageView.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
PickerView.js [NEW] Support RTL (#2656) 2020-11-30 18:47:05 -03:00
RegisterView.js [FIX] i18n not being applied on login/register labels (#2930) 2021-04-01 18:17:21 -03:00
ScreenLockConfigView.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
ScreenLockedView.js [FIX] App not sending second argument for EventEmitter.removeListener on some places (#2909) 2021-02-23 16:00:39 -03:00
SecurityPrivacyView.js [IMPROVEMENT] Add `Change Encryption Password` and `Reset E2E Key` (#2542) 2020-10-30 15:31:04 -03:00
SelectListView.js [NEW] Leave Teams (#3116) 2021-05-25 15:04:05 -03:00
SelectServerView.js [CHORE] Use shortcut syntax for get collections (#2932) 2021-02-26 13:25:51 -03:00
SelectedUsersView.js [NEW] Create Team (#3082) 2021-05-12 16:01:29 -03:00
SetUsernameView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
StatusView.js [CHORE] Update Detox to 18.10.0 (#3052) 2021-04-19 11:31:43 -03:00
Styles.js [IMPROVEMENT] User status icons (#2991) 2021-03-31 14:47:17 -03:00
TeamChannelsView.js [NEW] Add/Create/Remove channel on a team (#3090) 2021-05-19 18:14:42 -03:00
ThemeView.js [IMPROVEMENT] List Component (#2506) 2020-10-30 10:59:44 -03:00
VisitorNavigationView.js [NEW] Support RTL (#2656) 2020-11-30 18:47:05 -03:00
WithoutServersView.js [NEW] Support RTL (#2656) 2020-11-30 18:47:05 -03:00