feat(ui): use infinite scrolling on all sections (no need anymore to to click on "load more")

This commit is contained in:
Edouard Vanbelle
2026-06-02 12:34:34 +02:00
parent 9fac34f91e
commit cdd62c29b5
7 changed files with 78 additions and 0 deletions
@@ -27,6 +27,7 @@ import * as itemTooltip from '../../features/itemTooltip.js';
import { favorites } from '../../features/library/favorites.js';
import { fetchFavoritesPage } from '../../model/favoritesModel.js';
import { systemUsers } from '../../model/systemUsers.js';
import { attachInfiniteScroll } from '../../utils/infiniteScroll.js';
/** @import {FavoritesResourceItem, FileItem, FolderItem, ResourceTypeEnum} from '../../core/types.js' */
@@ -429,6 +430,8 @@ const favoritesView = {
wrapper.appendChild(btn);
filesContainer.after(wrapper);
attachInfiniteScroll(wrapper, () => this._loadPage());
},
/**