* reset from room to room
* jump from room to room it's fine
* threads ipad
* fix ts roomslistview
* remove params
* fix the ipad highlight
* jump to a message from a thread to main room
* the reset within the goRoom
* create channel
* changes in canned response
* fix discussion navigation
* navigation newmessageview to users
* fix go room from room info view
* inappnotification, deeplinking, room.js
* change from room.rooms to room.subscribed
* minor tweak jumptomessage
* fix add existing channel to team and fixing test 02 of teams
* keep the same behavior after add existing channel
* keep the same behavior after add existing channel
* clean cosole
* changes requested about the name
* inapp redux to hooks
* added a comment to addexistingchanneltoteam
* minor tweak jumptomessage
* refactor goRoom to add the param popToRoot, also refactor the navigate in deeplinking too
* refactor other places that exist goRoom
* fix the didUpdate
* added in app notification test
* clean js
* minor tweak test
* change Navigation to appNavigation and move to navigation folder
* change ShareNavigation to shareNavigation and move to navigation folder
* fix navigation import
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [FIX] HEvaluating proper the error for channel, team and undefined
* Added some team errors in i18n
* Added unauthorized to i18n
* Test if there is channel name too, to prevent to show {missing roomName}
* Refactor the treatment error to check if exists before translate with i18n
* Remove some check conditional points
* Minor tweak
* Added array with error inside the createChannel
* Moved error array to inside the handleFailure
* added creating_discussion
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [IMPROVEMENT] Add error to AddExistingChannel
* Fix the alert error when create a channel
* Fix the error alert box when create channel and teams
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Added Create Team
* Added actionTypes, actions, ENG strings for Teams and updated NewMessageView
* Added createTeam sagas, createTeam reducer, new Team string and update CreateChannelView
* Remove unnecessary actionTypes, reducers and sagas, e2e tests and navigation to team view
* Minor tweaks
* Show TeamChannelsView only if joined the team
* Minor tweak
* Added AddChannelTeamView
* Added permissions, translations strings for teams, deleteTeamRoom and addTeamRooms, AddExistingChannelView, updated CreateChannelView, TeamChannelsView
* Refactor touch component and update removeRoom and deleteRoom methods
* Minor tweaks
* Minor tweaks for removing channels and addExistingChannelView
* Added missing events and fixed channels list
* Minor tweaks for refactored touch component
* Minor tweaks
* Remove unnecesary changes, update TeamChannelsView, AddExistingChannelView, AddChannelTeamView, createChannel, goRoom and Touchable
* Add screens to ModalStack, events, autoJoin, update createChannel, addRoomsToTeam and Touchable
* Minor tweak
* Update loadMessagesForRoom.js
* Updated schema, tag component, touch, AddChannelTeamView, AddExistingChannelView, ActionSheet Item
* Fix unnecessary changes
* Add i18n, update createChannel, AddExistingChannelTeamView, AddChannelTeamView, RightButton and TeamChannelsView
* Updated styles, added tag story
* Minor tweak
* Minor tweaks
* Auto-join tweak
* Minor tweaks
* Minor tweak on search
* One way to refactor :P
* Next level refactor :)
* Fix create group dm
* Refactor renderItem
* Minor bug fixes
* Fix stories
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Create method to track user event to isolate the logic to improve future refactoring
* Track Onboarding view
* Track NewServer view
* Refactor track method due to firebase already send the current screen
* Track default login and all the oAuth options
* Track default sign up in RegisterView
* Change trackUserEvent signature and update all the files
* Track the remaining login services
* track add server, change server and search
* Track SidebarView and refactor to use react-navigation
* Track profile events and handle exceptions
* Track create channel flux
* Track send message to user via NewMessageView
* Track create direct message flux
* Handle failure of create channel and group in the saga
* Track create discussion flux
* Track navigate to directory and its actions
* Track read, favorite and hide a channel, handling its errors
* Track all channels sorting and grouping
* Resolve requests to improve the importing logs and events
* Remove unused events file
* Leave a bugsnag breadcrumb when logging an event
* Move all logEvent to the top of code block and log remaining fail events
* Move all the non-logic-dependent logEvent to the top of code block
* Improve the logging of sidebar events
* Improve events from onboarding and newserver
* Improve events from login and register view, and log enter with apple
* Improve NewMessageView events
* Improve CreateChannel events
* Improve CreateDiscussion and SelectedUsers create group events
* Improve RoomsList events and log trivial events
* Improve ProfileView events
* Remove single line function body for the sidebarNavigate
* Navigate to Status and AdminPanel View using the defined sidebarNavigate method
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* [WIP] DM between multiple users
* [WIP][NEW] Create new DM between multiple users
* [IMPROVEMENT] Improve createChannel Sagas
* [IMPROVEMENT] Selected Users view
* [IMPROVEMENT] Room Actions of Group DM
* [NEW] Create new DM between multiple users
* [NEW] Group DM avatar
* [FIX] Directory border
* [IMPROVEMENT] Use isGroupChat
* [CHORE] Remove legacy getRoomMemberId
* [NEW] RoomTypeIcon
* [FIX] No use legacy method on RoomInfoView
* [FIX] Blink header when create new DM
* [FIX] Only show create direct message option when allowed
* [FIX] RoomInfoView
* pt-BR
* Few fixes
* Create button name
* Show create button only after a user is selected
* Fix max users issues
Co-authored-by: Diego Mello <diegolmello@gmail.com>
* Fix user.roles
* Better onLongPress handle on messages
* Indicator position
* Fix role undefined in system messages
* Add baseUrl in case of file attachments
* Join room fixed
* RoomView params
* Broadcast fixes
* Add server layout changes
* Use native images
* Subscribe to not joined channels
* Fix alerts without i18n
* Tests updated
<!-- INSTRUCTION: Keep the line below to notify all core developers about this new PR -->
@RocketChat/ReactNative
<!-- INSTRUCTION: Inform the issue number that this PR closes, or remove the line below -->
Closes#342
<!-- INSTRUCTION: Tell us more about your PR with screen shots if you can -->
* Changed navigation library to react-navigation.
Refactoring on sagas to remove navigation navigation flow do it in views.
Added new modal library.
Renamed view files to the same name of their classes.
Added support to redux-devtools using the chrome extension through Remote devtools menu.
Some components was refactored to reduce complexity and more legibility.
* Remove react-native-navigation from Android
* Adding servers to drawer menu, allowing server switch.
* Sidebar component
* opss :x fix add server
* opss :x fix add server
* Fixed add server navigation issues, fixed empty and slow Rooms List and Chat Messages
* Disable cleanup everytime
* some fixes
* some fixes
* fix?
* .
* Fixed logo not displaying when app is loading or signing to server
* Fixed logo in loading and login
* Update LoginView.js
* Update PublicRoutes.js