Commit Graph

244 Commits

Author SHA1 Message Date
IlarionHalushka 3733f776fc issue merger message views ()
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
Diego Mello 7e513ee73a
[FIX] Remove listeners on RoomView header unmount () 2019-05-04 13:46:09 -03:00
Diego Mello 2492371b50
[FIX] Check if room is mounted before setting state ()
* Tweaks on sequential threads messages

* Update tests

* Fix quote

* Prevent from deleting thread start message when positioned inside the thread

* Remove thread listener from RightButtons

* Fix error on thread start parse

* Stop parsing threads on render

* Check replied thread only if necessary

* Fix messages don't displaying

* Fix threads e2e

* RoomsListView.updateState slice

* Stop fetching hidden messages on threads

* Check if RoomView is mounted before rendering

* Refactor navigation events on RoomsListView

* Fix lint

* Fix listener
2019-05-03 11:54:57 -03:00
Diego Mello a243b1ccd7
Tweaks on sequential threads messages layout ()
* Tweaks on sequential threads messages

* Update tests

* Fix quote

* Prevent from deleting thread start message when positioned inside the thread

* Remove thread listener from RightButtons

* Fix error on thread start parse

* Stop parsing threads on render

* Check replied thread only if necessary

* Fix messages don't displaying

* Fix threads e2e

* RoomsListView.updateState slice

* Stop fetching hidden messages on threads

* Set initialNumToRender to 5
2019-05-03 10:33:38 -03:00
Diego Mello 61fcadc879
[FIX] Toggle/follow thread icon () 2019-05-03 10:30:34 -03:00
pranavpandey1998official 661e9eac01 Remove duplicated getRoleDescription function () 2019-05-02 10:55:39 -03:00
Diego Mello 94e32368dd
Remove connection badge ()
* Connecting indicator on RoomsListView header

* Connecting indicator on RoomView header

* Remove ConnectionBadge

* Show updating on RoomView load messages
2019-04-30 16:31:51 -03:00
Diego Mello 44f3b7f1a9
Active users improvements () 2019-04-29 13:03:52 -03:00
Diego Mello 75e4b86a95
Fetch roles from rest api ()
* Fetch roles from rest api

* Fix RoomInfoView role get

* Remove roles from redux
2019-04-26 18:15:25 -03:00
Diego Mello c15fab7c84
Load legal pages from web () 2019-04-26 17:51:09 -03:00
Diego Mello 2f25b10681
[Regression] Search stopped working on Android after LastMessage refactor () 2019-04-26 09:14:30 -03:00
Diego Mello ee99001010
[FIX] Smaller thread title ()
* [FIX] Smaller thread title

* Remove markdown notation from thread title

* On message press debounce

* Align vertical thread title
2019-04-25 14:18:49 -03:00
Diego Mello 5744114d7d
[FIX] Threads ()
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
Closes 
2019-04-24 15:36:29 -03:00
Diego Mello 0266cc2e01
Room item layout () 2019-04-18 17:57:35 -03:00
Diego Mello fb88d08f88
[FIX] Apply emojify on empty texts () 2019-04-18 09:43:31 -03:00
Diego Mello a891ee14ee
RoomsListView improvements () 2019-04-17 15:57:46 -03:00
Diego Mello 9cf81bbab9
[NEW] Threads () 2019-04-17 14:01:03 -03:00
Diego Sampaio 1d9acdb700 [NEW] Discussions () 2019-04-08 09:35:28 -03:00
Diego Mello 2019ec58ce
[FIX] Add Realm.safeAddListener () 2019-04-04 15:08:40 -03:00
Diego Mello 9e107bfdf6
Room item layout () 2019-03-29 16:36:07 -03:00
Diego Mello fd5fbe47e8
Use FlatList in RoomView () 2019-03-27 17:06:57 -03:00
pranavpandey1998official 5771757fa8 [NEW] Scroll down floating button () 2019-03-25 17:54:40 -03:00
pranavpandey1998official e9183b523b [NEW] Scrollable room name feature () 2019-03-25 17:20:24 -03:00
pranavpandey1998official 2814a6e091 [FIX] Show ActivityIndicator in RoomMembersView () 2019-03-18 16:13:59 -03:00
Vitor Luis e8f1a694c6 I18n: Add Portuguese (Portugal) () 2019-03-18 16:09:40 -03:00
Diego Mello 477311f84a
[FIX] Deep linking between multiple logged servers () 2019-03-18 15:52:38 -03:00
Diego Mello 38dabfc9ff
Switch to react-navigation () 2019-03-12 13:23:06 -03:00
Diego Mello eb4b1553bf
[FIX] Fix null native Messagebox component object ()
* Fix null native Messagebox component object

* [iOS] Fix header alignment

* Remove unused files
2019-03-06 10:27:40 -03:00
Diego Mello a139cc83e5
New icons ()
* New Icons

* Remove unused assets

* Change send icon

* Layout tweaks

* Refactor Status

* Styles changed

* User layout fix

* Separator layout changes

* Sidebar status layout fix

* Fix Message.onLongPress issue

* Fix code markdown
Closes https://github.com/RocketChat/Rocket.Chat.ReactNative/issues/625

* Status lint

* Fix tests

* Navigation debounce

* RoomActions icons

* Space between components

* Group text

* Update tests
2019-03-01 13:49:11 -03:00
Diego Mello 8c1b57eb26
Message button ()
* Remove touchable opacity when scrolling messages
* Tap on disable messages closes keyboard
* Unify vibration
* Vibrate only on Android
2019-02-27 11:47:15 -03:00
Diego Mello f3ddf60a57
Remove drawer ()
* Remove drawer (layout needs to be changed in future releases, though)
* Don't navigate outside on logout if there's other logged server
* Update react-native-navigation
2019-02-27 11:26:40 -03:00
Diego Mello b1236f2f21
[FIX] Room members filter () 2019-02-26 09:46:27 -03:00
AnBo83 a04c152feb I18n: Add German () 2019-02-21 14:17:03 -03:00
Diego Mello d795aea8c4
[FIX] Remove rooms listener () 2019-02-14 14:43:56 -02:00
Fazil Boudjelal ce96595dce I18n: Add French () 2019-02-14 13:40:41 -02:00
Diego Mello f065bd05f2
Allow to create empty channel () 2019-02-08 14:34:01 -02:00
David Lougheed e5930cc0fe [FIX] Load avatar on servers that prevent unauthenticated avatar access ()
App would show an empty space on servers that require authentication on avatar access
2019-02-07 17:58:20 -02:00
Diego Mello db0cd5abd1
Updating room indicator ()
Shows "Updating..." when requesting rooms from Rest API.
2019-02-07 14:13:21 -02:00
Diego Mello 0f516083f4
Add Icons class ()
Creates Icons class to manage when to load icons from native side or react-native-vector-icons.
It also fixes `react-native run-android` 
2019-02-07 14:04:41 -02:00
Diego Mello 2585038112
Update JS SDK version () 2019-02-07 13:48:10 -02:00
Diego Mello d26f14d155
[FIX] v1.8.0 ()
* Downgrade react-native-fast-image

* Update iOS permission usage descriptions

* [FIX] Delete upload item
2019-02-01 11:30:12 -02:00
Diego Mello d5a285f85e
Create class to manage navigation ()
* Add Navigation class

* Place Drawer.js logic inside of Navigation

* Load less views at startup
2019-01-31 14:08:38 -02:00
Pranay Ankit e416fe0c68 [FIX] Better message actions () 2019-01-30 10:11:02 -02:00
Diego Mello 754508c2d9
Update dependencies () 2019-01-29 17:52:56 -02:00
Diego Mello d23c055584
Unnecessary re-renders removed ()
* shouldComponentUpdate

* Rooms list shouldcomponentupdate

* RoomView shouldComponentUpdate

* Messagebox and Message shouldComponentUpdate

* EmojiPicker shouldComponentUpdate

* RoomActions shouldComponentUpdate

* Room info shouldComponentUpdate

* Update RNN

* Use only one Flatlist if none group filter is selected

* Update fix

* shouldComponentUpdate

* Bug fixes

* ListView changes

* Bug fix

* render list bug fix

* Changes on public channels

* - RoomView saga leak removed
- Join room e2e tests added

* Rest versions

* Method call versions

* Min RocketChat version alert
2018-12-21 08:55:35 -02:00
Diego Mello ad37586065
Use Rest API pt 2 ()
* Room files

* Pinned messages

* Starred messages

* Mentioned messages

* Search messages

* Bug fixes

* Profile

* Livechat

* Block/unblock user

* Erase room

* Archive room

* Remove unused method

* Bug fix
2018-12-12 13:15:10 -02:00
Diego Mello 17da7ac09c
Chats: Don't show group header if none of the filters is selected () 2018-12-06 10:53:20 -02:00
Diego Mello a2821af95b
Use Rest API calls () 2018-12-05 18:52:08 -02:00
Diego Mello e66dbd8ca3
[FIX] Android stuck on splash screen after hardware back button is pressed ()
* [FIX] Android stuck on splash screen after hardware button is pressed

* Fix empty user at asyncstorage

* Remove unused subscribe
2018-11-27 17:40:53 -02:00
Diego Mello 2692f5222d
[FIX] Upload buttons on Android () 2018-11-19 16:18:15 -02:00