Commit Graph

39 Commits

Author SHA1 Message Date
Correl Roush ad9bd2db95 Add dark mode 2021-01-23 00:03:27 -05:00
Correl Roush 129f249ca2 Allow for null names in presence events
Leave events may leave the presence metadata fields null, including
name. Fall back on an empty string if that is the case.
2020-05-30 14:08:21 -04:00
Correl Roush 1e9080e7c1 Rearrange assets
Remove unused Phoenix placeholder assets.
2020-05-27 00:25:59 -04:00
Correl Roush 2b804d30f7 Clear player data on socket closure 2020-05-24 00:06:47 -04:00
Correl Roush acf1f812c8 Submit entry forms upon pressing Enter 2020-05-20 22:30:25 -04:00
Correl Roush e347ade674 Sort the player list 2020-05-20 22:13:20 -04:00
Correl Roush da8da89751 Clean up room event decoders 2020-05-20 21:45:20 -04:00
Correl Roush 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
Correl Roush 4e8ac6f8d2 Disable voting once revealed 2020-05-18 21:59:42 -04:00
Correl Roush ae42bccd9c Style the player list 2020-05-18 21:45:54 -04:00
Correl Roush a49612b3ba Make UI responsive
Switch to a vertical layout for phones
2020-05-16 18:52:56 -04:00
Correl Roush e789b43885 Move moderator controls under player list 2020-05-16 17:05:07 -04:00
Correl Roush 9e1b3d2cc0 Add cards 2020-05-16 17:01:50 -04:00
Correl Roush 09a4523263 Fix centering of wrapped elements 2020-05-15 00:27:42 -04:00
Correl Roush 2b2947fc02 Wrap cards on smaller screens 2020-05-15 00:22:21 -04:00
Correl Roush f0d4d307bd Disable reveal button once votes are revealed 2020-05-14 22:31:41 -04:00
Correl Roush 086ebb3da5 Emit reveal command across the network 2020-05-14 22:18:38 -04:00
Correl Roush 7fb7cc4805 Restore incoming event handling 2020-05-14 21:48:00 -04:00
Correl Roush a27394878f Consolidate outgoing events 2020-05-09 02:06:30 -04:00
Correl Roush 29174d8246 Add vote and reset eventing 2020-05-08 01:57:55 -04:00
Correl Roush bc746a7693 Store all player data by room 2020-05-08 00:46:37 -04:00
Correl Roush 80f96092c9 Track votes in ETS 2020-05-08 00:34:42 -04:00
Correl Roush d595c5603f Track player info in ETS 2020-05-07 23:43:02 -04:00
Correl Roush 9cf1604db0 Remove hard-coded room id 2020-05-06 22:02:44 -04:00
Correl Roush b5dea51863 Update production hostname 2020-05-06 21:54:04 -04:00
Correl Roush c4bef81826 Clarify joining vs playing states 2020-05-06 21:33:41 -04:00
Correl Roush 6d51fb9632 Remove room name entry
Saving this till there's proper room state creation
2020-05-06 20:18:58 -04:00
Correl Roush 8e4a7ff564 Improve room joining 2020-05-06 20:03:31 -04:00
Correl Roush a534184ff1 Join rooms via websockets 2020-05-06 01:30:43 -04:00
Correl Roush 62b2bc2484 Add Dockerfile 2020-05-04 16:40:43 -04:00
Correl Roush dbe3ec4517 Configure release to start server 2020-05-04 15:38:02 -04:00
Correl Roush e48900996b Clean up some UI values 2020-05-04 15:27:27 -04:00
Correl Roush 22436d22f7 Mock out joining a room 2020-05-04 14:23:50 -04:00
Correl Roush 76d19e0937 Remove Ecto 2020-05-03 01:15:48 -04:00
Correl Roush dc6afd40be Consolidate common UI elements 2020-05-03 01:03:24 -04:00
Correl Roush 66480b31aa Add SPA routing 2020-05-03 00:35:11 -04:00
Correl Roush d7d454f7e1 Add voting room UI 2020-05-02 22:38:12 -04:00
Correl Roush 36f06bff2d Add landing page 2020-05-02 22:37:54 -04:00
Correl Roush a4b1c6c3ca Initial commit 2020-05-02 18:22:49 -04:00