Commit graph

35 commits

Author SHA1 Message Date
acf1f812c8 Submit entry forms upon pressing Enter 2020-05-20 22:30:25 -04:00
e347ade674 Sort the player list 2020-05-20 22:13:20 -04:00
da8da89751 Clean up room event decoders 2020-05-20 21:45:20 -04:00
e5777f6f7a Handle presence events in Elm
Pass state and diff events to elm, where the state can be managed
accordingly. Because vote events are used to update player state, we
don't want to blindly overwrite it by passing a separately synced
presence list through, as it will lack vote data.

Fixes #1
2020-05-20 21:45:14 -04:00
4e8ac6f8d2 Disable voting once revealed 2020-05-18 21:59:42 -04:00
ae42bccd9c Style the player list 2020-05-18 21:45:54 -04:00
a49612b3ba Make UI responsive
Switch to a vertical layout for phones
2020-05-16 18:52:56 -04:00
e789b43885 Move moderator controls under player list 2020-05-16 17:05:07 -04:00
9e1b3d2cc0 Add cards 2020-05-16 17:01:50 -04:00
09a4523263 Fix centering of wrapped elements 2020-05-15 00:27:42 -04:00
2b2947fc02 Wrap cards on smaller screens 2020-05-15 00:22:21 -04:00
f0d4d307bd Disable reveal button once votes are revealed 2020-05-14 22:31:41 -04:00
086ebb3da5 Emit reveal command across the network 2020-05-14 22:18:38 -04:00
7fb7cc4805 Restore incoming event handling 2020-05-14 21:48:00 -04:00
a27394878f Consolidate outgoing events 2020-05-09 02:06:30 -04:00
29174d8246 Add vote and reset eventing 2020-05-08 01:57:55 -04:00
bc746a7693 Store all player data by room 2020-05-08 00:46:37 -04:00
80f96092c9 Track votes in ETS 2020-05-08 00:34:42 -04:00
d595c5603f Track player info in ETS 2020-05-07 23:43:02 -04:00
9cf1604db0 Remove hard-coded room id 2020-05-06 22:02:44 -04:00
b5dea51863 Update production hostname 2020-05-06 21:54:04 -04:00
c4bef81826 Clarify joining vs playing states 2020-05-06 21:33:41 -04:00
6d51fb9632 Remove room name entry
Saving this till there's proper room state creation
2020-05-06 20:18:58 -04:00
8e4a7ff564 Improve room joining 2020-05-06 20:03:31 -04:00
a534184ff1 Join rooms via websockets 2020-05-06 01:30:43 -04:00
62b2bc2484 Add Dockerfile 2020-05-04 16:40:43 -04:00
dbe3ec4517 Configure release to start server 2020-05-04 15:38:02 -04:00
e48900996b Clean up some UI values 2020-05-04 15:27:27 -04:00
22436d22f7 Mock out joining a room 2020-05-04 14:23:50 -04:00
76d19e0937 Remove Ecto 2020-05-03 01:15:48 -04:00
dc6afd40be Consolidate common UI elements 2020-05-03 01:03:24 -04:00
66480b31aa Add SPA routing 2020-05-03 00:35:11 -04:00
d7d454f7e1 Add voting room UI 2020-05-02 22:38:12 -04:00
36f06bff2d Add landing page 2020-05-02 22:37:54 -04:00
a4b1c6c3ca Initial commit 2020-05-02 18:22:49 -04:00