03766802fd
Migrate auth popup to AsyncWidget
2023-04-17 09:39:01 +02:00
e358e2184e
Migrate nick popup to AsyncWidget
2023-04-17 09:39:01 +02:00
c7cbd9856b
Migrate nick list to AsyncWidget
2023-04-17 09:39:00 +02:00
d8d3e64776
Migrate room to AsyncWidget
2023-04-17 09:39:00 +02:00
ead4fa7c8a
Migrate rooms list to AsyncWidget
2023-04-17 09:39:00 +02:00
adc70ad233
Migrate key bindings list widget to AsyncWidget
2023-04-17 09:39:00 +02:00
8de5bf87af
Add util2 module for new widgets
2023-04-17 09:39:00 +02:00
267ef2bee9
Add List AsyncWidget
2023-04-17 09:39:00 +02:00
07960142e0
Add Popup AsyncWidget
2023-04-17 09:39:00 +02:00
3f7ed63064
Add AsyncWidgetWrapper and WidgetWrapper
2023-04-17 09:39:00 +02:00
ff9a16d8a3
Make Widget::size like toss::AsyncWidget::size
2023-04-17 09:39:00 +02:00
059ff94aef
Update toss
2023-04-17 09:39:00 +02:00
923e68c0b5
Always show rooms from config in rooms list
2023-04-10 12:25:17 +02:00
4e2b597f1e
Fix waiting rooms being sorted to bottom
2023-03-17 18:27:21 +01:00
0612d235d7
Recognize links without scheme
2023-03-07 14:25:09 +01:00
da3d84c9d8
Fix connecting to rooms as bot instead of human
2023-03-04 22:00:37 +01:00
65fa1b8afd
Update euphoxide
...
This fixes authentication for rooms requiring passwords
2023-02-26 21:21:26 +01:00
293112777a
Fix bugged room state from lingering connection
...
When disconnecting from a room whose instance is "waiting" and then
reconnecting, the old instance would not be stopped immediately.
Instead, it would continue to run until it managed to reconnect, sending
status updates to the main event bus in the process.
These events led to the euph::Room entering a state where it was
connected but no last_msg_id was set. This meant that no new messages
could be entered into the vault, including messages sent by the user.
The result was UI weirdness when sending a message.
As a fix, euphoxide instances are now identified via an u32 id. This id
is unique across all rooms. Packets by unknown ids are rejected and have
no effect on room states.
2023-02-23 14:41:10 +01:00
fb164eeaa9
Add todos
2023-02-23 14:41:10 +01:00
7e9e441c1e
Use Garmelon/vault
2023-02-23 14:41:10 +01:00
35a140e21f
Make MsgStore fallible
2023-02-23 14:41:10 +01:00
b6d69ce0b5
Fix sort order for rooms waiting to reconnect
2023-01-24 18:23:06 +01:00
8dd5db5888
Switch euph::Room to use euphoxide's Instance
2023-01-23 22:49:34 +01:00
23352e7027
Rename "status" to "state" in most places
...
This follows the name change of euphoxide, which renamed its connection
Status to State.
2023-01-20 21:45:30 +01:00
16011a267d
Display colon-delimited emoji in nicks
2023-01-20 20:19:03 +01:00
9324517c56
Update euphoxide
2023-01-20 19:33:52 +01:00
f61c03cf0a
Remove redundant vault
2023-01-14 17:46:05 +01:00
acb03b1f09
Open room present link with p
2023-01-14 17:45:46 +01:00
20186bda5c
Satisfy clippy
2023-01-05 14:21:50 +01:00
5acf49d018
Simplify lints
2022-12-11 20:36:41 +01:00
1ee82eaed0
Use esc to leave nick list focus
2022-09-26 21:24:58 +02:00
7dfa8c6048
Make initial rooms sort order configurable
2022-09-26 20:34:45 +02:00
61a9cc10f1
Update toss to version with separate widthdb
2022-09-26 17:36:49 +02:00
5ed0cd5f3f
Update euphoxide to version with partial sessions
2022-09-26 16:56:38 +02:00
374c4c4f79
Update euphoxide to version with id newtype wrappers
2022-09-26 10:20:47 +02:00
2d88513a28
Add message inspection popup
2022-09-25 23:18:18 +02:00
bbf6371f87
Reorganize key bindings list a bit
2022-09-25 22:50:45 +02:00
5d1252faae
Fix nick list cursor rendering
2022-09-25 22:39:33 +02:00
f109fd0d9b
Move cursor in nick list
2022-09-25 22:35:05 +02:00
c16ad024ed
Extract list key bindings to util
...
Also refactors the Rooms event handling code a bit
2022-09-25 22:34:41 +02:00
30276fcbbf
Display nick list cursor
2022-09-25 22:22:01 +02:00
75e3a08b58
Display chat cursor only when chat has focus
2022-09-25 22:22:01 +02:00
9c9d9a51bb
Switch focus using tab
...
Also refactored some key event handling code in the process.
2022-09-25 22:22:01 +02:00
8703a62887
Track focus in room
2022-09-25 20:03:03 +02:00
147c3eaf92
Clean up use of Size
2022-09-25 20:02:38 +02:00
d5c0c94883
Remove and add todos
2022-09-25 20:02:36 +02:00
4dde87d805
Fix list cursor when item moves off-screen
...
When a list scrolls or changes in such a way that the cursor item moves
off-screen, the cursor would jump to the closest visible item.
It makes more sense for the cursor to remain on its selected item and
for the list to scroll instead. That way, it is less likely for the user
to perform an action on the wrong list item if they press a key while
the list is changing.
2022-09-25 19:35:58 +02:00
9aac9f6fdd
Add error popup when external editor fails
2022-09-25 18:57:59 +02:00
4c7ac31699
Fix inspect message only working when connected
2022-09-16 00:47:20 +02:00
bc54184b13
Simplify function call
2022-09-10 01:03:02 +02:00