Skip to content

feat: add infinite scrolling for memos#4715

Merged
johnnyjoygh merged 6 commits into
usememos:mainfrom
liltrendi:feat/add-infinite-scrolling
May 25, 2025
Merged

feat: add infinite scrolling for memos#4715
johnnyjoygh merged 6 commits into
usememos:mainfrom
liltrendi:feat/add-infinite-scrolling

Conversation

@liltrendi

@liltrendi liltrendi commented May 22, 2025

Copy link
Copy Markdown
Contributor

Overview

For users with too many notes, it feels unintuitive to keep pressing the "Load More" button. This PR aims to ease navigation by allowing the user to opt in to infinite scrolling, whereby the next posts (if any) are fetched as soon as the user reaches the bottom of the screen.

References: #4683

Changes

  • Implemented infinite scrolling as default for memos in the home, archive, explore and profile pages
  • Added a dropdown under user preferences (in settings) for users to opt in or out of this feature (deprecated)
  • Persistence on the backend (deprecated)

Demo

MemosInfiniteScrollDemo.mp4

@liltrendi
liltrendi requested a review from boojack as a code owner May 22, 2025 23:57
Comment thread proto/api/v1/user_service.proto Outdated
@liltrendi
liltrendi requested a review from johnnyjoygh May 25, 2025 12:25
Comment thread web/src/components/PagedMemoList/PagedMemoList.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants