Commit Graph

134 Commits

Author SHA1 Message Date
Nathaniel Tampus
3821c4b43a update game url to use game code directly 2023-03-15 19:54:15 +08:00
Nathaniel Tampus
b368d7bdf5 fix mobile overflow for real this time 2023-03-15 19:39:40 +08:00
Nathaniel Tampus
fd073821f6 fix mobile overflow 2023-03-15 19:25:28 +08:00
Nathaniel Tampus
bb9a723a11 update deps 2023-03-15 19:25:00 +08:00
Nathaniel Tampus
3c46b485c3 only scroll moves container instead of whole page 2023-03-13 20:21:08 +08:00
Nathaniel Tampus
055cc5781d scroll to active move button only when needed 2023-03-12 21:24:24 +08:00
Nathaniel Tampus
f7aba38d82 add initial message and fix server message style 2023-03-12 20:27:26 +08:00
Nathaniel Tampus
034ba1a206 move history navigation (closes #9) 2023-03-12 19:54:22 +08:00
Nathaniel Tampus
e2a0f361cf small structure changes for less redundancy 2023-03-12 13:29:06 +08:00
Nathaniel Tampus
fb43d2d9c7 update deps 2023-03-12 13:19:49 +08:00
Nathaniel Tampus
a9480ffd3a experimental premove support (closes #7) 2023-03-11 13:09:33 +08:00
Nathaniel Tampus
e632fc0618 update deps 2023-03-11 13:07:49 +08:00
Nathaniel Tampus
fd696677c3 remove unused asset 2023-03-08 23:13:12 +08:00
Nathaniel Tampus
feafffe53e remove theme event listener on cleanup 2023-03-06 22:01:39 +08:00
Nathaniel Tampus
483af2c615 autodetect dark theme before useEffect 2023-03-06 22:01:19 +08:00
Nathaniel Tampus
7d704a94a6 show dropdown when link copied 2023-03-06 19:24:31 +08:00
Nathaniel Tampus
6d19501ad4 add required pattern for guest name 2023-03-06 18:53:21 +08:00
Nathaniel Tampus
19880c0818 chat messages styling 2023-03-06 18:42:47 +08:00
Nathaniel Tampus
99b73fb1c1 scrollbar styling 2023-03-06 18:19:47 +08:00
Nathaniel Tampus
b98e4a23a9 redirect on client for 404 2023-03-06 17:25:15 +08:00
Nathaniel Tampus
7fea5f933e adjust light theme secondary color 2023-03-06 15:54:24 +08:00
Nathaniel Tampus
f08623993f add swap animation to theme toggle 2023-03-06 15:50:41 +08:00
Nathaniel Tampus
da1a556eea add theme toggle functionality 2023-03-06 15:43:22 +08:00
Nathaniel Tampus
d913a259ba update light theme neutral color 2023-03-06 15:43:13 +08:00
Nathaniel Tampus
60716861ac remove extra comment 2023-03-06 15:12:56 +08:00
Nathaniel Tampus
d858853bf4 move validation fixes, update page title on turn 2023-03-06 15:11:35 +08:00
Nathaniel Tampus
158aef552a improve moveFrom safety 2023-03-06 13:47:39 +08:00
Nathaniel Tampus
ef9e23338b restore link in navbar and separate badge dropdown 2023-03-06 13:21:29 +08:00
Nathaniel Tampus
fe0e045fd8 show player disconnected state 2023-03-06 12:42:49 +08:00
Nathaniel Tampus
4e17eadb7a wrap auth util functions in try blocks 2023-03-06 11:43:34 +08:00
Nathaniel Tampus
dd1166dc42 open badge dropdown on hover 2023-03-06 11:29:03 +08:00
Nathaniel Tampus
045470b398 navbar site name changes
- removed link for site name
- added tooltip dropdown for alpha badge
2023-03-06 11:23:36 +08:00
Nathaniel Tampus
167e1cbd9d add temporary 404 page 2023-03-06 10:56:24 +08:00
Nathaniel Tampus
72a80fe8bf remove home route background 2023-03-06 10:42:29 +08:00
Nathaniel Tampus
a9accad679 add metadata and opengraph tags 2023-03-06 10:30:22 +08:00
Nathaniel Tampus
82ca2791c3 improve player names format 2023-03-05 22:27:36 +08:00
Nathaniel Tampus
802e5bb801 btn-disabled instead of loading to preserve size 2023-03-05 22:08:28 +08:00
Nathaniel Tampus
a30331ccb1 public games list functionality 2023-03-05 22:06:59 +08:00
Nathaniel Tampus
fa94df1d06 show error tooltip when game not found 2023-03-05 21:30:30 +08:00
Nathaniel Tampus
247a6c1c76 initial playable functionality
TODO: restructure
- this is mostly a copy-paste from the old game and socket handlers
2023-03-05 19:07:23 +08:00
Nathaniel Tampus
09ddb6e21a update optional dep 2023-03-05 19:04:35 +08:00
Nathaniel Tampus
69fb7a7c9d add wrapper component to check auth 2023-03-05 10:00:55 +08:00
Nathaniel Tampus
01ebc4a138 rename game wrapper, add initial socket events 2023-03-05 09:41:34 +08:00
Nathaniel Tampus
eb40d73f74 add optional deps to suppress socketio error msgs 2023-03-05 01:01:13 +08:00
Nathaniel Tampus
9ca2d7b5ad wrap game page in server component
for initial data fetch
2023-03-05 00:36:49 +08:00
Nathaniel Tampus
b7ee6f4371 rename to getGame & improve error handling 2023-03-05 00:33:44 +08:00
Nathaniel Tampus
f3eaf23a8f use req.params directly 2023-03-04 18:44:20 +08:00
Nathaniel Tampus
dd0a097a48 initial find & create game functionality
and restructure homepage components
2023-03-04 18:43:32 +08:00
Nathaniel Tampus
6de9943dca game util functions 2023-03-04 18:41:09 +08:00
Nathaniel Tampus
e6436fedb0 initial guest auth functionality 2023-03-04 18:40:21 +08:00