Commit graph

100 commits

Author SHA1 Message Date
enahum
088ecad2b5 Split Post component into smaller components and prevent re-rendering (#740)
* Split Post component into smaller components and prevent re-rendering

* Feedback review

* Fix render reply bar

* Remove eslint-disable-line
2017-07-13 17:48:45 -04:00
Stan Chan
c017afb392 RN-66 Clear cache store (#727)
* RN-66 Clear cache store

* Review feedback
2017-07-07 18:21:48 -04:00
enahum
458a2be333 Fix race condition when selecting channel in PN (#723)
* Fix race condition when selecting channel in PN

* Feedback review
2017-07-07 16:37:31 -04:00
Harrison Healey
cd7db1454d Updated .eslintrc.json and disabled exception handler in dev mode (#712)
* Updated .eslintrc.json to require space between async keyword and brackets

* Disabled exception handler in dev mode
2017-07-05 10:52:35 -04:00
enahum
7dbac06983 Fix sentry found issues (#699) 2017-07-03 18:09:04 -04:00
Harrison Healey
3bb50ff96e Fixed some potential bugs in goToNotification action (#696) 2017-07-03 07:52:27 -04:00
enahum
a22a62fcaa Fix push notification switch channel name (#689) 2017-06-28 12:42:49 -04:00
enahum
1b58bec9c4 Fix makeDirectChannel action (#685) 2017-06-28 09:50:27 -04:00
enahum
8d72c0a020 Fix localization + setting the token for APIv3 (#674) 2017-06-26 15:49:28 -04:00
enahum
6c03d3b8e6 RN-239 show error messages for join/delete channel and create dms (#668)
* RN-239 show error messages for join/delete channel and create dms

* Feedback review
2017-06-26 15:12:14 -04:00
enahum
2a7c487463 Re-factor post_list with VirtualizedList (#665)
* Re-factor postlist with VirtualizedList

* Remove react-native-invertible-scroll-view dependency

* Fix navigator not being pass to post

* Feedback review

* Feedback second review
2017-06-23 16:07:06 -04:00
Harrison Healey
4574a54241 RN-219 Attempting to fix missing posts (#653)
* RN-219 Changed loadPostsIfNecessary to get since latest Post.CreateAt

* RN-219 Changed post list refresh to always get the latest page of posts

* Updated yarn.lock
2017-06-20 09:32:55 -04:00
enahum
f758d69296 RN-46 convert loginId to lowercase (#647) 2017-06-19 16:56:09 -04:00
Chris Duarte
c369ca6593 Posts are now seen as pending until submitted successfully (#650)
* Posts are now seen as pending until submitted successfully

* Fix image upload fail retry
2017-06-19 16:55:56 -04:00
enahum
a68d4f4579 RN-192 Fix Cancel button in IOS search bar (#642)
* when login get the sessions after setting the credentials

* Fix reset drawer on android

* RN-192 Fix Cancel button in IOS search bar

* feedback review
2017-06-19 09:19:37 -04:00
enahum
56b8f6e479 Handle the cases when a user with no teams (#621) 2017-06-14 10:04:41 -04:00
enahum
27c29e09b4 RN-193 & RN-197 (#625)
* RN-193 Always show the create btn on android

* RN-197 Update channel header on channel creation

* missing android actions from never to always show the btn
2017-06-14 09:59:54 -04:00
enahum
fa2218a835 RN-185 ensure leaving channels and teams when the app is closed or disconnected (#617) 2017-06-12 12:03:59 -04:00
enahum
ecf39f61dd Various fixes & improvements (#611)
* RN-166 follow user prefs for join/leave messages

* RN-158 Fix Android input textbox offscreen issue

* RN-181 Use device locale as default locale

* Upgrade mattermost-redux

* Fix TouchableHighlight in the channel drawer items

* Update channel title when switching channels

* Fix channel name title when switching teams

* Fix unit test
2017-06-08 15:40:29 -04:00
enahum
68b8bcdc42 RN-148 Tapping to dismiss post tooltip and prevent openining thread view (#607) 2017-06-08 14:57:03 -04:00
enahum
7aa4fbd4a5 RN-136 Post list pull to refresh (#558)
* Fix post list inverted issue

* Add pull to refresh to post list
2017-05-22 08:09:52 -04:00
enahum
04d63a3e93 Local push notification when session expires (#551) 2017-05-18 08:55:49 -04:00
enahum
248dafbe0e RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation (#540)
* Add react-navigator dependency

* Add react-native-navigation dependency

* react-native-navigation, ios and android config

* update react-native-navigation

* New navigation and code cleanup

* Set ScreenBackgroundColor

* Fix channel drawer event issue

* Applied RNPN non-working popInitial notification

* Android navbar and back button

* packages and notices

* MM-redux update

* Fix draft on team switch

* Remove custom NavBar
2017-05-16 11:19:46 -04:00
enahum
30b306c39c Fix unread channels (#522) 2017-05-09 09:34:00 -03:00
enahum
a7dc43aee9 Retry File Upload (#515)
* rename searchMoreChannels to searchChannels

* Handle send post when a file failed to upload
2017-05-02 12:06:08 -03:00
enahum
aff1648d07 Redux changes (#511)
* Update mattermost-redux dependency

* Do not save preferences when creating a direct channel
2017-04-30 10:14:13 -03:00
Chris Duarte
ddf03e1372 RN-79: Images uploaded from React Native get renamed (#509) 2017-04-28 10:24:55 -03:00
Chris Duarte
9d13c985c2 RN-52: RN: Make create post and upload file actions optimistic (#504)
* RN-52: RN: Make create post and upload file actions optimistic

* Review feedback
2017-04-27 08:45:42 -03:00
enahum
dda0480fec Various Bug Fixes (#502)
* Fix edit post with APIv4

* Fix filterProfiles

* Fix intro message error for threads

* Fix members to load in channel action

* Fix channel members lists
2017-04-26 12:55:09 -03:00
enahum
7a3c99c267 Move to mattermost-redux master branch (#484) 2017-04-21 14:20:52 -03:00
Chris Duarte
5b11aea0f5 RN-68: Make save and delete preferences optimistic (#478)
Make account notifications optimistic
Make close DM/GM optimistic
Make favorite channel optimistic
2017-04-18 18:18:30 -03:00
Harrison Healey
43e4c5e2f2 PLT-5860 Updated copyright date (#476) 2017-04-10 11:33:35 -03:00
enahum
0d654a79da RN-61 Implement offline indicator (#472)
* Implement offline indicator

* Review feedback
2017-04-10 09:17:43 -03:00
Chris Duarte
d206ea68de PLT-6173: Offline redux store (#471)
* PLT-6173: Offline redux store

* Review feedback
2017-04-09 21:51:47 -03:00
enahum
fb1471c4de Fix first load to include the right DM's and GM's (#461) 2017-04-06 11:45:20 -03:00
enahum
491fba7738 PLT-6202 Make DM's and GM's visible if necessary (#457) 2017-04-05 22:33:13 -03:00
enahum
007c8bcf35 PLT-6208 Follow policies set in System Console (#456) 2017-04-05 22:33:03 -03:00
enahum
422474a0d2 * Fix markdown issue with renderHardBreak's (#438)
* Fix issue when tapping on a push notification
* Fix splash screen dismissal
2017-03-30 23:44:52 -03:00
Chris Duarte
fce5acea46 PLT-6015 RN grey vertical line on left of replies is sometimes too short (#427) 2017-03-29 23:53:48 -03:00
enahum
e26be5554a PLT 6062 - Fixing Push Notifications (#418)
* PLT-6062 Don't show in-app notification if current channel

* PLT-6131 make drawer titles all caps

* PLT-6027 fix handle Push notifications for DM/GM
2017-03-29 15:32:02 -03:00
Chris Duarte
bc18d60883 Fix login transition (#410)
* Fix login transition

* Add instant transition to modal

* Fix transition to show loader on first login

* Add loader to load_team

* Remove back button
2017-03-28 23:59:01 -03:00
enahum
cb62b02b02 PLT-5489 About Mattermost (#406)
* PLT-5489 About Mattermost

* address feedback
2017-03-27 17:05:33 -03:00
Chris Duarte
e6a1c1a433 Plt 6044 plt 5971 plt 5934 (#405)
* Update post textbox design

* Hide team selection

* Added channel loader

* Update post textbox to new design

* Add channel loader animation

* Remove error bar

* Made image preview fullscreen

* Fix channel loader gradient

* Fix status icon

* Adjust loaded and profile

* Fix channel header wrap

* Add reply count icon

* Fix android styling

* Hide send button

* Fix thread header

* Fix thumbnail upload preview

* Fix preview retry and design
2017-03-27 16:47:52 -03:00
enahum
58f1b3a552 PLT-5660 Ability to edit a post (#399)
* Ability to edit a post

* address feedback
2017-03-26 22:31:16 -03:00
enahum
3209eeb46c PLT-6038 & PLT-6032 Bug fixes in post list and create channel (#397)
* * Fix post list to gracefully fail image previews
* Do not to fetch multiple times the same posts with infinite scroll
* Fix create private channel

* move react-native orientation to own fork
2017-03-26 22:22:54 -03:00
enahum
4a53d47887 PLT-5598 Android back button support (#388)
* Add shadow to the drawer

* PLT-5964 open a DM with someone outside the team

* PLT-5598 Android back button support
2017-03-23 19:10:48 -03:00
Chris Duarte
f37c308ab8 PLT-6033 Add loading spinner to image previewer (#387) 2017-03-23 17:21:14 -03:00
enahum
c049cb0f9d Various UI Fixes (#384)
* Various UI Fixes

* ability to scroll through teams

* Fix drawer when not logged in

* fix channel info DM status

* channel drawer spacing of icons made equal

* address feedback
2017-03-23 10:36:35 -03:00
enahum
56a27ce7ad PLT-5711 Fix Tapping on the button to open the drawers not always work (#383)
* PLT-5711 Fix Tapping on the button to open the drawers not always work

* PLT-6052 Include drawer transition fix

* feedback + unit tests
2017-03-22 23:38:01 -03:00
enahum
7fae0f8039 PLT-5721 Show Group Messages and correct channel info (#372)
* Fix bad merge for navigation modal

* Fix modal props for options and image preview

* PLT-5721 Show Group Messages and correct channel info

* Set fixed commit on mattermost-redux

* address feedback
2017-03-21 21:11:11 -03:00