Commit Graph

210 Commits

Author SHA1 Message Date
Nathaniel Tampus
c7f3abf29c util functions for fetching archived games 2023-04-02 12:36:48 +08:00
Nathaniel Tampus
75eb21c337 save finished games to db 2023-04-02 00:00:09 +08:00
Nathaniel Tampus
a4d73b3d68 update deps 2023-04-01 20:59:51 +08:00
Nathaniel Tampus
8d19c88c83 rename reason to endReason 2023-04-01 20:58:29 +08:00
Nathaniel Tampus
ae86dbbc77 center elements for claiming abandoned game 2023-03-26 01:13:50 +08:00
Nathaniel Tampus
d469cdff56 allow player to claim win/draw for abandoned games 2023-03-25 19:18:01 +08:00
Nathaniel Tampus
4af8dc6d13 square button for refresh public games 2023-03-25 11:13:06 +08:00
Nathaniel Tampus
19909d74b9 update deps 2023-03-25 11:12:00 +08:00
Nathaniel Tampus
626fc9afca use normal button size for join 2023-03-22 15:50:04 +08:00
Nathaniel Tampus
3981ac4dc3 Merge branch 'main' into auth 2023-03-22 15:43:11 +08:00
Nathaniel Tampus
3a059d8874 fix for joining links with no http/https 2023-03-22 15:40:10 +08:00
Nathaniel Tampus
e03052b00e fix join game from url 2023-03-22 14:58:42 +08:00
Nathaniel Tampus
30977baa5b fix join game from url 2023-03-22 14:57:40 +08:00
Nathaniel Tampus
5e2d676450 update auth tab styles for better contrast 2023-03-20 19:18:30 +08:00
Nathaniel Tampus
86f4f9d42f Merge branch 'main' into auth 2023-03-20 18:53:35 +08:00
Nathaniel Tampus
4c18beeb3b accessibility & seo improvements 2023-03-20 18:41:24 +08:00
Nathaniel Tampus
272cd52ee2 add robots.txt 2023-03-20 18:29:52 +08:00
Nathaniel Tampus
53dbb4550b update deps 2023-03-19 21:43:22 +08:00
Nathaniel Tampus
dc2f218115 disallow underscores for names 2023-03-19 21:24:41 +08:00
Nathaniel Tampus
802a03fa11 use .after FEN for move navigation 2023-03-19 21:18:16 +08:00
Nathaniel Tampus
4ee0cd2280 update deps 2023-03-19 21:14:06 +08:00
Nathaniel Tampus
f564298c93 login and register tabs, initial user dashboard 2023-03-19 20:53:59 +08:00
Nathaniel Tampus
20b26448ae add auth api routes 2023-03-19 20:53:43 +08:00
Nathaniel Tampus
a9630a4cf1 update deps, add argon2 2023-03-19 20:43:31 +08:00
Nathaniel Tampus
e055c1f807 update "copied to clipboard" badge layout 2023-03-15 20:26:54 +08:00
Nathaniel Tampus
faaa43ea5b check session before enabling join/create buttons 2023-03-15 20:05:36 +08:00
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