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
9b8303b42f
Remove useless import.
4 years ago
Titouan Rigoudy
ac991d5845
Simplify Footer using hooks.
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
961f1efb04
Merge pull request #1 from emilebres/add_dependencies
Adds react-router and md5 as dependencies
9 years ago
Emile Bres
e46a4bc5e0
Adds react-router and md5 as dependencies
9 years ago
Titouan Rigoudy
8ed133f17c
Add RoomRecord.
9 years ago
Titouan Rigoudy
03359c7d8d
Add UserRecord.
9 years ago
Titouan Rigoudy
8b5cddb69d
Convert login reducer state to an immutable record.
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
106896d145
Make RoomsPane a pure component.
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
b39fcbff87
Make login reducer state immutable.
9 years ago
Titouan Rigoudy
11b54d6b4b
Do not use ReactPropTypesLocationNames.
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
05e16de0ba
Remove react-slingshot README.
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
e99cd92049
Rename JoinRoom to RoomJoin.
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
e7dcdaeea0
Make room_data.messages an Immutable.List.
9 years ago
Titouan Rigoudy
46f30ddf79
Add RoomChatForm and make chat work :)
9 years ago
Titouan Rigoudy
57416782ce
Add joinRoom and sayRoom ControlRequests.
9 years ago
Titouan Rigoudy
110a9b16bc
Fix configureStore to actually enable middleware.
9 years ago
Titouan Rigoudy
87ac3e2ac1
Use string action types for redux-logger.
9 years ago
Titouan Rigoudy
70da089658
Store socket in state, handle it with reducer.
9 years ago
Titouan Rigoudy
aaec39396a
Update TODO
9 years ago
Titouan Rigoudy
1964220ada
Big changes everywhere...
9 years ago
Titouan Rigoudy
0785094f89
Add TODO.md
9 years ago
Titouan Rigoudy
289a35682f
Add RoomChat, lay out everything nicely.
9 years ago