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
bors[bot]
2d3cc73569
Merge #61
...
61: setup-buf only install buf it cannot be found r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-26 10:06:00 +00:00
Franck Royer
a24805a533
Upgrade buf to latest version (0.41.0)
2021-04-26 15:46:36 +10:00
Franck Royer
441d906bd8
setup-buf only install buf it cannot be found
2021-04-26 15:46:06 +10:00
bors[bot]
f0f76cb661
Merge #60
...
60: Cache bufbuilder r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-23 06:40:16 +00:00
Franck Royer
880870bb15
Cache bufbuilder
2021-04-23 16:38:00 +10:00
Franck Royer
6bd0f123da
Cache bufbuilder
2021-04-23 16:37:56 +10:00
bors[bot]
00d4c41967
Merge #58
...
58: Implement few commands r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-23 06:06:00 +00: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
bors[bot]
13a8b45b72
Merge #59
...
59: Set git identity to auto-deploy pages from main r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-23 05:52:48 +00:00
Franck Royer
9973216393
Set git identity to auto-deploy pages from main
2021-04-23 15:52:02 +10:00
bors[bot]
5789f39553
Merge #57
...
57: Install before deploy r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-23 05:25:14 +00:00
Franck Royer
d42355db15
Add web CI to bors check list
2021-04-23 15:24:30 +10:00
Franck Royer
7ed6f68ec7
Install before deploy
2021-04-23 08:46:07 +10:00
bors[bot]
c03d3fbc36
Merge #53
...
53: Web chat gh pages r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-04-22 11:46:06 +00:00
Franck Royer
8b4caeaa3f
Automatically deploy latest main on gh pages
2021-04-22 21:45:30 +10:00
Franck Royer
9e471595fc
Add command to deploy on gh pages
2021-04-22 21:45:30 +10:00
bors[bot]
8a6caf55a6
Merge #49
...
49: Integrate js-waku in web chat app r=D4nte a=D4nte
Resolves #14
Co-authored-by: Franck Royer <franck@status.im>
2021-04-22 11:37:55 +00:00
Franck Royer
a34addb891
Do not use npm ci for webchat
2021-04-22 21:34:01 +10:00
Franck Royer
46f3bf6320
Add new word
2021-04-22 21:06:28 +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
afba3210e9
Upgrade libp2p to 0.31.0-rc.3
2021-04-21 16:17:32 +10:00
bors[bot]
9095e3f145
Merge #38
...
38: Web chat React app r=D4nte a=D4nte
Helps with #14
Simple web chat app. Currently using a mock for waku. Next step: Integrate waku.
Co-authored-by: Franck Royer <franck@royer.one>
Co-authored-by: Franck Royer <franck@status.im>
2021-04-21 06:13:38 +00:00
Franck Royer
bd3cef1933
Setup CI for web-chat
2021-04-21 14:32:52 +10:00
Franck Royer
35cac9c862
Reduce fixed height
2021-04-21 14:32:52 +10:00
Franck Royer
7921aa5427
Makes lines a functional component
2021-04-21 14:32:52 +10:00
Franck Royer
50a2c3777b
Improved the look
2021-04-21 14:32:52 +10:00