Make scrolling up in chat panel smoother

This increases the threshold at which we start loading new messages
as well as the amount of messages we get back from the server every
time we fetch.

Also, we restructured the seed binary to use the methods in `Db` to
generate seed data and added random chat messages.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-09-02 16:05:34 +02:00
co-authored by Nathan Sobo
parent 6a071e865f
commit a27a17b8e2
7 changed files with 183 additions and 125 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
set -e
cd server
cargo run --bin seed
cargo run --features seed-dependencies --bin seed