Commit graph

583 commits

Author SHA1 Message Date
00c905eff5 Delete lots of stuff 2022-06-08 15:03:37 +02:00
742e7725ab Update dependencies and add toss 2022-05-29 12:53:02 +02:00
168acbf6dc Set nick and join room
While entering a nick and while present, events seem to get swallowed by
the room. I'll need to rethink my event handling strategy and key
bindings. For the key bindings, I'll either need global bindings that
don't interfere with text boxes, or I'll need modal editing or something
similar where pressing ESC enough brings you back to the global focus.
Global key bindings are things like switching rooms and quitting.
2022-03-05 23:34:16 +01:00
32959cf691 Render basic body contents 2022-03-05 23:03:07 +01:00
35bfc8d285 Move render method up 2022-03-05 21:47:28 +01:00
4d204109f1 Remove unnecessary async-iness 2022-03-05 21:42:45 +01:00
b18b71f3d6 Prepare cove event handling 2022-03-05 21:35:55 +01:00
441b9ac79e Rename parts of main pane 2022-03-05 20:50:33 +01:00
5680eb3ab2 Rename backend to client and simplify event handling 2022-03-05 19:44:03 +01:00
2400651483 Fix room switching panic 2022-03-05 17:53:45 +01:00
7ba8134eb0 Start rendering room again 2022-03-05 17:53:37 +01:00
478cb20555 Solve some warnings 2022-03-05 17:16:25 +01:00
80a6582ce5 Create backend module for more separation 2022-03-05 17:07:04 +01:00
c36f35747f Reimplement room interactions for new rooms 2022-03-05 16:36:20 +01:00
e81900caac Restructure and prepare for cove room UI 2022-03-05 15:43:40 +01:00
619e04c42a Move replies to core 2022-03-04 00:20:23 +01:00
10efaeb8d2 Get project to compile again 2022-03-04 00:16:39 +01:00
f85f5c40b4 Fix users UI not compiling 2022-03-03 01:34:06 +01:00
c618c492b2 Warn on clippy::use_self 2022-03-03 01:33:28 +01:00
f456d4f1ec Clean up files 2022-03-03 01:10:22 +01:00
5c6047c533 Use new CoveConn in CoveRoom 2022-03-03 01:06:48 +01:00
17d08438d1 Wrap state in Arc<Mutex<_>> instead of whole connection 2022-03-03 01:06:48 +01:00
dfb5ade023 Use external event sender 2022-03-03 01:06:48 +01:00
b6c58b8a2b Treat connecting differently 2022-03-03 01:06:48 +01:00
9451920c52 Make constructors error less 2022-03-03 01:06:48 +01:00
f08c251bd1 Handle connection identification 2022-03-02 22:50:43 +01:00
d5394476c6 Fix typo 2022-03-02 01:46:07 +01:00
ffb43c34ec Implement cove connection 2022-03-02 01:39:13 +01:00
d642e4851c Muck about with room 2022-03-01 22:24:17 +01:00
e5eefd8ada Start rewriting room 2022-02-28 22:45:01 +01:00
3cd027cd15 Fix server greeting 2022-02-27 15:20:07 +01:00
2f56ea804f Switch rooms and disconnect current room 2022-02-27 14:19:48 +01:00
f7a319f875 Rename "join room" to "switch room" 2022-02-27 11:26:07 +01:00
c06a598a86 Run cargo fmt 2022-02-27 11:21:46 +01:00
04d17179a0 Show current room state 2022-02-27 01:46:32 +01:00
f34bf63be4 Show users if room knows them
Also selects the current room in the rooms list
2022-02-27 00:16:39 +01:00
ccf6a59f39 Extract pane border rendering to main UI 2022-02-26 19:58:58 +01:00
3efca6a6d1 Prepare room rendering 2022-02-26 19:17:25 +01:00
1543940fbc Join rooms from "join room" overlay 2022-02-26 14:13:08 +01:00
1949b6f5e1 Clear area below "join room" overlay 2022-02-26 13:35:48 +01:00
3c68debd32 Display cursor for "join room" overlay 2022-02-26 13:31:25 +01:00
3ac3bbb99e Add basic "join room" overlay 2022-02-26 13:11:51 +01:00
8d1b1951f4 Move textline to ui module 2022-02-25 23:00:08 +01:00
d0708bfee1 Change format of empty rooms list 2022-02-25 22:41:26 +01:00
e5910f45b4 Render list of rooms 2022-02-24 02:07:54 +01:00
2d31d3d4e2 Extract rooms widget and state 2022-02-23 22:32:52 +01:00
980f78f9a7 Handle events in batches 2022-02-23 18:39:55 +01:00
d68ec217a8 Resize rooms pane via dragging 2022-02-23 18:14:39 +01:00
a50ecaee68 Prepare ui structure 2022-02-23 17:53:26 +01:00
9c5f027898 Test rendering with fork 2022-02-22 02:19:26 +01:00