Commit graph

165 commits

Author SHA1 Message Date
Sorrel Bri
3f283b47d8 stub board on game page 2020-01-30 15:56:50 -08:00
Sorrel Bri
5ef4d390ff stub Game components 2020-01-30 00:30:56 -08:00
Sorrel Bri
3aeadb48cd add seed moves 2020-01-29 23:44:06 -08:00
Sorrel Bri
09e90c97ab stub game connection via socket room 2020-01-29 23:22:50 -08:00
Sorrel Bri
899d32c9cf stub game connection via socket room 2020-01-29 17:01:46 -08:00
Sorrel Bri
8ec5b8f773 patch to cleanup reducer directory filenames 2020-01-29 13:28:49 -08:00
Sorrel Bri
0ac8ca002b stub default falsey values for initState function to prevent crash on 500 2020-01-29 13:00:00 -08:00
Sorrel Bri
572c4241f9 create Loading component with pinwheel ko animation 2020-01-29 00:17:32 -08:00
Sorrel Bri
0f02cc4cfc add table styling to game buttons in game room 2020-01-28 22:20:56 -08:00
Sorrel Bri
b45abe5559 refactor all jsx to BEM 2020-01-28 17:03:17 -08:00
Sorrel Bri
d7c0477c88 debug room socket connect dispatch 2020-01-28 14:33:54 -08:00
Sorrel Bri
976293f099 refactor sockets to be launched with namespace by components 2020-01-27 22:40:03 -08:00
Sorrel Bri
33a8877597 refacor sockets on server and client to utilize dispatch for socket meessages 2020-01-25 16:50:18 -08:00
Sorrel Bri
dbd4575128 stub socket connection to game id namespace 2020-01-24 15:51:15 -08:00
Sorrel Bri
34a5fa8d6f stub socket connection to game id namespace 2020-01-24 15:50:47 -08:00
Sorrel Bri
f4b8e79a3a stub games/:id endpoint to join game socket room 2020-01-24 00:07:40 -08:00
Sorrel Bri
4a960c784b refactor join_game_request to require unique users 2020-01-23 21:41:25 -08:00
Sorrel Bri
680bb41337 connect join_game_request socket at client and server 2020-01-23 21:25:08 -08:00
Sorrel Bri
f015f4242e patch rooms/:id failure to return multiple games 2020-01-23 16:14:38 -08:00
Sorrel Bri
015be6ca6b patch no-query bug in rooms/ endpoint 2020-01-23 16:04:40 -08:00
Sorrel Bri
0a66d3f93c refactor api rooms/:id endpoint to deliver current room without table join 2020-01-23 14:46:49 -08:00
Sorrel Bri
abfc0c7c94 stub room display with messages and game link 2020-01-23 14:45:48 -08:00
Sorrel Bri
1863cc96a2 dispatch all room data to state upon rooms/:id 2020-01-22 16:40:56 -08:00
Sorrel Bri
e6f286c743 refactor api room endpoint to return unjoined game room data 2020-01-22 16:30:28 -08:00
Sorrel Bri
c3eb7fe697 add SET_MESSAGES to reducer 2020-01-22 15:41:08 -08:00
Sorrel Bri
754d17890e refactor services and reducers to parse JSON before data hits dispatch 2020-01-22 15:16:43 -08:00
Sorrel Bri
833d8fa1dd add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-01-22 11:43:36 -08:00
Sorrel Bri
067ce69cbb serve room with message data from api/v1/rooms/:id 2020-01-21 17:02:54 -08:00
Sorrel Bri
c1d269625b serve room with joined game data from api/v1/rooms/:id 2020-01-21 16:01:35 -08:00
Sorrel Bri
c323968404 stub room socket connection (client + server) 2020-01-21 14:33:40 -08:00
Sorrel Bri
5205035d7c add message table with migration 2020-01-20 23:36:52 -08:00
Sorrel Bri
a10453a848 add move table with migration 2020-01-20 23:19:22 -08:00
Sorrel Bri
d0f26d9a6c add game table with seed and migration 2020-01-20 23:05:55 -08:00
Sorrel Bri
63f1b335e9 add time_setting table with seed and migration 2020-01-20 22:39:28 -08:00
Sorrel Bri
2e76c58f88 patch remove unnecessary socket.io cookie 2020-01-20 13:47:02 -08:00
Sorrel Bri
cd0499cf72 Merge branch 'gameroom_endpoint' 2020-01-20 13:22:18 -08:00
Sorrel Bri
3e82a2c410 render stubbed RoomButton component on Home 2020-01-20 13:21:52 -08:00
Sorrel Bri
3275fc18d6 change landing page to news if user not logged in 2020-01-20 12:16:46 -08:00
Sorrel Bri
34abfa9d29 patch https cookies in production 2020-01-18 23:53:42 -08:00
Sorrel Bri
082cf29470 patch https cookies in production 2020-01-18 23:02:33 -08:00
Sorrel Bri
eb86556f2a hook SET_ROOMS into rooms Service 2020-01-18 16:40:57 -08:00
Sorrel Bri
03648fcf3f add SET_ROOMS dispatch 2020-01-18 16:17:23 -08:00
Sorrel Bri
048f518114 serve all public rooms at rooms index 2020-01-18 15:49:35 -08:00
Sorrel Bri
493a1f3e82 stub rooms index route and controller 2020-01-18 15:42:45 -08:00
Sorrel Bri
e6fb148bdc add room migration and simple seeds 2020-01-18 14:15:44 -08:00
Sorrel Bri
e4f84275b4 serve basic page at api endpoint to redirect user 2020-01-18 13:24:00 -08:00
Sorrel Bri
1d0111567c patch component references in pages/ 2020-01-18 13:06:28 -08:00
Sorrel Bri
c6ec8210dc patch reference to MainWrapper component 2020-01-18 13:02:03 -08:00
Sorrel Bri
709358a2cd rename RoomArchive components to differentiate from NewsArchive 2020-01-18 12:20:33 -08:00
Sorrel Bri
42497432df stub home and rooms sidebar components 2020-01-18 12:11:22 -08:00