mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 20:04:04 +08:00
This PR makes the following key changes to the load-more component: * Updating to a Glimmer component * Changing from an eyeline/scrolling-based mechanism to an IntersectionObserver to determine when to load * Keeping track of a single invisible sentinel element to help trigger the loadMore action instead of having to find and track the last item of the collection upon every load * The component can now be used without wrapping around some content to be yielded - the intent is to use this for cases like [DiscoveryTopicsList]( |
||
|---|---|---|
| .. | ||
| about.gjs | ||
| api-keys-list.gjs | ||
| api-keys-new.gjs | ||
| api-keys-show.gjs | ||
| color-palette.gjs | ||
| components.gjs | ||
| emojis-list.gjs | ||
| emojis-new.gjs | ||
| flags.gjs | ||
| themes.gjs | ||
| user-fields-list.gjs | ||
| webhooks-form.gjs | ||
| webhooks-list.gjs | ||