Titouan Rigoudy
a41529d52e
Fix compile failures after move to tsx.
4 years ago
Titouan Rigoudy
c2485cf3b9
Rename files to .tsx.
4 years ago
Titouan Rigoudy
3473b396af
Implement rough first parts of /rooms.
4 years ago
Titouan Rigoudy
e82639f7df
Install and run prettier formatter.
4 years ago
Titouan Rigoudy
e79e3443a5
Simplify {Login,Socket}StatusPane.
4 years ago
Titouan Rigoudy
41e0edbcfb
Introduce message handlers, fix login reducer.
4 years ago
Titouan Rigoudy
692f062a0b
Introduce minimal login slice.
4 years ago
Titouan Rigoudy
ba8580cde4
Huge breaking update to the world of 2021.
Based on create-react-app --template redux-typescript.
Some stuff still needs to be removed or fixed.
Tests likely fail.
But the basic connection logic works!
4 years ago
Titouan Rigoudy
8ed133f17c
Add RoomRecord.
9 years ago
Titouan Rigoudy
2712422837
Convert socket reducer state to an immutable record.
9 years ago
Titouan Rigoudy
9da36dd0ef
Add SearchableList, use it for RoomList and UserList.
9 years ago
Titouan Rigoudy
7b9a4ef862
Add basic User component.
9 years ago
Titouan Rigoudy
93fc42831d
Add very basic UsersPane.
9 years ago
Titouan Rigoudy
3b61249cb8
Use md5 hashes for urls, factor OrderedMap out of rooms reducer.
9 years ago
Titouan Rigoudy
fa9ac65436
Make socket reducer state immutable.
9 years ago
Titouan Rigoudy
d04a768037
Make entire rooms state immutable.
9 years ago
Titouan Rigoudy
085a8c4fc4
Make rooms state immutable, fix room leaving mechanism.
9 years ago
Titouan Rigoudy
2ea93c8d68
Refactor rooms reducer, rename rooms.rooms to rooms.roomMap.
9 years ago
Titouan Rigoudy
6df7f6864d
Huge move to react-router.
9 years ago
Titouan Rigoudy
c01359bc07
Add RoomUserList.
9 years ago
Titouan Rigoudy
2b5ae5e368
Migrate RoomActions away from SOCKET_SEND_MESSAGE action.
9 years ago
Titouan Rigoudy
bdad6d168f
Start migrating away from SOCKET_SEND_MESSAGE action.
9 years ago
Titouan Rigoudy
c2dd429eb8
Only show main window if login is successful.
9 years ago
Titouan Rigoudy
0668a30d88
Reset RoomChatForm when a message is sent.
9 years ago
Titouan Rigoudy
9219c6ace9
Tweak RoomChat code to include room name in room prop.
9 years ago
Titouan Rigoudy
1892367c0d
Make RoomChat a component, not a container.
9 years ago
Titouan Rigoudy
85ad7c2e40
Tweak RoomChatHeader code and appearance.
9 years ago
Titouan Rigoudy
c2d5775806
Add RoomLeave functionality.
9 years ago
Titouan Rigoudy
174f8f67ac
Rename SayRoom to RoomMessage.
9 years ago
Titouan Rigoudy
228f0db215
Show rooms which we are members of.
9 years ago
Titouan Rigoudy
79226dc594
Display messages in a modern way.
9 years ago
Titouan Rigoudy
2ef2f63705
Fix styling of RoomChat, add real room joining mechanism.
9 years ago
Titouan Rigoudy
46f30ddf79
Add RoomChatForm and make chat work :)
9 years ago
Titouan Rigoudy
70da089658
Store socket in state, handle it with reducer.
9 years ago
Titouan Rigoudy
1964220ada
Big changes everywhere...
9 years ago
Titouan Rigoudy
289a35682f
Add RoomChat, lay out everything nicely.
9 years ago
Titouan Rigoudy
5974c009a8
Add Header.
9 years ago
Titouan Rigoudy
e429715f50
Add RoomsPane, RoomList, room reducer.
9 years ago
Titouan Rigoudy
98a4f832b9
Add LoginStatusPane.
9 years ago
Titouan Rigoudy
8b19a2f5bb
Add redux-thunk.
9 years ago
Titouan Rigoudy
1cf89b8ecb
Refactor socket status into SocketStatusPane.
9 years ago
Titouan Rigoudy
7a31415fd1
Add ConnectForm.
9 years ago
Titouan Rigoudy
2063a93d68
Remove all example code, add websocket.
9 years ago
Titouan Rigoudy
ea9336ec2c
Initial commit.
9 years ago