Commit graph

586 commits

Author SHA1 Message Date
Harrison Healey
db3556325e RN-566 Re-rendered PostList footer when channel ID changes (#1309)
* RN-566 Re-rendered PostList footer when channel ID changes

* Refactor ChannelIntro mapStateToProps into selectors
2017-12-22 10:29:09 -06:00
Harrison Healey
593dd9f033 Removed unused props from ChannelPostList (#1306) 2017-12-21 09:09:16 -03:00
Harrison Healey
16e293ffab RN-462 Allow user and channel lists to load more than one additional page of content (#1305)
* RN-462 Allow user lists to load more than one additional page of users

* RN-462 Actually load more users for direct messages list

* Allow loading more than one page in the More Channels modal
2017-12-21 09:03:17 -03:00
Harrison Healey
2ad5dd9e26 RN-578 Properly aligned list items with indices above 10 (#1304) 2017-12-21 09:02:15 -03:00
Chris Duarte
00ce1e1842 Enforce max file count and active send button (#1241)
* Enforce max file count and wait until all images finish loading

Replaced Text with FormattedText

Remove unnecessary Text import

Clean up post_textbox and file_upload_preview

* Fix localization string for mobile

* change MAX_IMAGE_COUNT to MAX_FILE_COUNT
2017-12-14 15:19:31 -03:00
Bohdan V
3a535daab6 Added text about description of the problem (RN-247)(#1267) (#1292) 2017-12-11 10:13:29 -05:00
Chris Duarte
3c23a07d8b Add ability to copy post permalink (#1255) 2017-12-08 18:19:48 -03:00
Chris Duarte
7fdb0c4d27 Create post timeout (#1242)
* Add timeout for api calls that take too long

This will allow any api call that takes too long to fail faster.

Specially for Client4.createPost.  If the api never returns the post is in a pending state and the user is not able to retry.

* Add canTimeout flag
2017-12-08 18:19:17 -03:00
enahum
62cedae196 Multiple bug fixes (#1287) 2017-12-08 09:37:14 -05:00
enahum
ece329f540
Android: Fix image not displaying in preview (#1281) 2017-12-07 12:21:10 -03:00
enahum
f2a02d7756
Keep keyboard open in login screen (#1280) 2017-12-07 12:19:11 -03:00
enahum
9b55868ced
Hide keyboard when bringing the app to the foreground (#1279) 2017-12-07 12:18:43 -03:00
enahum
e68374d757
Fix replying to a search result (#1278) 2017-12-07 12:17:52 -03:00
enahum
e1051395ba
Android: Show center screen from user profile (#1264) 2017-12-07 12:17:12 -03:00
enahum
4b20dc5e66
Fix channel editing for DM and GM channels (#1276) 2017-12-07 12:16:45 -03:00
enahum
d73f85ab00
Android: Fix load more messages (#1266) 2017-12-06 15:10:13 -03:00
Harrison Healey
8e7fedbcc8 Fixed at mentions appearing for non-existant users (#1271) 2017-12-06 13:39:25 -03:00
Harrison Healey
a5ed41a696 Added ScrollViews to all settings pages (1.5) (#1270)
* Added ScrollViews to all settings pages

* Added alwaysBounceVertical to settings pages
2017-12-06 13:38:57 -03:00
enahum
e4d9a672fc
Fix file upload and edit post layout (#1259) 2017-12-04 19:14:45 -03:00
enahum
7afc0c4143
Fix keyboard layout for ios 9 and 10 (#1256) 2017-12-04 17:07:08 -03:00
enahum
86667de6c3
Fix swiper offset when device rotates (#1253) 2017-12-04 16:32:06 -03:00
enahum
bf4463b866
Previewer (#1246)
* Fix heic

* Change previwer to use the swiper instead a simple ScrollView
2017-12-04 12:20:10 -03:00
enahum
bd39fa5b43
Replace KeyboardAvoidingView with custom (#1249) 2017-12-04 12:12:08 -03:00
enahum
849c8cc4af
Clear failed images from post draft when posting (#1244)
* Clear failed images from post draft when posting

* feedback review

* clone files array only once in the failed reducer
2017-12-04 12:06:16 -03:00
enahum
27f355abc5 Fix Image preview header/footer (#1243) 2017-12-04 10:04:58 -05:00
enahum
8e052c2a55 Fix navbar when status bar is not visible (#1248) 2017-12-04 09:59:14 -05:00
Harrison Healey
1f0dd960f6 RN-469 Added the ability to cancel a ping when on the select server screen (#1234)
* RN-469 Added the ability to cancel a ping when on the select server screen

* RN-369 Added i18n strings for new button

* Made sure config and license are downloaded before moving to login screen

* Have SelectServer screen still show connecting while waiting for config

* Don't show SelectServer screen as connected if an error occurs
2017-11-30 20:13:23 -03:00
enahum
06bda6945e Tweak flushAt and flushInterval for segment (#1235) 2017-11-30 15:20:22 -05:00
enahum
7068cbd043 Fix Android crash for mobile notifications screen (#1233) 2017-11-29 17:42:41 -05:00
Martin Kraft
159507891c RN-519: Expands search results list height. (#1225)
* RN-519: Expands AtMentions and ChannelMentions searches to use entire device height.

* RN-519: Fix for ~ and @ search list heights.

* RN-519: Optimization.
2017-11-29 19:08:51 -03:00
enahum
19e6d66979
Have the Markdown component use the theme from redux (#1231) 2017-11-29 14:58:33 -03:00
enahum
c36eb9a9f4
Fix styling when theme is change in another device (#1229)
* Fix styling when theme is change in another device

* Fix drawer showing behind channel screen
2017-11-29 13:55:33 -03:00
enahum
df1c7d9fc1
fix autocomplete positioning (#1228) 2017-11-29 12:01:59 -03:00
Harrison Healey
33bf655a8c RN-472 Fixed undefined post error in SearchPreview screen (#1217)
* RN-472 Fixed undefined post error in SearchPreview screen

* Moved SearchPreview container style into StyleSheet
2017-11-28 20:31:54 -03:00
Harrison Healey
3f6c38d872 Applied correct text colour to (edited) indicator on Android (#1219) 2017-11-28 19:49:43 -03:00
Chris Duarte
f5d77fcebc Add Channel Info Edit options to ChannelInfo screen (#1189)
* Add Channel Info Edit options to ChannelInfo screen

Refactor CreateChannel to CreateChannel and ChannelInfo

Add EditChannel screen

add updateChannelRequest

display header option only if channel is DM or GM

Add editing prop to ChannelInfo

Add saving state to ChannelInfo

Clean up EditChannel and change saving to updating

Add channel name (url) field in EditChannel

Clean up enableRightButton logic for EditChannel

Add error handling for EditChannel fields

Remove leftButton declaration from EditChannel

Add wrapWithPreventDoubleTap to click handlers in ChannelInfo

Move channel info to parent component (CreateChannel)

Add editing support for channel info in parent component

Remove ownProps from connected components

Remove passing parent props using the spread operator

* Strip out channel url field from EditChannel

* Comment out channelUrl textInput ref

Make eslint happy

* Remove injectIntl in favor of intl context props

* Add mobile prefix to json string

* Remove unnecessary actions declaration in ChannelInfo

* Refactor creating | editing to saving

* Safe check refs when blurring in ChannelInfo

* pass channelType for displayingHeaderOnly in EditChannelInfo

* Refactor ChannelInfo component to EditChannelInfo

* pass 1to1 props instead of object

* Add required to certain props in EditChannelInfo

* Use Stylesheet for container styles

* Add InvalidPermission method when updating channel

* Clean up onDisplayNameChangeText and safe check scrollToEnd

* Add {deviceWidth, deviceHeight} from redux

* Remove style.navTitle

* Add wrapper methods for delete and leave channel

* remove alertErrorIfInvalidPermissions

* Fix mobile localization strings to use prefix mobile.-

* Add TODO for channel URL
2017-11-28 19:48:51 -03:00
Chris Duarte
322e63d7c4 Add fix for heic image uploads (#1222) 2017-11-28 17:43:36 -05:00
Chris Duarte
e6869dd760 Fix slash command for post comment (#1221) 2017-11-28 17:43:12 -05:00
enahum
df61ec5552 Fix autocomplete position in search screen (#1218)
* Fix autocomplete position in search screen

* Remove autocomplete for slash commands and emojis in search
2017-11-28 17:42:56 -05:00
Chris Duarte
18a5535205 Defensive fix for post list scrollToIndex (#1223) 2017-11-28 16:51:06 -03:00
enahum
4caa3cb470 Fix weird colors in radio buttons (#1214) 2017-11-28 09:37:47 -05:00
Harrison Healey
c71b116c71 RN-173 Added support for Markdown images (#1202)
* RN-173 Added support for Markdown images

* RN-173 Added proper alt text when image fails to load

* Changed (edited) indicator not add itself as a child of an image

* RN-173 Removed space between an image and the following text

* Made sure MarkdownImage is mounted when setState is called

* Fixed images in links having their location overwritten

* Made images work in links

* Fixed uppercase links not working on Android

* Added vertical margin around images

* RN-173 Added styling for markdown image error text

* RN-173 Added error when image exceeds max dimensions on Android
2017-11-28 11:00:28 -03:00
enahum
ac2b38cb3b
Track analytics for start time, channel and team switching (#1192)
* Track analytics for start time, channel and team switching

* Update analytics to include currentUserId and ip 0.0.0.0

* Include diagnostic id with every segment request

* feedback review
2017-11-28 10:33:46 -03:00
enahum
e24988ca51
Fix Android: Text typed in Jump to... and Search box color (#1209) 2017-11-28 10:31:49 -03:00
enahum
87261e9a59
Make layout compatible with iPhone X (#1205)
* Make layout compatible with iPhone X

* feedback review
2017-11-28 09:04:53 -03:00
Martin Kraft
a3888faa7e Fix for search. (#1213) 2017-11-27 17:52:30 -05:00
enahum
dbe3fab980 Fix channels category in jump to filter (#1207) 2017-11-27 16:02:11 -05:00
enahum
e19c76cc4c Fix status bar for Android in server url screen (#1210) 2017-11-27 15:59:52 -05:00
enahum
1a5b6886ef Prevent tap spam for server url, login and MFA (#1211) 2017-11-27 15:59:35 -05:00
enahum
f74b8e685d
Channel Peek (#1203)
* Channel Peek

* feedback review
2017-11-27 17:35:32 -03:00