Commit graph

56 commits

Author SHA1 Message Date
Sorrel Bri
3943d08ab6 stub nav form styles and fix board span bug 2020-02-05 16:44:37 -08:00
Sorrel Bri
08e76b33d0 decoupled show Auth form logic from Home sidebar for use in other sidebars on Auth errors 2020-02-05 16:44:37 -08:00
Sorrel Bri
94c40e6d07 style player area on game screen 2020-02-05 16:44:37 -08:00
Sorrel Bri
0e5c18907d stub render board state from make_move 2020-02-05 16:44:37 -08:00
Sorrel Bri
485771b8f2 stub make move socket message to add move to game 2020-02-05 16:44:37 -08:00
Sorrel Bri
5981daf86a stub game services to store active games 2020-02-05 16:44:37 -08:00
Sorrel Bri
cb56a98d27 stub board on game page 2020-02-05 16:44:37 -08:00
Sorrel Bri
607a4e13bf stub Game components 2020-02-05 16:44:37 -08:00
Sorrel Bri
1d8cabf5ee stub game connection via socket room 2020-02-05 16:44:37 -08:00
Sorrel Bri
1f89dbc481 patch to cleanup reducer directory filenames 2020-02-05 16:44:36 -08:00
Sorrel Bri
ba8a89ee6a stub default falsey values for initState function to prevent crash on 500 2020-02-05 16:44:36 -08:00
Sorrel Bri
025aee43c8 create Loading component with pinwheel ko animation 2020-02-05 16:44:36 -08:00
Sorrel Bri
261b5c5bbe add table styling to game buttons in game room 2020-02-05 16:44:36 -08:00
Sorrel Bri
ebb7ceb466 refactor all jsx to BEM 2020-02-05 16:44:36 -08:00
Sorrel Bri
79daaf1461 debug room socket connect dispatch 2020-02-05 16:44:36 -08:00
Sorrel Bri
e2537df697 refactor sockets to be launched with namespace by components 2020-02-05 16:44:36 -08:00
Sorrel Bri
0b78c78a0a refacor sockets on server and client to utilize dispatch for socket meessages 2020-02-05 16:44:36 -08:00
Sorrel Bri
67f0449963 stub socket connection to game id namespace 2020-02-05 16:44:36 -08:00
Sorrel Bri
5a2d5648e0 stub games/:id endpoint to join game socket room 2020-02-05 16:44:36 -08:00
Sorrel Bri
f0c0b9a0f6 refactor join_game_request to require unique users 2020-02-05 16:44:36 -08:00
Sorrel Bri
d882fe9bcf patch rooms/:id failure to return multiple games 2020-02-05 16:44:35 -08:00
Sorrel Bri
6eaf272d5d stub room display with messages and game link 2020-02-05 16:44:35 -08:00
Sorrel Bri
3ad0c9da52 dispatch all room data to state upon rooms/:id 2020-02-05 16:44:35 -08:00
Sorrel Bri
a33fea6ba6 refactor api room endpoint to return unjoined game room data 2020-02-05 16:44:35 -08:00
Sorrel Bri
41d64135e5 add SET_MESSAGES to reducer 2020-02-05 16:44:35 -08:00
Sorrel Bri
ef165b0cff refactor services and reducers to parse JSON before data hits dispatch 2020-02-05 16:44:35 -08:00
Sorrel Bri
55b1a9bce0 add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-02-05 16:44:35 -08:00
Sorrel Bri
6c0d1fbc7c stub room socket connection (client + server) 2020-02-05 16:44:34 -08:00
Sorrel Bri
e1e7768c08 Merge branch 'gameroom_endpoint' 2020-02-05 16:44:34 -08:00
Sorrel Bri
65bbeb71dd patch https cookies in production 2020-02-05 16:44:34 -08:00
Sorrel Bri
a5206c965c hook SET_ROOMS into rooms Service 2020-02-05 16:44:34 -08:00
Sorrel Bri
1b7f802013 add SET_ROOMS dispatch 2020-02-05 16:44:34 -08:00
Sorrel Bri
e1e45f679b patch component references in pages/ 2020-02-05 16:44:33 -08:00
Sorrel Bri
8622b5747f patch reference to MainWrapper component 2020-02-05 16:44:33 -08:00
Sorrel Bri
ba3fb61f8b rename RoomArchive components to differentiate from NewsArchive 2020-02-05 16:44:33 -08:00
Sorrel Bri
59a1ade90a stub home and rooms sidebar components 2020-02-05 16:44:33 -08:00
Sorrel Bri
575cf4a77a patch to hide password input on login form 2020-02-05 16:44:33 -08:00
Sorrel Bri
e0bc32078b patch frontend api endpoint in config 2020-02-05 16:44:33 -08:00
Sorrel Bri
23daa25ca9 patch config for production 2020-02-05 16:44:33 -08:00
Sorrel Bri
ffef145527 patch config for production 2020-02-05 16:44:33 -08:00
Sorrel Bri
78ad0b18ec add login hook to frontend 2020-02-05 16:44:33 -08:00
Sorrel Bri
2a4d48d26c add validation for username and email on signup 2020-02-05 16:44:33 -08:00
Sorrel Bri
d04656762e add client side password confirmation check 2020-02-05 16:44:32 -08:00
Sorrel Bri
d10774c161 refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:44:32 -08:00
Sorrel Bri
ff2e1e82b2 refactor to fetch to ensure proper cookie storage 2020-02-05 16:44:32 -08:00
Sorrel Bri
ca6773c18d serve user from verified jwt 2020-02-05 16:44:32 -08:00
Sorrel Bri
ad26f1af3a add FormError component to display auth errors 2020-02-05 16:44:32 -08:00
Sorrel Bri
0131183237 hook reducer into signup post response 2020-02-05 16:44:32 -08:00
Sorrel Bri
918b2ac5cb hook reducer into auth/signup request service 2020-02-05 16:44:32 -08:00
Sorrel Bri
285d9b7a46 stub styling of side and main content 2020-02-05 16:44:32 -08:00