Compare commits
No commits in common. "d59f48aa1d56b12aac6554e1133914a7b6e30028" and "af994da294d84e5e3a913e277ec2972d7c3ed2f5" have entirely different histories.
d59f48aa1d
...
af994da294
8 changed files with 7 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
[workspace]
|
||||
members = ["apb", "web", "utils/mdhtml", "utils/uriproxy"]
|
||||
members = ["apb", "web", "mdhtml", "uriproxy"]
|
||||
|
||||
[package]
|
||||
name = "upub"
|
||||
|
@ -28,8 +28,8 @@ serde_json = "1"
|
|||
serde_default = "0.1"
|
||||
serde-inline-default = "0.2"
|
||||
toml = "0.8"
|
||||
mdhtml = { path = "utils/mdhtml", features = ["markdown"] }
|
||||
uriproxy = { path = "utils/uriproxy" }
|
||||
mdhtml = { path = "mdhtml", features = ["markdown"] }
|
||||
uriproxy = { path = "uriproxy" }
|
||||
jrd = "0.1"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
|
|
|
@ -120,7 +120,7 @@ pub use types::{
|
|||
},
|
||||
document::{Document, DocumentMut, DocumentType},
|
||||
place::{Place, PlaceMut},
|
||||
profile::Profile,
|
||||
// profile::Profile,
|
||||
relationship::{Relationship, RelationshipMut},
|
||||
tombstone::{Tombstone, TombstoneMut},
|
||||
},
|
||||
|
|
|
@ -28,11 +28,11 @@ leptos_router = { version = "0.6", features = ["csr"] }
|
|||
leptos-use = { version = "0.10", features = ["serde"] }
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
apb = { path = "../apb", features = ["unstructured", "activitypub-fe", "activitypub-counters", "litepub"] }
|
||||
uriproxy = { path = "../utils/uriproxy/" }
|
||||
uriproxy = { path = "../uriproxy/" }
|
||||
futures = "0.3.30"
|
||||
lazy_static = "1.4"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
web-sys = { version = "0.3", features = ["Screen"] }
|
||||
mdhtml = { path = "../utils/mdhtml/" }
|
||||
mdhtml = { path = "../mdhtml/" }
|
||||
jrd = "0.1"
|
||||
tld = "2.35"
|
||||
|
|
|
@ -151,7 +151,7 @@ pub fn TimelineFeed(tl: Timeline) -> impl IntoView {
|
|||
move || (scroll_debounced.get(), height.get()),
|
||||
move |(s, h)| async move {
|
||||
if !config.get().infinite_scroll { return }
|
||||
if !tl.loading.get() && h - s < view_height {
|
||||
if s > 0.0 && h - s < view_height && !tl.loading.get() {
|
||||
if let Err(e) = tl.more(auth).await {
|
||||
tracing::error!("auto load failed: {e}");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue