Commit graph

37 commits

Author SHA1 Message Date
Harrison Healey
3e9cb1bc91 Fixed post width (#214) 2017-02-02 18:32:54 -03:00
Chris Duarte
ce58429a21 Reworking navigation (#212)
* Reworking navigation

* Fixed navigation testing and lint errors
2017-02-02 16:13:25 -05:00
Chris Duarte
89ebae1108 Channel info leave (#211)
* Setup for leaving a channel (does not include navigating once successfully leaving)

* Initial setup to navigate from leaving a channel

* Conditionally render leave channel row based on default channel

* Use setInitial from inside the action

* Refactor navigating after leave

* Ensure that channel is not DM

* Rename to shouldRender
2017-02-02 15:52:27 -05:00
Harrison Healey
c28d64c8da #96/#112/PLT-5370/PLT-5372 Styling posts and channel view (#213)
* Updated post rendering in center channel to include dates, display names, themeing, profile pictures, and threads

* Added status to ProfilePicture component

* Changed MemberListRow to use a ProfilePicture

* Removed unused prop

* Fixed incorrect copyright year on new file

* Removed unnecessary ref
2017-02-02 13:53:42 -03:00
enahum
71b2ecd394 Platform dependent search bar and ui fixes (#205)
* Platform dependent search bar and ui fixes

* Set events in default props

* Update NOTICE.txt

* Channel info favorite (#210)

* Enable toggling of favorite channel from channel_info

* Change this binding

* Handle favorite toggle with state

* feedback review

* removed unnecessary view
2017-02-01 11:38:32 -03:00
Chris Duarte
ea3b2cabd4 Channel members fix (#209)
* Channel members fix

* Review feedback
2017-02-01 09:28:01 -05:00
Chris Duarte
1bd40d1a40 Channel info favorite (#210)
* Enable toggling of favorite channel from channel_info

* Change this binding

* Handle favorite toggle with state
2017-02-01 00:02:06 -03:00
Chris Duarte
c9e513f83b Team selection causes blank channel view fix (#203) 2017-01-31 09:08:25 -05:00
Chris Duarte
4cdc4b21a4 Channel members (#189)
* Channel members

Add scene
Add navigation
Add selector
Add channel member row
Move list view to component for reusability
Add user profile picture
Add list paging
Add onRowPress
Add section headers

* Review feedback
2017-01-30 19:38:31 -03:00
enahum
b21e98e796 Websocket re-establish connection (#190) 2017-01-30 11:20:14 -03:00
enahum
bfd70f742c Modal with options (#179)
* modal options and channel long press

* PureComponent optimization (#183)

* Bug fix when leaving the current channel

* Rebased with new navigation

* Add disabled drawer to unit test

* re-organize modal up in the stack and controlled by redux

* renaming modalOptions to optionsModal
2017-01-30 08:41:14 -05:00
Harrison Healey
0996644512 Added a polyfill for Reflect to support Android devices (#186)
* Added a polyfill for Reflect to support Android devices

* Added harmony-reflect to NOTICE.txt
2017-01-25 11:09:25 -05:00
enahum
79902e8ceb Mfa (#182)
* Adding MFA support

* specific actions on mfa

* Fix header on new navigation

* review feedback
2017-01-24 16:08:09 -05:00
Harrison Healey
cea81f6497 Reorganized navigation (#181)
* Moved ChannelDrawer into its own scene

* Moved RightSideMenu to a separate route

* Moved title back above scenes

* Moved right side menu into a separate scene

* Reorganized navigation so that it centers around ChannelView when logged in

* Stopped using NavigationExperimental to manage drawers

* Fixed copyright date

* Added unit tests for navigation drawers

* Renamed RightSideMenu to RightMenuDrawer

* Removed unnecessary ChannelDrawer style
2017-01-24 11:56:35 -03:00
Chris Duarte
d180f324c5 Select last channel viewed (#172)
* Select last channel viewed

Now saving last channel id to local storage

Reworked local storage saving

* Feedback review
2017-01-23 16:20:11 -03:00
enahum
a6b735ba28 Ability to remove DM's from channel drawer (#171)
* Ability to remove DM's from channel drawer

* review feedback

* Adding confirmation on removal
2017-01-23 10:26:19 -05:00
Chris Duarte
e0eb79656e Add channel-info (#164)
Adding channel info screen.
2017-01-20 15:17:28 -05:00
enahum
b8dd3ec359 Fix channel selection when switching teams (#167)
* Fix channel selection when switching teams

* Making the listview channels to already have if its current
2017-01-20 13:41:48 -05:00
Harrison Healey
388393afb6 Fixed post textbox being off screen (#168) 2017-01-19 19:20:34 -03:00
Chris Duarte
c94a0840fd Show town square when selecting a team (#166)
Now selects the first channel if the default channel can’t be found
2017-01-19 09:55:32 -05:00
enahum
1566a79c93 Fastlane for Android and ios (#165) 2017-01-19 09:35:40 -05:00
Asaad Mahmood
4d9e30fb75 Updating UI for Sign up screens (#163)
* Updating sign up screens

* Removing help text for server screen

* Reverting change in projects file

* Updating proj file
2017-01-18 10:47:19 -05:00
Chris Duarte
677f7a8cb0 Auto select last team viewed (#161)
* WIP Autoselect last team viewed

* Auto select last team viewed

* Fix auto login in root.

* Fix per PR comments

Remove unused actions. Use currentTeam selector.
2017-01-17 09:27:53 -05:00
Harrison Healey
d0481605fb Add ability to post messages (#158)
* Fixed copyright date

* Removed unnecessary components folder from channel scene

* Added initial version of post textbox

* Moved getTheme into a proper selector

* Moved ChannelHeader into its own component

* Flipped post list so that the most recent posts appear at the bottom

* Moved post textbox value into redux view store

* Switched new components from PureRenderMixin to React.PureComponent
2017-01-13 10:40:00 -03:00
enahum
fdc9b5cc0e Bug fixes (#157)
* Fix team switch

* Fix getThemes

* Fix drawer unread indicators
2017-01-10 11:47:11 -05:00
Harrison Healey
9d51a3b970 Added whitelabeling support using assets/override (#156) 2017-01-05 16:32:24 -03:00
enahum
81526fbb09 Channel drawer (#154)
* Channel list drawer
* Get channels by category
* Fix and connect websocket
* Fix Select first team using the team members

* create loadMe and fix login actions to loads the teams

* Add android back button handler for the channel drawer

* Channel drawer styling and functionality

* Mark channel as viewed and fixed reset unread counts

* Unread above/below indicators

* Improve performance replacing ScrollView with ListView

* Fix unread indicators

* Addressing review feedback
2017-01-03 19:49:28 -03:00
Harrison Healey
4ecd3758e7 Render posts for the current channel (#153)
* Added selectChannel action

* Fixed selected team not being cleared on logout

* Fixed posts and postsByChannel not being initialized correctly

* Added basic post rendering

* Renamed selectors files to be plural

* Removed empty file

* Fixed unit tests after merge

* Removing unnecessary code
2016-12-23 10:55:33 -03:00
Chris Duarte
89855d108e Auto-select first team & skip SelectTeam initially (#149)
* Auto-select first team & skip SelectTeam initially

* Auto-select first team in alphabetical order
2016-12-22 11:19:25 -03:00
enahum
7e426b6029 Add WebSocket support (#144)
* Add WebSocket support

* fix unit tests

* Add actions to websocket and fix unit tests
2016-12-21 12:54:23 -05:00
Chris Duarte
e8d774b332 Use KeyboardAvoidingView in SelectServer & Login (#148)
* Use KeyboardAvoidingView in SelectServer & Login

* Use justifyContent not paddingTop in global container styles
2016-12-21 11:32:50 -05:00
enahum
189668105b Fix login flow (#140) 2016-12-19 10:24:34 -05:00
Harrison Healey
384667ece1 Added NOTICE.txt (#136)
* Added NOTICE.txt

* Add creators to intro sentence

* Removed react-addons-pure-render-mixin from NOTICE.txt since it's part of react

* Copied fbjs keymirror into utils

* Renamed deepFreezeAndThrowOnMutation to deep_freeze

* Fixed merge conflict
2016-12-16 19:42:08 -03:00
Harrison Healey
39a101822c Added ability to go back to team selection from channel view (#139) 2016-12-16 19:33:14 -03:00
enahum
d2f2678880 Reauthenticate from stored token when app is reloaded (#137)
* Reauthenticate from stored token when app is reloaded

* Address feedback
2016-12-15 13:17:26 -05:00
Harrison Healey
61c4d8b585 Added basic theming support (#131)
* Moved all view action types into a single file

* Moved preferences into their own constants section

* Added basic theming support
2016-12-12 21:05:59 -03:00
enahum
e2f3f7b803 project folder structure (#107)
* project folder structure

* Moving store to be called from app folder
2016-12-09 10:34:17 -05:00