reduce default number of entries in post/media sidebar to 200 and add auto-loading #36

Closed
opened 2026-07-19 16:43:09 +00:00 by hugo · 1 comment
Owner

the sidebars for posts and media should only load 200 entries but when scrolling down, it should load more entries in the background when we come close to the end of the sidebar if there are more entries. There is already a "load more" that is manual, it should just be automatic.

the sidebars for posts and media should only load 200 entries but when scrolling down, it should load more entries in the background when we come close to the end of the sidebar if there are more entries. There is already a "load more" that is manual, it should just be automatic.
hugo added the enhancement label 2026-07-19 16:43:09 +00:00
Author
Owner

Implemented in df71f1d. Post, page, and media sidebars now fetch 200 items initially and automatically request the next 200-item batch at 90% scroll depth. Append requests are single-flight to prevent duplicate offsets; the manual Load More controls and unused translations were removed. Updated README and sidebar Allium contract. Verified with allium check/analyse, targeted sidebar tests, cargo build --workspace, and a complete cargo test --workspace run.

Implemented in df71f1d. Post, page, and media sidebars now fetch 200 items initially and automatically request the next 200-item batch at 90% scroll depth. Append requests are single-flight to prevent duplicate offsets; the manual Load More controls and unused translations were removed. Updated README and sidebar Allium contract. Verified with allium check/analyse, targeted sidebar tests, cargo build --workspace, and a complete cargo test --workspace run.
hugo closed this issue 2026-07-20 11:22:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hugo/RuDS#36