Alex Junior
614d9afe65
Chore: Evaluate helpers and utils - Typescript ( #4146 )
2022-06-06 11:17:51 -03:00
Alex Junior
3265a8395d
Regression: Fix load starred, mentions, pinned and files messages ( #4214 )
2022-05-27 14:22:47 -03:00
Alex Junior
1d452ed9e6
Chore: Evaluate MessagesView - TypeScript ( #4113 )
2022-05-10 23:22:17 -03:00
Alex Junior
8ca73e273a
Chore: Evaluate emoji picker - TypeScript ( #4069 )
2022-05-06 22:06:08 -03:00
Samay Kothari
9d0b659097
[FIX] Messages showing URL preview on Room Actions ( #4065 )
...
* using database query instead of Rocketchat search api to get message search results
* getting search data from server then converting it into the format as required for message rendering
* fixing some redundant changes
* remove ts-ignore
* removing redundant statements
* url preview is visible when we see messages in pinned, mentions and starred messages
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
2022-05-03 15:52:56 -04:00
Gleidson Daniel Silva
89e0a40d95
Chore: remove lib/rocketchat step 2 ( #4035 )
...
* create index file
* remove roomTypeToApiType from rocketchat and fix imports
* move TOKEN_KEY to const file
* move CURRENT_SERVER to const file
* move CERTIFICATE_KEY to const file
* getRoom
* rename getSlashCommands
* getSlashCommands
* readMessages
* getRooms
* loadThreadMessages
* loadNextMessages
* loadSurroundingMessages
* loadMessagesForRoom
* loadMissedMessages
* clearCache
* canOpenRoom
* setUser
* userPreferencesMethods
* getCustomEmojis
* callJtisi
* triggerActions
* getPermissions
* getRoles
* getSettings
* getUsersPresence
* logout
* sendFileMessage
* shareExtension
* sendMessage
* enterpriseModules
* getPermalinks
* search
* change RocketChat.metodo to direct call
* fix types
* Fix login
* Fix createChannel
* migrate service methods to Service.method call
* change call directly to RocketChat because the use of this
* rollback
* rollback
* fix create discussion
* fix import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Gerzon Z
b9651493d2
Chore: update `theme` type ( #4025 )
...
* chore: update `theme` type
* update: components
* update: storyshots
* add: `theme` type to `DirectoryItem`
* chore: update theme type on `message/index.tsx`
* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Alex Junior
b0d408ebc8
Chore: add eslint-plugin-react-hooks lib ( #4021 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-11 15:01:43 -03:00
Gleidson Daniel Silva
bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript ( #4022 )
...
* create keys file and export all consts
* fix import E2E_MESSAGE_TYPE
* fix constants import
* fix constants import
* fix E2E_BANNER_TYPE import
* fix E2E_ROOM_TYPES import
* fix THEME_PREFERENCES_KEY import
* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import
* fix MIN_ROCKETCHAT_VERSION import
* fix constantDisplayMode import
* fix environment imports
* fix links imports
* fix localAuthentication imports
* fix localPath imports
* fix messagesStatus imports
* fix messageTypeLoad imports
* fix defaultSettings imports
* fix tablet imports
* update with todo for colors
* move to lib folder
* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Alex Junior
488074b4ae
Chore: Evaluate Message - TypeScript ( #3944 )
...
Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2022-04-01 18:52:38 -03:00
Alex Junior
3b3cd67d78
Chore: Clean ReactionsModal - TypeScript ( #3926 )
2022-04-01 12:32:17 -03:00
Gerzon Z
38b2b08278
Chore: Evaluate ActivityIndicator - TypeScript ( #3914 )
...
* update: `BackgroundContainer` and `ActivityIndicator`
* update: return type for `RCActivityIndicator`
* update: return type for `BackgroundContainer`
2022-03-17 22:37:10 -04:00
Alex Junior
d73da2942b
Chore: Migrate REST API - getFiles to Typescript ( #3873 )
2022-03-10 12:29:33 -03:00
Alex Junior
69cf9b638e
Chore: Migrate REST API - getMessages to Typescript ( #3875 )
2022-03-10 12:00:50 -03:00
Diego Mello
6b3730ce43
Chore: Migrate RoomView to Typescript ( #3754 )
2022-03-02 11:18:01 -03:00
Alex Junior
f27ddf2e22
chore: migrate getFileUrlFromMessage to ts ( #3734 )
2022-02-21 15:19:40 -03:00
Reinaldo Neto
5ac4700d51
Chore: Migrate Markdown to Typescript ( #3558 )
...
* Chore: Migrate Markdown to TS
* Chore: Migrate Markdown to TS
* minor tweak
* added preview where markdown was preview and fixed params within markdown
* removed ts-ignore
* fix lint
* removed numbersofline={0} and default value to numberOfLines=1
* change how to import markdown preview and remove numberOfLines
* using useTheme inside markdownPreview and remove theme from components
* minor tweak on interfaces
* isNewMarkdown return as boolean
* minor tweaks
* minor tweaks
* removed unused component
* fixed markdown stories
* updated snapshot because removed numberOfLines={0} from message/content
* create IEmoji.ts in definitions and refactor all places where getCustomEmoji was called
* onLinkPress typed
* todo: refactor navtoroominfo
* formatText.test.ts
* markdown stories to typescript too
* minor tweak
* IMessage definition
* refactor: update new types and interfaces for use ISubscription
* refactor: update threadItem for use new MarkdownPreview
* refactor: rollback wrong file commited
* formatHyperlink
* fix lint
* updated item story shot
* refactor and refactor some types
* Remove non-null assertion
* Minor change on useRealName
* tweak
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-17 12:27:01 -03:00
Diego Mello
1ffa592201
Chore: dehydrate small server requests away from rocketchat.js ( #3740 )
2022-02-15 15:50:55 -03:00
Gerzon Z
2946c4724e
[FIX] TypeScript's errors raised by HOCs ( #3535 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Reinaldo Neto
13af9d80ed
Chore: Migrate Model's folder to Typescript ( #3564 )
2022-01-11 10:51:48 -03:00
Gerzon Z
691bf1ef17
Chore: Migrate react-navigation to TypeScript ( #3480 )
...
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
Alex Junior
b223a711a2
Chore: Migrate MessagesView to Typescript ( #3447 )
...
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
2021-11-16 13:10:49 -03:00
Alex Junior
69a67ea998
Chore: Start Typescript migration ( #3279 )
2021-09-13 17:41:05 -03:00
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
Gerzon Z
d6da8665c6
[IMPROVEMENT] Remove lodash.isEqual ( #2893 )
...
* Added dequal and react-fast-compare as substitutes to lodash.isEqual
* Update ReplyPreview.js
* Remove react-fast-compare
* Removed deep-equal and upgrade babel-eslint dev dependency
* Fix avatar
* Fix Messagebox
* Fix CreateDiscussionView
* ModalBlockView
* NewMessageView
* ProfileView
* RoomInfoEditView
* ServerDropdown
* Return local search as object instead of observable
* SelectedUsersView
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 13:01:45 -03:00
Diego Mello
52850cbccc
[IMPROVEMENT] List Component ( #2506 )
...
* List.Item
* section
* Start removing theme as prop
* Remove StatusBar theme prop
* SafeAreaView theme prop
* Minor fixes
* List.Container
* Add translateTitle and translateSubtitle props
* Storybook
* Show action indicator
* Header
* Info
* Theme stories
* FlatList
* DisplayName
* Fix settings
* FlatList tweaks
* ThemeView
* Screen Lock Config
* DefaultBrowserView
* PickerView and User Prefs
* Notification Prefs
* StatusView
* Auto Translate
* InviteUsersEdit
* Visitor
* Minor fixes
* Remove Separator
* Remove iteminfo
* Font scale
* Legal
* Jitsi and e2e
* Block
* search, star, etc
* auto translate and notifications
* RoomInfo
* Refactor RoomActions
* lint
* Remove DisclosureIndicator
* padding horizontal 12
* Detox
* Tests
* Address review comments
* Fix vertical scroll
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-10-30 10:59:44 -03:00
Ezequiel de Oliveira
212281795e
[FIX] Verify useRealName setting on files screen ( #2427 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-26 11:06:14 -03:00
Ezequiel de Oliveira
e9bb24ee38
[FIX] Wrong date and time shown in file section ( #2409 )
...
* Adding missing prop to item object
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Resolving the missing date in the files section in a more elegant way
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Using ts attribute always inside of an item object
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-25 17:09:52 -03:00
Ezequiel de Oliveira
e5aaa667e7
[FIX] MessagesView title not working ( #2294 )
...
* Set title in header of room actions view items
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Remove unneeded spaces
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Set header title on constructor
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
* Remove unused navigation options
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-24 16:58:14 -03:00
Rohit Verma
42df5ddbc1
[FIX] MessagesView duplicating content ( #2307 )
...
* Fix Pagination duplicacy
* Fix MessageView Duplicate Content
* [FIX] Return fetch func
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-07-17 15:59:18 -03:00
Djorkaeff Alexandre
893acdcd3a
[NEW] Action Sheet ( #2114 )
...
* [WIP] New Action Sheet
* [NEW] Header Indicator
* [IMPROVEMENT] Header Logic
* [NEW] Use EventEmitter to show ActionSheet for while
* [FIX] Animation
* [IMPROVEMENT] Use provider
* [FIX] Add callback
* [FIX] Message Actions
* [FIX] Add MessageActions icons
* [NEW] MessageErrorActions
* [IMPROVEMENT] OnClose
* [FIX] Adjust height
* [FIX] Close/Reopen
* [CHORE] Remove react-native-action-sheet
* [CHORE] Move ActionSheet
* [FIX] Reply Message
* [IMPROVEMENT] Hide ActionSheet logic
* [WIP] Custom MessageActions Header
* [IMPROVEMENT] MessageActions Header
* [IMPROVEMENT] Enable Scroll
* [FIX] Scroll on Android
* Move to react-native-scroll-bottom-sheet
* Stash
* Refactor actions
* Revert some changes
* Trying react-native-modalize
* Back to HOC
* ActionSheet style
* HOC Header
* Reaction actionSheet
* Fix messageBox actions
* Fix add reaction
* Change to flatListProps
* fix modalize android scroll
* Use react-native-scroll-bottom-sheet
* [NEW] BottomSheet dismissable & [FIX] Android not opening
* [NEW] Show emojis based on screen width
* [WIP] Adjust to content height
* [IMPROVEMENT] Responsible
* [IMPROVEMENT] Use alert instead actionSheet at NewServerView
* [FIX] Handle tablet cases
* [IMPROVEMENT] Remove actionSheet of RoomMembersView
* [IMPROVEMENT] Min snap distance when its portrait
* [CHORE] Remove unused Components
* [IMPROVEMENT] Remove duplicated add-reaction
* [IMPROVEMENT] Refactor Icon Package
* [IMPROVEMENT] Use new icons
* [FIX] Select message at MessageActions before getOptions
* [FIX] Custom header height
* [CHORE] Remove patch & [FIX] Tablet bottom sheet
* [FIX] Use ListItem height to BottomSheet Height
* Some fixes
* [FIX] Custom MessageActions header
* [FIX] Android height adjust
* [IMPROVEMENT] Item touchable & [FIX] Respect pin permission
* [IMPROVEMENT] More than one snap point
* some size fixes
* improve code
* hide horizontal scroll indicator
* [FIX] Focus MessageBox on edit message
* [FIX] Ripple color
* [IMPROVEMENT] Backdrop must keep same opacity after 50% of the screen
* [TEST] Change animation config
* [IMPROVEMENT] BackHandler should close the ActionSheet
* [CHORE] Add react-native-safe-area-context
* [FIX] Provide a bottom padding at notch devices
* [IMPROVEMENT] Improve backdrop input/output range
* [FIX] Weird Android Snap behavior
* [PATCH] React-native-scroll-bottom-sheet
* [CI] Re-run build
* [FIX] Landscape android
* [IMPROVEMENT] Cover 50% of the screen at the landscape mode
* [FIX] Adjust emoji content to width size
* [IMPROVEMENT] Use hooks library
* [IMPROVEMENT] Close the actionSheet when orientation change
* deactivate safe-area-context for while
* [REVERT] Re-add react-native-safe-area-context (3.0.2)
* [IMPROVEMENT] Use focused background
* [TESTS] E2E Tests updated to new BottomSheet
* [NEW] Add cancel button
* [FIX] Cancel button at android
* [IMPROVEMENT] Use cancelable bottom sheet at room members view
* [IMPROVEMENT] Use better function names
* [IMPROVEMENT] Use getItemLayout
* [FIX][TEMP] Animation
* Review
* Build
* Header keyExtractor
* Rename function
* Tweak animation
* Refactoring
* useTheme
* Refactoring
* TestIDs
* Refactor
* Remove old lib
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-15 16:35:45 -03:00
Diego Mello
98ed84ba5c
[CHORE] Update react-navigation to v5 ( #2154 )
...
* react-navigation v5 installed
* compiling
* Outside working
* InsideStack compiling
* Switch stack
* Starting room
* RoomView header
* SafeAreaView
* Slide from right stack animation
* stash
* Fix params
* Create channel
* inapp notification
* Custom status
* Add server working
* Refactor appStart
* Attachment
* in-app notification
* AuthLoadingView
* Remove compat
* Navigation
* Outside animations
* Fix new server icon
* block modal
* AttachmentView header
* Remove unnecessary code
* SelectedUsersView header
* StatusView
* CreateDiscussionView
* RoomInfoView
* RoomInfoEditView style
* RoomMembersView
* RoomsListView header
* RoomView header
* Share extension
* getParam
* Focus/blur
* Trying to fix inapp
* Lint
* Simpler app container
* Update libs
* Revert "Simpler app container"
This reverts commit 1e49d80bb4
.
* Load messages faster
* Fix safearea on ReactionsModal
* Update safe area to v3
* lint
* Fix transition
* stash - drawer replace working
* stash - modal nav
* RoomActionsView as tablet modal
* RoomStack
* Stop showing RoomView header when there's no room
* Custom Header and different navigation based on stack
* Refactor setHeader
* MasterDetailContext
* RoomView header
* Fix isMasterDetail rule
* KeyCommands kind of working
* Create channel on tablet
* RoomView sCU
* Remove withSplit
* Settings opening as modal
* Settings
* StatusView headerLeft
* Admin panel
* TwoFactor style
* DirectoryView
* ServerDropdown and SortDropdown animations
* ThreadMessagesView
* Navigate to empty RoomView on server switch when in master detail
* ProfileView header
* Fix navigation issues
* Nav to any room info on tablet
* Room info
* Refactoring
* Fix rooms search
* Roomslist commands
* SearchMessagesView close modal
* Key commands
* Fix undefined subscription
* Disallow navigate to focused room
* isFocused state on RoomsListView
* Blur text inputs when focus is lost
* Replace animation
* Default nav theme
* Refactoring
* Always open Attachment with close modal button
* ModalContainer backdrop following themes
* Screen tracking
* Refactor get active route for in-app notification
* Only mark room as focused when in master detail layout
* Lint
* Open modals as fade from bottom on Android
* typo
* Fixing tests
* Fix in-app update
* Fixing goRoom issues
* Refactor stack names
* Fix unreadsCount
* Fix stack
* Fix header animation
* Refactor ShareNavigation
* Refactor navigation theme
* Make sure title is set
* Fix create discussion navigation
* Remove unused variable
* Create discussions from actions fixed
* Layout animation
* Screen lock on share extension
* Unnecessary change
* Admin border
* Set header after state callback
* Fix key commands on outside stack
* Fix back button pressed
* Remove layout animations from Android
* Tweak animations on Android
* Disable swipe gesture to open drawer
* Fix current item on RoomsListView
* Fix add server
* Fix drawer
* Fix broadcast
* LayoutAnimation instead of Transitions
* Fix onboarding back press
* Fix assorted tests
* Create discussion fix
* RoomInfoView header
* Drawer active item
2020-06-15 11:00:46 -03:00
Djorkaeff Alexandre
8870ef4236
[FIX] Messages View ( #2090 )
...
* [FIX] Messages View
* [FIX] Opening PDF from Files View
* [FIX] Audio
* [FIX] SearchMessagesView
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:07:58 -03:00
phriedrich
85dfe1b970
[FIX] Missing i18n on MessagesView title ( #1733 )
2020-02-17 13:17:56 -03:00
Diego Mello
a580d3a867
[FIX] Add missing calls to user info ( #1741 )
2020-02-17 13:06:46 -03:00
Diego Mello
3683b8936a
[IMPROVEMENT] Use reselect ( #1696 )
2020-02-11 11:09:14 -03:00
Djorkaeff Alexandre
66d21408b6
[NEW] Image Viewer ( #1479 )
2019-12-18 18:13:11 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Diego Mello
9ba37107c7
[CHORE] Migrate to Watermelon ( #1171 )
...
* Install
* Create subscriptions
* Subscription observing and sorting
* Saving last message
* Stash
* Stash
* stash
* Stash
* Rooms list listing :)
* Animated set state
* Search working
* Fix load rooms on login
* stash db class
* set active db with path
* Remove db on logout
* stash
* Created updateMessages
* Inserting/updating threads
* Persisting thread messages
* Removed unused list
* Loading messages from watermelon
* Debounce updates and rerender message
* optional fields
* Fix realm conflict issues
* Fix some render issues
* stash
* List mount
* stash
* fix message id
* Fix tmsg
* - Save subscription.rid as id on watermelon and _id as _id
- Send room as param to room view
* Throttle room updates
* stash
* comment removeClippedSubviews
* Fetch thread name
* try/catch updateMessages
* Show loading while RoomView.init is still running
* stash
* Fix updateMessages
* Threads
* Delete message
* Permalink
* Pin
* Star
* Report
* MessageActions refactor
* Edit message
* Reply message
* Add reaction
* Auto translate
* Fix connection issues
* Mark message as error if something happened on the call
* Error actions
* get custom emoji
* Always run console.log when __DEV__
* Try to create serversDB
* Don't call updateMessages. Execute that entire logic for one message id instead.
* Refactor update messages
* ServersDB User [Realm -> Watermelon]
* Fix models
* Custom emojis
* Custom emojis on emoji picker
* Frequently used emojis
* Fix add reaction on message
* stash
* Fix
* Read messages
* Fix thread
* Fetch thread header
* Follow/unfollow thread
* Fix thread
* Upload file
* Thread tweak
* Realm -> Watermelon [Share Extension]
* Add RoomsUpdatedAt to Servers Table
* Settings
* Settings
* Fix logout
* SendFileMessage ServersDB
* ServersDB on serverDropdown
* Remove serversDB from Realm
* Load thread messages
* Delete message
* Improve getSettings
* Improve
* Remove subscription
* Remove update
* Update room via socket
* Small refactor
* Fix logout and improve migration
* Refactor updateMessages
* Improve migration
* Remove unnecessary update
* Revert remove runAfterInteractions
* Fix serverDropdown
* Fix merge
* Init room actions Watermelon
* Room actions Watermelon
* Remove realm on room members
* Room swipe -> Watermelon
* Fix hideChannel
* Get roles watermelon
* Get permissions watermelon
* Users typing + memory db
* Auto translate watermelon
* New Message View
* Selected Users View
* try/catch
* Get Slash Commands watermelon
* Slash Commands message box
* Custom emojis message box
* Get rooms message box
* Room info view
* Room info edit
* Save active users
* Small refactor
* Message Actions
* hasPermission await
* last hasPermission fix
* Active users on redux
* Add user roles
* Users typing on redux and remove memory db
* Fix saga delay
* Fix few issues
* Fix slash commands preview
* Draft message
* Add muted
* Unread count watermelon
* Remove realm
* Fiz RoomItem rerenders
* Remove realm config
* Rerender status update on RoomItem
* Refactor RoomsListView
* Fix load missed messages
* Fix room update
* Message refactor
* Fixing lint
* removeClippedSubviews on iOS only
* Added few interaction managers
* Fix few rerenders
* Fix RoomItem status typo
* Fix RoomView.SCU
* Fix broadcast
* Fix user status on RoomActionsView
* Fix RocketChat.hasPermission
* Fix database inconsistencies
* Fix few update issues
* Add rxjs and remove with observables
* Fix tests
* Remove subscriptions
* Fix RoomsListView SCU
* Change database structure and set all schemas to 1
* Fix RoomsListView search
* Fixed errors, removed rerenders and added animation
* Fixed a few errors
* Fix lint
* Fix issues caught by LGTM
* fix ios build
* Fix load unjoined channel messages
* Log on database path on startup
* Fix join channel
* Remove react-native-realm-path
* Set user status on login.user reducer
* Fix status not rendering on RoomsListView
* Fix few reducers
* Fix users going offline
* Never use "watermelon" term directly. Replaced by "database"
* Fix custom emoji
* Creating room from app must update roomUpdatedAt
* Log subscribeRoom start
* Fix room subscribe right after creating a DM
* Refactor is read only on messages actions
* Fix typo
* Fix typo
* Review
* Fix schema
* Fix muted & freq emoji & unpin & unstar
* Remove throttleTime to room info & fix reset on edit room
* Fix openServerDropdown spec & Fix unarchive
* Fix MessageAction
* Refactor RoomInfoEditView
* Remove unnecessary condition
* Remove unnecessary condition
* Remove unnecessary condition
* Remove get database
* Rename Command.js to SlashCommand.js
* Create sanitizer util
* Fix indentation
* Create subscription.t index
* Refactor queries on RoomsListView
* Create subscription.name index
* Fix getPermissions
* Fix indentation
* Add missing await
* Fix rocketchat.hasPermission
* Unnecessary change
* Star, pin e delete message refactored
* Refactor customEmojis reducer
* Remove code
* Remove logs
* Remove throttle
* Call this.init on foreground focus on RoomView
* Bump servers schema migration
* Always mark message as sent after a success
* Fetch only messages needed on updateMessages
* Just leave a comment for now
* Fetch only subscriptions returned by fetch
* Set room param on RoomView header in find room
* Update kotlin
* Fix auto translate constructor
* Fix few setState on constructor
* Fix empty room image blinking while mounting
* Improve fetch/persist execution for custom emojis, permissions and settings
* Query only user tapped on RoomMembersView
* Fix typo on canOpenRoom
2019-09-16 17:26:32 -03:00
IlarionHalushka
664563bd6f
[IMPROVEMENT] Use expo video player ( #1132 )
2019-08-26 13:56:39 -03:00
Diego Mello
ba232547f1
[CHORE] Update to react-native 0.60.4 ( #1095 )
...
* Update to 0.59.10
* stash
* stash
* patch RN
* Try to fix openURL
* Fix compile Share Extension
* Minor fixes
* build ios
* tracking view working and added postinstall
* SafeAreaView vertical never
* tracking view patch
* Android build working
* Android notifications working
* Lint and tests
* Fix android build
* Add tools:replace="android:appComponentFactory"
* Android build
* Update vector icons
* Update webview
* Remove jsc
* Update document picker
* Firebase
* jetify on postinstall
* Patch expo-haptics
* CI
* Migrate packages manually
* Disable ci cache
* Revert "Disable ci cache"
This reverts commit 4740d86102
.
* CI
* audio
* adapter
* notifications
* Try RN directly
* Fix gradle
* Revert patches
* Restore cache
* update redux and lodash
* eslint-config-airbnb@17.1.1 eslint-plugin-jsx-a11y@6.2.3
* ejson@2.2.0 react-native-webview@6.7.0 semver@6.3.0 snyk@1.210.0
* codecov@3.5.0 eslint-plugin-react@7.14.3 eslint-plugin-react-native@3.7.0 react-dom@16.8.6
* Update react-redux and remove decorators
* Update redux-saga and reactotron libs
* Husky
* Storybook libs
* react-native-webview@6.8.0 markdown-it-flowdock@0.3.8 react-native-unimodules@0.5.3
* Removed regenerator-runtime
* react-native-picker-select
* react-navigation-header-buttons
* Remove comments
* react-native-notifications
* Fix rnn android build
2019-08-07 10:51:34 -03:00
Diego Mello
9e4a4d2454
[CHORE] Use react-native-firebase ( #928 )
...
We need to migrate from deprecated react-native-fabric to react-native-firebase.
This PR enables following Firebase features:
* Analytics
* Crashlytics
* Performance
It also tracks screen view without the necessity of HOC.
Future work:
I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc.
2019-05-28 10:03:08 -03:00
Diego Mello
60418b75a4
Message render performance ( #880 )
...
- Refactored Message component to use React.memo and re-render only what's necessary
- Added a test mode to toggle markdown parse by long press drawer (it'll be removed in the next release)
2019-05-20 17:43:50 -03:00
IlarionHalushka
3733f776fc
issue #799 merger message views ( #876 )
...
On Room Actions, we have Files, Mentions, Starred and Pinned.
They have similar APIs and logic.
All of those could be merged into one generic view (MessagesView).
Maybe even Search could be in this merge.
Note: They're similar, but have own rules (unstar, unpin, etc).
This change may reduce 1MB to our release bundle size, since we're going to remove a lot of boilerplate.
2019-05-10 14:09:07 -03:00