Commit Graph

119 Commits

Author SHA1 Message Date
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
37ebe31097 clarify required env variables 2023-03-06 20:24:36 +08:00
Nathaniel Tampus
d9bb753315 log cleanup 2023-03-06 19:58:38 +08:00
Nathaniel Tampus
e8bbdc5cbd update api url 2023-03-06 19:57:07 +08:00
Nathaniel Tampus
e0cfe8c423 Merge pull request #4 from nizewn/dev
Alpha preparation
2023-03-06 19:31:16 +08:00
Nathaniel Tampus
7d704a94a6 show dropdown when link copied 2023-03-06 19:24:31 +08:00
Nathaniel Tampus
caa12fd5ce check pattern in backend as well 2023-03-06 18:59:35 +08:00
Nathaniel Tampus
6d19501ad4 add required pattern for guest name 2023-03-06 18:53:21 +08:00
Nathaniel Tampus
440e8cd540 exclude ended games from public api 2023-03-06 18:43:50 +08:00
Nathaniel Tampus
19880c0818 chat messages styling 2023-03-06 18:42:47 +08:00
Nathaniel Tampus
4e3e77e014 adjust game inactivity time to 15 minutes 2023-03-06 18:41:54 +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
c548f10d63 cleanup comment 2023-03-06 15:10:00 +08:00
Nathaniel Tampus
fd66897ecd start pgn with empty string 2023-03-06 14:35:18 +08:00
Nathaniel Tampus
158aef552a improve moveFrom safety 2023-03-06 13:47:39 +08:00
Nathaniel Tampus
0a3fd532cd leaveLobby improvements 2023-03-06 13:26:49 +08:00
Nathaniel Tampus
ef9e23338b restore link in navbar and separate badge dropdown 2023-03-06 13:21:29 +08:00
Nathaniel Tampus
754d149c4a session id detection improvements 2023-03-06 13:06:23 +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
a61691114e add optional deps to server 2023-03-05 19:04:19 +08:00
Nathaniel Tampus
5699663dd2 don't remove player on disconnect 2023-03-05 19:03:58 +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
997cbacc66 update readme 2023-03-04 23:06:32 +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