Commit graph

200 commits

Author SHA1 Message Date
669e52a2ee Add key binding to download more logs 2022-08-22 21:15:49 +02:00
f76c6a557d Remove key binding A as alias for a while joining room 2022-08-22 20:36:30 +02:00
3012de944b Fix hidden editor rendering 2022-08-22 20:22:25 +02:00
c618413728 Make popup titles left-aligned
In some cases when expanding popups with centered titles horizontally,
the title would jump right and left by one character. The new popups
also look more like the lazygit popups.
2022-08-22 20:07:26 +02:00
7b1259dee3 Redesign account ui 2022-08-22 20:03:47 +02:00
59a4294e35 Fix char filter when pasting into editor 2022-08-22 17:25:21 +02:00
8128342099 Implement account login and logout 2022-08-22 17:25:21 +02:00
84930c8c34 Add focus and hiding options to editor 2022-08-22 17:15:09 +02:00
d25873f3c6 Fix auth failure popup not showing up 2022-08-21 02:54:18 +02:00
10ea7d13fd Refactor room key binding code a bit 2022-08-21 02:42:29 +02:00
235fd9acc5 Move stability checks back into room 2022-08-21 02:38:45 +02:00
878467835e Extract auth dialog into module 2022-08-21 02:36:30 +02:00
9ad550f98c Extract nick dialog into module 2022-08-21 02:30:12 +02:00
4e0509b08e Extract nick list rendering into module 2022-08-21 02:14:29 +02:00
07fab96e12 Fix not being able to leave connected rooms 2022-08-21 01:42:03 +02:00
c661984d1c Hide password while authenticating 2022-08-21 01:41:52 +02:00
7b52add24e Add password authentication dialog 2022-08-21 01:19:07 +02:00
19d75a1d15 Add enum for room status
This way, it is far easier to understand what the different values mean
2022-08-21 00:35:17 +02:00
6c637390e4 Use popup widget builder 2022-08-20 23:17:48 +02:00
4094ba3e3d Add popup widget builder 2022-08-20 23:17:42 +02:00
df8a278854 Polish look of error popups 2022-08-20 21:22:33 +02:00
5d5f55107a Show error popups on some server errors 2022-08-20 21:22:33 +02:00
ab36df3c2b Add error popups to room UI 2022-08-20 21:05:24 +02:00
ded927b9f0 Overhaul UI event handling 2022-08-20 18:36:20 +02:00
ade06efa01 Fix pasting multi-line strings 2022-08-20 16:31:09 +02:00
fe381e1146 Make unrendered editors' behaviour a bit more sane
In practice, this doesn't really matter anyways.
2022-08-20 16:25:46 +02:00
037bed698c Make room list heading always visible 2022-08-19 23:26:49 +02:00
36b717ff8c Use euphoxide instead of euph module 2022-08-18 18:13:49 +02:00
6dc7d2bd0b Placate clippy 2022-08-17 23:06:49 +02:00
80dad00125 Fix crash when connecting to some types of room 2022-08-17 23:04:43 +02:00
19a477e423 Make cursor visible after exiting editor 2022-08-11 14:37:04 +02:00
f7e7003788 Handle paste events in editor
Only on non-windows platforms though, since crossterm doesn't support
pasting on windows.
2022-08-10 23:59:45 +02:00
5ad9f0f3e7 Include pastes in input events 2022-08-10 23:59:08 +02:00
fa91515a61 Move euph room ui to new euph module 2022-08-10 22:35:30 +02:00
f7e379fe3a Scroll with page up/down 2022-08-10 03:14:26 +02:00
5acb4c6396 Center cursor on screen 2022-08-09 15:51:47 +02:00
a4b79d4e81 Move cursor to prev/next sibling 2022-08-09 15:44:35 +02:00
c41ab742d3 Fix message count in folded info 2022-08-09 15:12:49 +02:00
87a14eedf2 Move cursor over folded subtrees 2022-08-09 15:07:37 +02:00
0ad3432141 Fold subtrees 2022-08-09 15:00:12 +02:00
26923745ad Show unseen message count in room status info 2022-08-09 01:18:20 +02:00
9314e29b0e Fix unseen message count not appearing initially
When launching cove, the euph_rooms hash map would be empty until
interacting with a room for the first time. This led to the unseen
message count only being displayed after interacting with a room. Now,
missing rooms are inserted into euph_rooms during stabilization.
2022-08-09 00:50:07 +02:00
888870b779 Show unseen message count in room list 2022-08-08 23:14:58 +02:00
bfc221106d Move to prev/next unseen message 2022-08-08 21:31:12 +02:00
cee91695e0 Mark older messages as seen instead 2022-08-08 21:31:12 +02:00
573f231466 Mark all messages as seen 2022-08-08 21:31:12 +02:00
43247e2a5c Mark all visible messages as seen 2022-08-08 21:31:12 +02:00
de569211f6 Display seen status of messages 2022-08-08 21:31:12 +02:00
6166c5e366 Toggle messages' seen status 2022-08-08 21:31:09 +02:00
a2b9f57a09 Fix room and nick dialog padding 2022-08-07 00:55:54 +02:00