Commit graph

72 commits

Author SHA1 Message Date
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
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
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
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
enahum
e68374d757
Fix replying to a search result (#1278) 2017-12-07 12:17:52 -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
Chris Duarte
e6869dd760 Fix slash command for post comment (#1221) 2017-11-28 17:43:12 -05:00
enahum
b27a1f8e0b
Fix the ability to send the post when an upload failed (#1195) 2017-11-24 20:25:53 -03:00
Chris Duarte
be682240f4 Add slash command support (#1190)
* Add slash command support

* Review feedback

* Review feedback 2

* Update to latest redux

* Fix tests
2017-11-23 14:25:03 -03:00
Chris Duarte
aa61391436 Fix add reaction shortcut in post reply (#1174) 2017-11-21 10:38:20 -05:00
Carsten Pfeiffer
7272f47485 Request image quality 1 (=100%) to avoid scaling (and failing with OOME) (#1157) (#1169) 2017-11-17 09:25:45 -05:00
Harrison Healey
70a1a92d06 Updated borders on autocomplete to wrap entire list (#1149)
* Updated borders on autocomplete to wrap entire list

* Reverted accidental changes to search autocomplete position
2017-11-14 19:13:03 -06:00
Harrison Healey
df5f7a0059 Increased clickable area around send post button (#1139)
* Increased clickable area around send post button

* Fixed attachment icon not staying at the bottom when the post textbox gets taller
2017-11-13 18:43:31 -03:00
enahum
49899b2a00
Improve performance on post textbox (#1138) 2017-11-13 18:36:24 -03:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
Chris Duarte
9ff9b872ba Config to enable when clicking on username to fill input with @mention (#966)
* Config to enable when clicking on username to fill input with @mention

* Rename to experimental and move tenary from componet to variable

* Use getCurrentChannelId in insertToPostDraft action

* Change to work with rebase

* Refactor thread reducer and blacklist currentThreadId

* Review feedback

* Review feedback 2
2017-10-26 10:48:52 -04:00
enahum
59ce8571c3 Handle Image picker permissions (#1064) 2017-10-26 09:17:56 -03:00
Chris Duarte
1641d38863 Fix android predictive text prepend issue (#1056) 2017-10-24 19:43:51 -03:00
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07:00
enahum
f50b2b9412 Improving Performance Part 3 (#1011)
* Update mattermost-redux

* Tap on Deleted post to remove it

* Improvements when rendering post additional content

* Avoid unnecessary re-renders on the post list component

* Avoid unnecessary re-renders on the channel post list component

* Avoid unnecessary re-renders on the channel screen

* Feedback review
2017-10-11 14:54:13 -03:00
Chris Duarte
e4b86518a9 RN-342 Refactor post textbox component (#915)
* RN-342 Refactor post textbox component

* Rebase

* Review feedback
2017-09-20 16:40:40 -04:00
Chris Duarte
8694f59e80 RN-335 Reaction shortcut (#920)
* RN-335 Reaction shortcut

* Review feedback
2017-09-20 11:08:17 -04:00
Chris Duarte
220fb588b9 RN-80 Add ability to download files (#866)
* RN-80 Add ability to download files

* Add android permission check and toasts

* Add check for ability to download from config
2017-09-01 12:11:49 -03:00
Harrison Healey
c6ae1090f7 Changed makeStyleSheetFromTheme to take a function that returns a plain object (#852)
* Changed makeStyleSheetFromTheme to take a function that returns a plain object

* Fixed style issues
2017-08-15 18:26:55 -03:00
Harrison Healey
0f8f93af6d PLT-6924 Added setting to disable mobile file uploads (#799)
* PLT-6924 Added setting to disable mobile file uploads

* PLT-6924 Updated yarn.lock
2017-07-28 17:06:44 -04:00
Chris Duarte
daa193e2ce Disable the send button while attachments are uploading (#749) 2017-07-17 14:55:44 -04:00
Harrison Healey
102a56e7cf RN-237 Re-added workaround for pressing enter on Android (#679)
* Stop 'make stop-packager' from erroring when packager isn't running

* RN-237 Re-added workaround for pressing enter on Android
2017-06-27 16:27:39 -04:00
Chris Duarte
a8b49ef3a4 RN-168 Attachment selector closes without attachment (#682) 2017-06-27 16:04:19 -04:00
enahum
cb8d7799a8 RN-238 Fix ability to post with just images (#672)
* Fix ability to post with just images

* Feedback review
2017-06-26 15:27:08 -04:00
enahum
d057e3c1ab Update channel header whit mode dms and more channels (#664) 2017-06-23 16:12:11 -04:00
Asaad Mahmood
a614a2835b Ui improvements (#666)
* RN-171 - Extending border bottom on sidebar title

* RN-164 - Teams title center and bold

* RN-103 - Updating position for sendButton

* RN-231 - Increasing left margin when only one team
2017-06-23 08:23:59 -04:00
Harrison Healey
8a38ca86d3 RN-216 Hid file upload button when files are disabled (#656) 2017-06-21 15:49:54 -04:00
Harrison Healey
426bd8abb0 RN-161 Fix autosizing post textbox (#637) 2017-06-19 09:11:18 -04:00
Jason Blais
9ae39521a7 Fix "libary" --> "library" typo (#614)
* Fix typo

* Update en.json
2017-06-11 21:01:50 -04:00
enahum
8b8cf6234a RN-161 Expand input textbox appropiately for multi-line (#613) 2017-06-08 22:25:33 -04:00
Asaad Mahmood
0139a05c0f RN-162 - Increasing attachment button size (#610) 2017-06-08 21:58:03 -04:00
enahum
da762f4454 handle text input content size changed (#585) 2017-05-30 08:57:06 -04:00
Asaad Mahmood
43620d2798 RN-103 - Updating send button on android and IOS (#569) 2017-05-25 09:57:22 -04:00
Chris Duarte
1478bb47b1 RN-121 Upload thumbnail (#565) 2017-05-25 09:08:29 -04:00
enahum
844c654fda Update RN to 0.44.0 and project dependencies (#546) 2017-05-16 21:13:44 -04:00
enahum
90dc6ecb25 RN-96 Make Android and IOS PostTextbox grow and scroll accordingly (#545) 2017-05-16 16:59:10 -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
Carlos Tadeu Panato Junior
b31914b3b8 Change photo quality to 0.7 instead of 0.5 (#537) 2017-05-13 14:30:03 -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
Asaad Mahmood
9e90884fce Multiple UI improvements (#512)
* Multiple UI improvements

* RN-107 - Adding margin in more channels modal

* RN-108 - Updating center channel overlay
2017-04-30 13:32:26 -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
7a3c99c267 Move to mattermost-redux master branch (#484) 2017-04-21 14:20:52 -03:00
enahum
cdff304be1 RN-64 Ability to open the app in offline mode (#479) 2017-04-13 11:57:19 -03:00