Commit graph

97 commits

Author SHA1 Message Date
enahum
6296f39673 Fix login when showing an error (#329) 2017-03-06 17:22:45 -05:00
enahum
ba582b2edc PLT-5606 Pre-fill the server URL from async storage if you have it. (#326) 2017-03-06 11:04:45 -05:00
Chris Duarte
c01035ac38 Action button (#324) 2017-03-06 09:50:33 -05:00
enahum
2fe69cacef Move periodic status check to channel scene (#318) 2017-03-03 20:32:51 -03:00
Harrison Healey
4c2928218f PLT-5695 Fixed replying in DM threads (#320) 2017-03-03 18:18:47 -03:00
enahum
49c31620a8 PLT-5707 Fix Threads title in DM channel (#322) 2017-03-03 16:17:17 -05:00
Chris Duarte
bb1446da91 Fix android web socket error (#321)
* Fix android web socket error

* Modify init args
2017-03-02 17:34:45 -03:00
enahum
069495ecb2 PLT-5676 Validate server URL format (#315)
* PLT-5676 validate server URL format

* changed based on feedback
2017-03-01 11:13:17 -05:00
enahum
9969ac52f2 PLT-5659 removed right padding for text inputBox (#312) 2017-03-01 10:34:31 -05:00
Chris Duarte
8ae59996a5 Navigation swiping fix (#311)
* Navigation swiping fix

* Review feedback
2017-03-01 10:34:01 -05:00
enahum
c121097974 PLT-5587 Create channel (#300)
* PLT-5587 Create channel

* Feedback review

* hidding options in account settings
2017-02-27 16:17:18 -05:00
Chris Duarte
24e4fb5311 Navigation modal fix (#303)
* Navigation modal fix

* Review feedback
2017-02-27 15:11:10 -05:00
enahum
e6547c6970 PLT-5502 Update statuses (#302) 2017-02-27 14:10:39 -05:00
enahum
c1318fe834 PLT-5589 Reload configuration when the server config changes (#301) 2017-02-27 13:15:51 -05:00
Chris Duarte
a36702f7d4 PLT-5634 Add account settings scene (#297)
* PLT-5634 RN: Add account settings scene

* Rebase
2017-02-25 19:48:30 -03:00
Chris Duarte
bb3d7941be PLT-5578 Add theming for channel info (#298) 2017-02-24 23:47:24 -03:00
Chris Duarte
9e8fb26f4b PLT-5604 Add/Remove members from pubic channels doesn't match the webapp functionality (#289)
* PLT-5604 Add/Remove members from pubic channels doesn't match the webapp functionality

* Review feedback

* Fix spelling of ChannelMembersTitle

* Use selector to consolidate auth logic for channel member mgmt
2017-02-24 23:20:28 -03:00
Chris Duarte
80edba14da PLT-5608 App crashes when invalid server url is selected (#285)
* PLT-5608 App crashes with wrong URL

* Review feedback

* FormattedError Modification

* Rename i18n id for server ping failure message

* Display friendly error message if server ping fails w/o response
2017-02-24 21:36:49 -03:00
Chris Duarte
4be1e9af3a PLT-5600 RN: Mention and Channel autocomplete in the thread scene (#299) 2017-02-24 21:24:21 -03:00
enahum
d33c2712ed PLT-5611 Add Channel Name to thread view title (#294) 2017-02-24 12:46:50 -03:00
Chris Duarte
440de8ba32 PLT-5610 Localize login error message to match what's displayed in webapp (#296)
* Capture server error id where handling error response in client.js

* Alias login errors for unknown acct & incorrect pw to match webapp
2017-02-24 10:19:31 -03:00
Chris Duarte
63dee10fd8 PLT-5644 Center align login header text and topbar title text (#295)
* Center align header text in global styles

* Center align topbar title text
2017-02-24 10:18:15 -03:00
Chris Duarte
b09dbbb79c PLT-5493 Add a profile scene that shows user information (#287)
* PLT-5493 React Native: Add a profile scene that shows user information

* Review feedback
2017-02-24 10:17:05 -03:00
Chris Duarte
567310b9d6 PLT-5572 Add swiping to close all scenes that open from the side (#292) 2017-02-23 20:04:59 -03:00
Chris Duarte
90ac1fa625 PLT-5601 RN: autocompleting stopped when non-word chars are typed, even if there's an exact match (#288) 2017-02-23 14:43:46 -03:00
enahum
06cf8b7851 PLT-5609 Fix different speed for text animation (#290) 2017-02-23 13:50:25 -03:00
Chris Duarte
afe09babfa PLT-5605 Fix logic for indicating start of new messages (#284)
* Fix placement of new messages separator

* Ignore your own posts when determining start of new messages

* Cache lastViewedAt in ChannelPostList until switching channels

* Increase padding around DateHeader & NewMessagesDivider

* Improve styling of new messages divider line

* Use async await for ChannelDrawerList.onSelectChannel

* Convert DateHeader to functional component
2017-02-21 23:59:27 -03:00
Chris Duarte
4f2d769766 PLT-5541 Autocomplete mentions in post textbox (#266)
* WIP channel autocomplete

* Channel mentions

* Feedback Review
2017-02-20 18:19:11 -03:00
Chris Duarte
42ef890415 Manage members fix (#267) 2017-02-20 18:06:18 -03:00
Chris Duarte
f788fb8144 Status indicator fix (#275) 2017-02-20 18:05:26 -03:00
Chris Duarte
0bf26e95b0 PLT-5499 Indicate start of new messages in posts list (#279)
* Indicate start of new messages in posts list

* Use flag prop to indicate start of new messages in posts list

* Declare style props with View.propTypes.style
2017-02-20 18:05:16 -03:00
enahum
e74ecfa5f2 PLT-5510 Show user is typing (#278)
* PLT-5510 Show user is typing

* Move autocomplete below the user typing
2017-02-20 17:39:20 -03:00
enahum
d0209aa8c3 PLT-5488 Add an Unread indicator on the button to open the channel drawer (#277)
* Unread indicator in burger button

* Set badge to always be red
2017-02-20 17:11:19 -03:00
enahum
3eb7e377cf More Channels (#276)
* More Channels

* Fix cleaning search

* feeback review
2017-02-20 16:51:02 -03:00
Harrison Healey
6c527300d7 Improved how posts are loaded when switching to a channel (#265) 2017-02-20 16:33:39 -03:00
Chris Duarte
230cbf7530 Post draft persist (#271) 2017-02-18 15:06:49 -03:00
Chris Duarte
3b7a6df617 PLT-5530 Render placeholder icons + metadata for file attachments in posts list (#249)
* Add icons for file types

* Compress image files for file type icons

* Add constants for file types

* Add utils for file metadata

* Add actions & reducers for fetching file attachments

* Render file attachments in posts

* Add reducers for handling files requests

* Refactor getFileType in file utils

* Refactor getFileIconPath in file utils

* Refactor getFormattedFileSize in file utils

* Trim trailing whitespace in getTruncatedFilename

* Style file attachment metadata

* Remove entity store reducer for files fetch failure

* Change filesForPost to fileIdsForPost in files store

* Use a selector for getFilesForPost

* Memoize getFilesForPost selector

* Dispatch postId with getFilesForPost

* Add test for getFilesForPost

* Upload seed file in getFilesForPost test

* Display correct icon for image attachments

* Fix reducers for receiving files for post

Expect response data to be array not object

* Style attachment post

* Merge headers (defaults + opts) in Client.doFetch

* Upload file as FormData

* Use form-data lib instead of built-in polyfill

* Associate file with post in getFilesForPost test

* Improve assertions in getFilesForPost test

* Check for createPost failure in getFilesForPost test

* Use correct post id in getFilesForPost test

* Use client not action to create post in getFilesForPost test

* Fix file upload in getFilesForPost test

* Add assertion for name of uploaded file

* Update attachment post style

* Fix spelling of loadFilesForPostIfNecessary

* Remove eslint-disable no-magic-numbers from file_utils.js

* Remove unused index prop from FileAttachment

* Clarify code for merging headers in Client.getOptions

* Dynamically truncate file attachment names

* Extract component for FileAttachmentIcon

* Use white bg for FileAttachmentIcon to match webapp styles

* Match webapp styles for file attachment borders

* Move file icon path lookup to FileAttachmentIcon

* Use more logical ordering for file type lookup
2017-02-17 17:40:40 -05:00
Chris Duarte
8aea409ae6 Webhook post override (#273) 2017-02-17 16:07:52 -03:00
Chris Duarte
37bea54b9f Android autocomplete fix (#272) 2017-02-17 13:02:05 -03:00
Chris Duarte
75dc27dd92 Fix offline indicator (#268) 2017-02-17 10:57:36 -05:00
enahum
5a5772bcd0 PLT-5545 Fix Unread above/below indicator size to fit on screen (#256)
* Fix Unread above/below indicator size to fit on screen size

* removing unnecessary flex
2017-02-16 09:29:57 -05:00
Harrison Healey
1319f1fcf8 Added KeyboardLayout to automatically use a KeyboardAvoidingView as necessary (#263)
* Renamed layouts/root_layout to components/root

* Added KeyboardLayout to automatically use a KeyboardAvoidingView when necessary
2017-02-16 09:19:48 -05:00
enahum
185b968b76 Fix fetch offset for more dms (#255) 2017-02-16 09:16:20 -05:00
enahum
61576c9474 PostList date separator to match webapp (#264)
* PostList date separator to match webapp

* Remove preference change test
2017-02-16 09:11:00 -05:00
Harrison Healey
a02e317474 Added title to Thread scene (#262) 2017-02-16 10:27:28 -03:00
enahum
a97238f75c Removed channel_viewed websocket event (#254) 2017-02-15 14:08:41 -03:00
Chris Duarte
940363cf36 Mention autocomplete bug fixes (#253)
* Mention autocomplete bug fixes

* Review feedback
2017-02-15 09:57:30 -05:00
Harrison Healey
f5502d8b67 Fixed merge conflict causing thread drafts to not work (#252) 2017-02-14 15:09:20 -05:00
enahum
51e8ee6ea2 More Direct Messages scene (#244)
* More Direct Messages scene

* Adding search_bar.js to mock tests

* Feedback review

* Address feedback review 2
2017-02-14 11:49:41 -05:00
Chris Duarte
f0e1d38a48 Remove items from menu drawer (#247)
* Remove items from menu drawer

* Removed unused import

* Remove flagged posts prop
2017-02-14 10:01:16 -05:00