mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Client side of CARDS_LOADING=lazy. In lazy mode each list's cardsWithLimit subscribes to boardCardsWindow for just the cards it renders (growing with the infinite-scroll limit) and to boardListCardCount for the total; showSpinner uses that server count to decide whether more cards remain, since minimongo now holds only the loaded window. Default 'all' mode is unchanged (helpers short-circuit on isLazyCards()). Adds Admin Panel / Features — a new admin section (route /admin-features, nav entry, adminFeatures template) intended as the home for optional / performance / future tier-gated capabilities. First control: "Card loading" (all | lazy), which writes the cardsLoading Setting; it mirrors, and is overridden on startup by, the CARDS_LOADING env var. Includes an experimental-note (counters/WIP limits and the Calendar/Table/Gantt views reflect only loaded cards; reload boards after change) and the i18n keys.