Commit graph

25 commits

Author SHA1 Message Date
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
enahum
228b1be76f Prevent eslint from passing with exclusive tests (#133) 2016-12-13 12:57:57 -03:00
Harrison Healey
8732febd8c Removed react-native-router-flux and added custom navigation logic (#102)
* Removed react-native-router-flux and replaced it with custom navigation

* Split Logout component to have a container

* Replaced RootContainer with RootLayout

* Removed lodash from package.json

* Removed unnecessary state from Logout component

* Added placeholder for RHS search

* Renamed routes to scenes and moved some logic to there

* Added Root route to handle any initialization on app load

* Added unit tests for navigation reducer

* Fixed eslint errors

* Removed commented out code from Router

* Renamed Channel route to ChannelView to avoid confusion

* Used a separate index.js for component containers

* Simplified mapStateToProps for RootLayoutContainer

* Removed file accidentally added in merge conflict
2016-12-08 12:37:38 -03:00
enahum
9125d0cac2 Initial Redux Store (#84)
* Moved SelectServer view state into store

* Moved view state for Login to stores

* Renamed RequestStatus values

* Merged duplicated view state for login

* initial redux store

* Fix eslint

* user store and force logout when necessary

* channel store

* address feedback

* Revert naming the property of data
2016-12-06 15:11:40 -05:00
Harrison Healey
45f8a56d15 Fixed unit tests for the other changes I've made recently (#80)
* Removed mocking from client tests

* Updated Client tests to remove Client.setTeamId

* Fixed actions/general.test.js

* Updated test/reducer/channel.test.js for the updated store structure

* Commented out general reducer tests until the store structure is more finalized

* Properly used the team ID when creating a channel
2016-11-22 11:46:50 -05:00
Harrison Healey
86b33e0164 Added initial version of MainView/MainContainer 2016-11-09 12:52:17 -05:00
David Meza
231fda1160 Add vector icons (#34)
* WIP: Add vector Icons with Android support

* Added IOs support for icons. Linked XCode dependencies.

* Add icon to team selection list as a usage example/test
2016-10-20 17:42:31 -07:00
Harrison Healey
1a0c741fcd Added Intl polyfill for platforms that don't support it (#49) 2016-10-20 15:54:55 -07:00
Harrison Healey
8f727e0ebd Added react-intl for internationalization (#31)
* Added react-intl

* Moved all displayed strings into en.json

* Add spanish locale data so we can test switching locales
2016-10-19 10:56:24 -07:00
Thomas Hopkins
99140c6ece Check for npm, xcode, & android env in makefile (#30)
* Avoid clobbering config.secret.json if already exists

* Clear npm cache when running make clean

* Fail make if npm is not installed

* Wrap rn run commands so local rn cli is used instead of global

* Separate run commands for ios & android

* Fail make run-ios if xcode isn't installed

* Check android env in make run

* Fix make check for config.secret.json
2016-10-18 23:01:54 -07:00
Thomas Hopkins
d4a98c082a Style views for SelectServer, Login, SelectTeam, & ChannelsList (#27)
* Allow user to change switch between teams & channels

* Add react-native-button

* Style SelectTeam view

* Reuse SelectTeam styles in SelectServer & Login

* Reuse SelectTeam styles in ChannelsList view

* Display current team name in ChannelsList

* Disable android underline in textinputs
2016-10-18 13:32:07 -07:00
Thomas Hopkins
829972694b Add functionality for fetching + selecting teams & channels (#17)
* WIP-working-routes

* Fix imports

* WIP

* Remove unused proptypes & imports from SelectTeam

* Appease eslint

* Disable non-applicable eslint rules in routes & styles

* Change endpoint for fetching teams

* Handle failure to fetch teams

* Fix proptypes in ErrorText

* Add action for selecting team

* Allow user to select a channel

* Save exact versions of npm packages

* Add lodash

* Fetch teams for user to select from

* Don't require onProceed prop on SelectServer

* Abstract out the api logic from actions

* Handle fetch implementation discrepancy when parsing headers

* Remove example components

* Appease eslint

* Fix disabling of fetch-mock

* Remove response headers parsing hack

* Set mock fetch flag in config.json
2016-10-17 15:47:47 -04:00
Thomas Hopkins
8611b3e28a Use fetch-mock to mock requests in tests (#18)
* Use fetch-mock to mock requests in tests

* Use flag to enable/disable fetch-mock
2016-10-17 14:37:18 -04:00
Mike Piccolo
f6e551c45b Example for using async/await (#11)
* Use babelrc

* Use async to unnest
2016-10-14 15:00:52 -07:00
Mike Piccolo
4130a08199 Use babelrc (#10) 2016-10-14 15:00:09 -07:00
Harrison Healey
574148c56d Attempt to fix how eslint is called from package.json (#7) 2016-10-12 14:41:00 -07:00
Harrison Healey
15a44ad453 Fixed actions unit tests and dispatching them 2016-10-11 17:34:15 -04:00
Harrison Healey
559ea98840 Added some more client APIs and refactored the client so it doesn't return a function 2016-10-11 15:50:08 -04:00
Harrison Healey
b86718f467 Started adding separate client tests from redux tests 2016-10-11 11:21:15 -04:00
Harrison Healey
589bc90605 Refactored client.js to have no knowledge of the redux stores 2016-10-11 09:52:40 -04:00
Harrison Healey
f0291172ac Added script to make React Native support absolute imports 2016-10-07 11:46:40 -04:00
Harrison Healey
723b32a6e2 Updated packages, switched to mocha for testing 2016-10-07 11:11:14 -04:00
Harrison Healey
0e57ec48f2 Fixed unit tests and cleaned up package.json imports 2016-10-06 10:09:38 -04:00
Harrison Healey
d8a510d354 Updated dependencies 2016-10-05 08:42:08 -04:00
Harrison Healey
6907e9a900 Initial commit 2016-10-04 14:10:44 -04:00