Commit graph

62 commits

Author SHA1 Message Date
Simon Ser
9692f97c11
Set default connect params in App constructor
Fixes default params not populated in Connect component.
2020-06-24 18:14:46 +02:00
Simon Ser
34baafc77f
Fix TypeError when auto-filling server URL 2020-06-24 17:52:24 +02:00
Simon Ser
80fee31f2c
Fix unread indicator not showing up 2020-06-24 17:46:43 +02:00
Simon Ser
9223953e3a
Store message date in addMessage 2020-06-24 17:16:49 +02:00
Simon Ser
cbe76ab824
Mark buffers as unread on new message 2020-06-24 16:56:57 +02:00
Simon Ser
9ff1f164e0
Make setBufferState merge the new state with the prev one 2020-06-24 16:02:56 +02:00
Simon Ser
250d1c2ea7
Remove disconnect() 2020-06-24 15:57:21 +02:00
Simon Ser
c1c9aa261e
Implement /close 2020-06-24 15:56:30 +02:00
Simon Ser
df0981e8e0
Add isChannel 2020-06-24 15:52:33 +02:00
Simon Ser
f5106f1357
Fix missing channel name in setBufferState call 2020-06-24 15:45:55 +02:00
Simon Ser
61b0425128
Reset buffers on disconnect 2020-06-24 15:27:29 +02:00
Simon Ser
b449ace4b4
Switch to react
Under the hood, preact is used to reduce dependency size. We still don't
have a build stage, so htm is used instead of JSX.
2020-06-24 14:37:49 +02:00