discourse/app
Martin Brennan 6aee048783
FIX: Add @enabled arg to <LoadMore /> component (#33122)
This commit adds an @enabled boolean to `<LoadMore />` to allow for
cases where the element is visible in the viewport but you don't want to
allow the `loadMore` behaviour. A use case for this is when our
controllers return some `canLoadMore` boolean. There is no use
attempting to load more from the server in this case, there will be
nothing else.

I also moved the CSS styles for the `<LoadMore />` component into
a new file.

This also fixes a bug in the users list shown here
https://meta.discourse.org/t/users-list-only-partial/368793
2025-06-12 15:50:24 +10:00
..
assets FIX: Add @enabled arg to <LoadMore /> component (#33122) 2025-06-12 15:50:24 +10:00
controllers FEATURE: Add post language on creating a new post (#33160) 2025-06-11 10:39:01 -07:00
helpers DEV: Switch to type="module" for translation files (#33126) 2025-06-09 13:13:42 +01:00
jobs DEV: Remove UploadFixer and uploads:fix_all_extensions rake task (#33004) 2025-05-30 14:11:55 +08:00
mailers DEV: Added the ability to use users' names in group mention notifications and mentions shown in emails (#33055) 2025-06-03 15:49:55 -05:00
models FEATURE: Add post language on creating a new post (#33160) 2025-06-11 10:39:01 -07:00
queries/reports DEV: Refactor reports index into service (#31667) 2025-03-11 14:36:06 +10:00
serializers FEATURE: Add post language on creating a new post (#33160) 2025-06-11 10:39:01 -07:00
services FEATURE: Theme-owned color palettes (#32795) 2025-06-04 07:47:58 +03:00
views DEV: Switch to type="module" for translation files (#33126) 2025-06-09 13:13:42 +01:00