Commit Graph

34 Commits

Author SHA1 Message Date
bors[bot] 3ae782d3b4
Merge #118 #121 #122
118: Clean up WakuMessage API r=D4nte a=D4nte



121: Always trigger store query at connection r=D4nte a=D4nte

If no new messages are received, the rendering does not change
as dupe messages are filtered out.

122: Use provided API r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@status.im>
2021-05-04 00:26:12 +00:00
Franck Royer 836761143b
Always trigger store query at connection
If no new messages are received, the rendering does not change
as dupe messages are filtered out.
2021-05-04 07:55:35 +10:00
Franck Royer dedeb19dae
Make date font smaller and change author/message fonts 2021-05-04 07:53:26 +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 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 2d037c3e46
Attempt to fix double scrollbar issue 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 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 fae5959d2f
Format tsx files 2021-04-22 17:03:33 +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 25e6b1cbd3
Default connection to a running instance of go-waku 2021-04-22 15:43:21 +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 50a2c3777b
Improved the look 2021-04-21 14:32:52 +10:00
Franck Royer dc7b9ba5ae
We can send messages! 2021-04-21 14:32:51 +10:00
Franck Royer 35db88a63e
Display messages emitted by waku mock 2021-04-21 14:32:51 +10:00
Franck Royer ca7445d65c
Create waku mock 2021-04-21 14:32:51 +10:00
Franck Royer 5f9e6b24eb
App holds the messages 2021-04-21 14:32:51 +10:00
Franck Royer c5ea01bcb4
Display lines 2021-04-21 14:32:51 +10:00
Franck Royer 8942f0eca1
Add web chat 2021-04-21 14:32:51 +10:00