mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-09 00:15:23 -04:00
This introduces the `TimelineFocus`, a new enum to declare if the timeline is "live" aka looking at events from sync and displaying them as they come in, or focused on an event (e.g. after clicking a permalink). When in the second mode, the timeline can paginate forwards and backwards, without interacting with the event cache (as this would require some complicated reconciliation of known events with events received from pagination, with no guarantee that those events are event connected in whatever way). An event-focused timeline will also show edits/reactions/redactions in real-time (as the events are received from the sync), but will not show new timeline items, be they for local echoes or events received from the sync.
Experiments
This directory contains experiments, work-in-progress crates, or other code and documentation, that
do not fall under the same stability guarantees as the main crates (matrix-sdk,
matrix-sdk-crypto, etc.).
Lab projects might be abandoned and possibly removed at any time.
That said, this directory is meant to freely explore unconventional or interesting ways the Matrix Rust SDK can evolve, feel free to propose an experiment.
Current experiments
- multiverse: a TUI client mostly for quick development iteration of SDK features and debugging.
Run with
cargo run --bin multiverse matrix.org ~/.cache/multiverse-cache.
Archived experiments
Link to PR that deleted the experiment from the repo, newest first: