61 Commits

Author SHA1 Message Date
Franck Royer
dedeb19dae
Make date font smaller and change author/message fonts 2021-05-04 07:53:26 +10:00
Franck Royer
2c741da2c3
Group sequential messages from same sender
Name and date are not repeated anymore.
2021-05-04 07:53:03 +10:00
Franck Royer
df48d06e89
Use store waku to get older messages
Chronological order is preserved and dupes are removed.
2021-05-03 14:06:51 +10:00
Franck Royer
0969d073ac
Fix the key
The timestamp is seconds so you can easily have the same key if two
participants send a message at the same time.
2021-05-03 14:06:51 +10:00
Franck Royer
e0be69a056
Bool should be passed ot active 2021-05-03 14:06:50 +10:00
Franck Royer
7e44f9ee48
Remove peer-id from dependencies 2021-05-03 14:06:50 +10:00
Franck Royer
9f2b684a9a
Connect to the test fleet 2021-05-03 09:52:49 +10:00
littlealex003
99321b29c8
Use React Chat UI Kit
https://developers.livechat.com/docs/react-chat-ui-kit/
2021-04-29 21:13:31 +10:00
Franck Royer
147d7c525b
Connect to wss go-waku instance 2021-04-29 17:25:31 +10:00
littlealex003
55ca6a4e6f
Use random name for nickname if none set yet 2021-04-29 16:52:02 +10:00
Franck Royer
eded3311b8
Move dev packages under devDependencies 2021-04-29 12:06:38 +10:00
Franck Royer
cda14ee505
Relative URL is enough for the homepage 2021-04-28 11:59:59 +10:00
Franck Royer
b109fa4407
Remove useless script
npm i must be run first to have `run-s` available.
2021-04-28 11:52:26 +10:00
Franck Royer
bf288771c4
Set name and description 2021-04-28 11:51:33 +10:00
Franck Royer
8b87e50b51
Fix all scrolling issues 2021-04-28 10:46:44 +10:00
Franck Royer
462569583f
Make command handling more robust 2021-04-27 16:26:32 +10:00
Franck Royer
f65d4a20ff
Implement auto-scroll of the chat list 2021-04-27 14:58:20 +10:00
Franck Royer
2d037c3e46
Attempt to fix double scrollbar issue 2021-04-27 14:58:19 +10:00
Franck Royer
973fd95df9
Make chat lines slightly prettier 2021-04-27 14:58:19 +10:00
Franck Royer
14ccfdf2dd
Move ChatList component to dedicated file 2021-04-27 14:58:19 +10:00
Franck Royer
243a9aba77
Make message a component 2021-04-27 14:58:19 +10:00
Franck Royer
5635ca028b
Make functions in Room component pure 2021-04-27 14:58:19 +10:00
Franck Royer
f0c0adf226
Move initWaku out of App 2021-04-27 14:58:19 +10:00
Franck Royer
5998eb1d5d
Split handleNewMessages in smaller pure functions 2021-04-27 14:58:19 +10:00
Franck Royer
b943a88aff
Split commandHandler in smaller pure functions 2021-04-27 14:58:18 +10:00
Franck Royer
a27080fc34
Use flex to keep the input box at the bottom 2021-04-27 14:58:18 +10:00
Franck Royer
928ae5128e
Fix spelling 2021-04-23 16:05:05 +10:00
Franck Royer
b8434dcaa1
Change app name 2021-04-23 16:05:05 +10:00
Franck Royer
e467cf1379
Add /info command 2021-04-23 16:05:04 +10:00
Franck Royer
f5edd09fa9
Implement /nick command 2021-04-23 16:05:04 +10:00
Franck Royer
5ebceecf92
Use separate state per var 2021-04-23 16:05:04 +10:00
Franck Royer
9e471595fc
Add command to deploy on gh pages 2021-04-22 21:45:30 +10:00
Franck Royer
f0cd4064cb
Enable button once waku is ready 2021-04-22 17:05:19 +10:00
Franck Royer
fae5959d2f
Format tsx files 2021-04-22 17:03:33 +10:00
Franck Royer
13e93b176d
Convert to functional component 2021-04-22 17:02:10 +10:00
Franck Royer
5aee9f4841
Convert to functional component 2021-04-22 17:01:46 +10:00
Franck Royer
c7ba19f43e
Ensure text is cleared when clicking "send" 2021-04-22 16:56:59 +10:00
Franck Royer
80bf4eb4ea
Implement /peers and /connect commands 2021-04-22 16:50:37 +10:00
Franck Royer
2297d09d58
Enable using commands 2021-04-22 16:12:28 +10:00
Franck Royer
4c8a243c51
Improve usage of setState 2021-04-22 15:57:43 +10:00
Franck Royer
25e6b1cbd3
Default connection to a running instance of go-waku 2021-04-22 15:43:21 +10:00
Franck Royer
06d8c2aca6
Enable using enter key to send message 2021-04-22 15:11:37 +10:00
Franck Royer
79846ee196
Pass send message from room so other components can send 2021-04-22 14:57:30 +10:00
Franck Royer
69a3f73ee6
Self emit to see own messages 2021-04-22 14:47:43 +10:00
Franck Royer
9937652105
Remove listener when unmounting component 2021-04-22 11:09:10 +10:00
Franck Royer
1e1ad0332c
Messages do not replace each other 2021-04-22 10:58:56 +10:00
Franck Royer
09fa8a0447
Must pass filter.all to connect to ip4 ws peer 2021-04-22 10:39:05 +10:00
Franck Royer
3285d498c7
Use useEffect for async start of waku 2021-04-21 16:17:33 +10:00
Franck Royer
df5a4f8326
waku is undefined 2021-04-21 16:17:32 +10:00
Franck Royer
bd3cef1933
Setup CI for web-chat 2021-04-21 14:32:52 +10:00