From 121038dc9664b15ff9a267bf1ef434d5266ac961 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 24 Aug 2026 17:34:59 +0300 Subject: [PATCH] split loading between older and newer, add newer loading indicator --- src/components/timeline/timeline.js | 2 +- src/components/timeline/timeline.vue | 12 +++++++++++- src/stores/fetchers/timeline_fetcher.js | 18 ++++++++++++++---- 3 files changed, 26 insertions(+), 6 deletions(-) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index ee18b0c4d..33ee9a21d 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -238,7 +238,7 @@ const Timeline = { const bodyBRect = document.body.getBoundingClientRect() const height = Math.max(bodyBRect.height, -bodyBRect.y) if ( - !this.timeline.fetcher.loading.value && + !this.timeline.fetcher.loadingOlder.value && this.$el.offsetHeight > 0 && window.innerHeight + window.pageYOffset >= height - 750 ) { diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue index faf184504..7e3eefce2 100644 --- a/src/components/timeline/timeline.vue +++ b/src/components/timeline/timeline.vue @@ -8,6 +8,16 @@ v-if="!embedded" :timeline-name="timelineRef.name" /> +
+ +