From 1f2eb0f7bcfefeecf23fc3a9b6cd2b7fc7ed56e4 Mon Sep 17 00:00:00 2001 From: aumetra Date: Sat, 7 Oct 2023 17:42:53 +0200 Subject: [PATCH] infinite scrolling --- .vscode/settings.json | 3 +- kitsune-fe/src/components/BaseTimeline.vue | 39 ++++++++++++++++++++-- kitsune-fe/src/components/NavBar.vue | 1 + kitsune-fe/src/components/Post.vue | 2 +- kitsune-fe/src/graphql/timeline.ts | 3 ++ kitsune-fe/src/graphql/types/gql.ts | 6 ++-- kitsune-fe/src/graphql/types/graphql.ts | 14 ++++++++ kitsune-fe/src/views/timeline/HomePage.vue | 14 -------- kitsune/src/http/graphql/query/timeline.rs | 5 ++- 9 files changed, 63 insertions(+), 24 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 1119812da..37caee8fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,5 @@ "rust-analyzer.cargo.buildScripts.enable": true, "editor.formatOnSave": true, "rust-analyzer.showUnlinkedFileNotification": false, - "rust-analyzer.cargo.features": ["oidc"], - "editor.defaultFormatter": "esbenp.prettier-vscode" + "rust-analyzer.cargo.features": ["oidc"] } diff --git a/kitsune-fe/src/components/BaseTimeline.vue b/kitsune-fe/src/components/BaseTimeline.vue index f7e971293..8526f61f8 100644 --- a/kitsune-fe/src/components/BaseTimeline.vue +++ b/kitsune-fe/src/components/BaseTimeline.vue @@ -1,7 +1,7 @@