Commit graph

425 commits

Author SHA1 Message Date
enahum
27c764d288 [ICU-579] Display Announcement banner (#1428)
* Announcement banner

* Feedback review
2018-02-13 10:23:11 -05:00
Stephen Kiers
42af38944e
ICU-639- Fixes bug with Samsung keyboard (#1427)
* Internalized value to local state so that there is less ‘delay’ and less surface area for bugs to happen

* removed toLowercase on comparison and fixed parent components instead

* Update more_channels.js
2018-02-12 14:02:40 -03:00
enahum
418c1ce9ba Update tooltip library (#1426)
* Update tooltip library

* Feedback review

* remove static field
2018-02-12 09:03:05 -05:00
enahum
bd3a5e1288 Handle the good, warning, danger status for post attachments (#1425) 2018-02-12 20:02:54 +08:00
enahum
39181bd7b9 Adjust margin and tap area of reply icon (#1422) 2018-02-09 11:21:00 -05:00
enahum
d0f96c0887
[ICU-650] Upgrade React Native to 0.52.2 (#1421)
* Upgrade to React Native 0.52.2

* Bump app version to 1.7.0

* Update fastlane

* Upgrade mattermost redux

* feedback review
2018-02-07 18:24:01 -03:00
enahum
439131578a
Fix emoji sizes (#1423)
* Fix emoji sizes

* Blacklist nonExistentEmoji
2018-02-07 17:55:55 -03:00
Chris Duarte
c4e7a622d2 Fix onLayoutCalled issue and improve accuracy (#1401) 2018-02-07 11:03:58 -05:00
Stephen Kiers
2444d0f57b
Icu 640 - Fixing RN Font sizes and issues with cutoff fonts (#1402)
* added arrow style functions to eslint

* added padding to text boxes to decrease chance of cutoff

* Removed fontSize prop from Emoji

* base sizes on stylesheet

* normalized font sizes across devices

* minor tweaks

* tweaks

* text to default

* text size relative too

* remove Margintop hack

* Final tweaks

* fixed func name

* fixed scale to always be based on portait mode

* re-added margintop hack

* set Text paddingBottom in markdown file

* Fix style names and setup

* fixed import

* reversed size of edit label

* fix eslint
2018-02-05 13:33:39 -07:00
Harrison Healey
05587d789a ICU-633 Added tilde to channel shortlink to match web app (#1391) 2018-01-31 13:47:13 -03:00
Saturnino Abril
bda1ba153e
[ICU-629] Add support for DM with deactivated channel (teammate) (#1385)
* Add support for DM with deactivated channel (teammate)

* add archive_icon

* add extra protection to prevent error when teammate is evetually deactivated
2018-02-01 00:04:31 +08:00
enahum
cd80cdfdf4 Fix race condition preventing the app opened from a PN to go to the correct channel (#1398)
* Fix race condition preventing the app opened from a PN to go to the correct channel

* Feedback review
2018-01-31 11:02:02 -05:00
Harrison Healey
62f7358807 Removed fontSize prop from Emoji (#1399) 2018-01-30 19:08:41 -03:00
Harrison Healey
bc42db3e87 RN-616 Added a fallback to prevent posts from being stuck as pending forever (#1381) 2018-01-26 14:09:08 -03:00
enahum
e43c7d8cbf
Fix mention badge (#1382) 2018-01-26 14:08:49 -03:00
Harrison Healey
a6d9632cad
ICU-562 Explicitly store whether or not 'load more posts' should be visible (#1379) 2018-01-26 11:29:28 -05:00
Chris Duarte
cbf3739657 Improve scrolling to new messages (#1345)
* Improve scrolling to new messages

* Experimental scrollTo with measurement

* Add search support

* Review feedback

* Added comment for moreNewMessages index`
2018-01-24 18:39:16 -03:00
Chris Duarte
311b1b42f1 Fix post text overlap (#1371) 2018-01-23 13:21:01 -03:00
enahum
d8cdc1cfbe
Give priority to fromWebHook on top of isSystemMessage in the post header (#1369) 2018-01-23 13:20:28 -03:00
enahum
7bd55e96dc
[ICU-536] Fix link previews preference (#1364)
* Fix link previews preference

* Fixed grammar in a comment
2018-01-22 13:37:15 -03:00
Stephen Kiers
9029794afa Icu 599 - remove download animation on cancel (#1365)
* easier to read

* seperated promise from progress so cancelling works

* Remove loading bar immediately

* style fix
2018-01-22 11:04:43 -03:00
enahum
998a5bdb0d
Fix server url (#1361)
* Fix server url

* Fix offline indicator positioning

* Upgrade mattermost-redux with fix for loading custom emojis

* feedback review
2018-01-18 11:17:03 -03:00
Saturnino Abril
542f0998b1 ICU-584 Add support for own DM (#1357)
* add support for own DM

* update per comment
2018-01-17 14:52:28 -03:00
Harrison Healey
d3a1c447ad ICU-596 Added support for relative image URLs (#1353) 2018-01-15 18:22:05 -03:00
enahum
70c4e3e005
iOS Share Extension (#1308)
* objective-C share extension

* MattermostBucket module to share data between the main app and the extension

* middleware that shares the data between the main app and the extension

* Fix setState when safe area in unmounted

* Share extension for iOS

* Fastlane changes to include iOS share extension

* Fix unit test

* Feedback review

* define proptypes for icons
2018-01-15 16:11:42 -03:00
enahum
cf9341406a
Wrap interactive buttons when needed (#1339) 2018-01-08 14:19:59 -03:00
Harrison Healey
9bc9ca6245 Don't try to open empty Markdown links (#1332) 2018-01-08 14:19:39 -03:00
enahum
7cda6be8d7
Edit profile (#1322)
* Add set status feature

Small code refactoring

Add Do Not Disturb option

* Add Account Settings screen

Add username, nicname, and position fields

Add email field

get deviceHeight from redux

Clean up onPress handler in Settings

Refactor each account settings item to it's own component

Clean up email field and updateUser action method

Use mobile localization format in en.json

Update profile image

Clean up ProfilePicture for editing

Add loading and error components in AccountSettings

Refactor updateRequest state into a function

Follow design specs

Remove unnecessary this.state.emailUpdated

Polish AccountSettings and secondary components

Refactor AttachmentButton into it's own componentg

Add Account Settings icon in General Settings

Add TODO comments

* Update user status

* Edit Profile screen refactored

* Fix edit profile item text color
2018-01-08 14:18:57 -03:00
Saturnino Abril
0052b46c54 add reaction when user click other user's reaction from a post (#1340) 2018-01-08 08:41:08 -05:00
Harrison Healey
b842cfa95a Fixed typo in import statement (#1333) 2018-01-04 14:08:13 -03:00
enahum
bef0248daf
Android header height consistent across screens (#1324)
* Android header height consistent across screens

* Feedback review
2018-01-04 13:22:55 -03:00
enahum
9509e1a83e Fix UI when rendering link previews in a reply (#1318)
* Fix UI when rendering link previews in a reply

* feedback review
2018-01-02 17:24:03 -05:00
Chris Duarte
224099a9dc Add fuzy search to the emoji picker (#1310)
* Add fuzy search to the emoji picker

remove comments from master rebase

Add fusejs to NOTICE.txt

* Add fuzzy search support for emoji_picker
2018-01-02 17:21:50 -05:00
Chris Duarte
2e951cbfca Upgrade to RN 0.50.4 (#1303)
* Update to RN 0.50.4

* Fix intl context in post textbox
2017-12-22 19:39:51 -03:00
enahum
6681ae3de7
Update user Status from the right drawer (#1321)
* Add set status feature

Small code refactoring

Add Do Not Disturb option

* Update user status
2017-12-22 18:44:13 -03:00
enahum
eb214ab1d8
Prevent onLayout if it was already run (#1316) 2017-12-22 16:10:20 -03:00
enahum
2181168c9f
Remove the possibility to post empty messages (#1317)
* Remove the possibility to post empty messages

* Fix userTyping action
2017-12-22 16:08:27 -03:00
enahum
5442bd5265
Fix uploading videos from Android (#1315)
* Fix uploading videos from Android

* Fix upload of gif files in iOS
2017-12-22 16:06:32 -03:00
enahum
28813e313e
Fix keyboard avoiding view when switching keyboard (#1314) 2017-12-22 16:06:05 -03:00
enahum
a708a1755b
Right drawer (#1275)
* Add right sidebar

* initial implementation of the right drawer

* Do not hide status bar on drawer open

* initial options in the RHD

* Fix android layout

* feedback review
2017-12-22 15:50:02 -03:00
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
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
Chris Duarte
3c23a07d8b Add ability to copy post permalink (#1255) 2017-12-08 18:19:48 -03:00
enahum
62cedae196 Multiple bug fixes (#1287) 2017-12-08 09:37:14 -05:00
enahum
e68374d757
Fix replying to a search result (#1278) 2017-12-07 12:17:52 -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
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