efim
76303ba097
table view prettier no-vote error display
2023-04-28 20:53:49 +04:00
efim
a690189f02
positioning card name label
2023-04-28 20:44:36 +04:00
efim
a87f4f99c0
add display of the name on the open card
...
to make disambiguation on the viewing round simpler
will style this later
2023-04-28 11:58:48 +04:00
efim
62d63546c4
adding alpha create room capability
2023-04-28 10:08:04 +04:00
efim
ed6d30ec42
models: separate backend room model
...
not viewable on front end, since doesn't have json codecs, yay!
2023-04-27 22:17:47 +04:00
efim
da9b96de84
own hand control - adding interactivity
2023-04-27 21:36:06 +04:00
efim
9a27a5c943
own controls - hide own active vote card
2023-04-27 21:21:02 +04:00
efim
11e65c009c
add very dummy own card controls
2023-04-27 21:07:35 +04:00
efim
107e7507f4
front other players - move to separate file
2023-04-27 20:58:53 +04:00
efim
ecb1717eb3
front: simple table control buttons
2023-04-27 11:57:20 +04:00
efim
f8bf1b961b
new logout button
...
triggers /api/logout and updates app loggedIn state
2023-04-27 10:34:40 +04:00
efim
9db42cb522
connect login and room pages via logged in state
...
moving websocket into being managed by the room component.
if the partent would want access to "user signal" it can ask via
observer.
that would mean bidirectionality, and i already hear screeching of my
intuitions from react, but maybe that's ok and in react i would still
scope the websocket to the room page, plus callbacks
2023-04-26 22:32:53 +04:00
efim
90e886c62d
new Join Room form that requests authcookie
...
getting stubbed session #1 ,
with auth module stubbed to accept that session in.
and stubbed method for streaming room state,
but that's enough to start testing room calling api's for other actions
next - pass in observable from parent to re-toggle subscription
websocket after successful login
2023-04-26 11:42:40 +04:00
efim
1f28a03d47
temporarily hardcoding backend room and session
2023-04-26 08:56:51 +04:00
efim
2244f38348
scalafmt all
2023-04-25 10:25:36 +04:00
efim
dfff814079
cleanup
2023-04-25 09:45:21 +04:00
efim
77b34a2ca7
change Map to List in model, scalajs didn't decode
2023-04-23 23:15:59 +04:00
efim
f3e51a4750
fixing websocket, it was misspelled port
...
wow. just wow
2023-04-23 23:01:51 +04:00
efim
5ac864f15e
not working: attempt to stream in websocket
...
added Vite proxy, tested with websocat, with direct js websocket.
the error seems to be Laminex related
2023-04-23 22:22:02 +04:00
efim
2c66a9a8c2
adding websocket connection to room state
2023-04-23 16:29:05 +04:00
efim
df35f09b71
circe codec derivation to models
2023-04-23 15:00:00 +04:00
efim
d8af92787d
adding backend project
...
will try to do rest & websocket api with http4s
2023-04-23 11:19:38 +04:00