17 Commits

Author SHA1 Message Date
e7f3eeb331 poll_updates still needs to return when there are changes in order to update the UI 2024-02-11 09:02:40 +01:00
13965a7e67 Add '> ' prefix before each line of a blockquote, even after line-wrapping 2023-11-26 21:05:44 +01:00
30b1e4282a buflist: Use different color when only non-messages are unread
Some checks failed
CI / lint (push) Failing after 2m30s
CI / Build and test (, 1.73.0) (push) Successful in 5m1s
CI / Build and test (, beta) (push) Successful in 6m8s
CI / Build and test (, nightly) (push) Successful in 5m24s
2023-11-19 18:24:26 +01:00
b60834ebb3 buflist: Show rooms with unread events in red
All checks were successful
CI / lint (push) Successful in 2m27s
CI / Build and test (, 1.73.0) (push) Successful in 5m15s
CI / Build and test (, beta) (push) Successful in 6m22s
CI / Build and test (, nightly) (push) Successful in 5m33s
2023-11-19 17:12:55 +01:00
8d6a076b59 Color rooms in the buflist based on notifications/highlights
All checks were successful
CI / lint (push) Successful in 2m24s
CI / Build and test (, 1.73.0) (push) Successful in 4m57s
CI / Build and test (, beta) (push) Successful in 6m2s
CI / Build and test (, nightly) (push) Successful in 5m22s
2023-11-19 11:21:32 +01:00
dd404147ab Preserve current position when new items are added to a buffer
All checks were successful
CI / lint (push) Successful in 5m3s
CI / Build and test (, 1.73.0) (push) Successful in 9m34s
CI / Build and test (, beta) (push) Successful in 9m34s
CI / Build and test (, nightly) (push) Successful in 8m46s
2023-11-17 14:34:16 +01:00
29d69a2bc0 Fetch backlog more eagerly
By fetching it when the user gets close to the end of the backlog (rather than
waiting for them to actually see the end)
2023-11-11 10:59:19 +01:00
4d0600d269 Move rooms which declare a space next to their space 2023-11-10 20:48:18 +01:00
55e814e955 Add /memuse command 2023-11-06 20:37:24 +01:00
1a34a4ce5e Properly format day delimiter 2023-11-05 17:11:32 +01:00
2145aff76f Keep a bit more logs 2023-11-05 10:01:26 +01:00
1199dd7613 Cache the result of rendering backlog items
It's so much faster when getting lots of updates, especially with the
'Added client for' log storm at startup.
2023-11-04 22:16:33 +01:00
46b703ba45 Make buffers return their items lazily from the end instead of materializing them 2023-11-04 20:14:51 +01:00
6f8c3a19b2 Trigger re-render when pushing to the log 2023-11-04 17:19:58 +01:00
fe676cacda Make buffers fill from the bottom, and render each paragraph individually
The goal of rendering paragraph individually is to eventually avoid
redrawing everything every time there is a change
2023-11-02 21:45:40 +01:00
1c13d2c784 Make the log buffer show logs 2023-11-01 18:57:25 +01:00
b81906c318 Add active buffer 2023-11-01 14:33:20 +01:00