discourse/app/assets/javascripts
Keegan George d886c55f63
DEV: Reusable post-list component (#30312)
This update adds a  _new_ `<PostList />` component, along with it's child components (`<PostListItem/>` and `<PostListItemDetails />`). This new generic component can be used to show a list of posts.

It can be used like so:
```js
/**
 * A component that renders a list of posts
 *
 * @component PostList
 *
 * @args {Array<Object>} posts - The array of post objects to display
 * @args {Function} fetchMorePosts - A function that fetches more posts. Must return a Promise that resolves to an array of new posts.
 * @args {String} emptyText (optional) - Custom text to display when there are no posts
 * @args {String|Array} additionalItemClasses (optional) - Additional classes to add to each post list item
 * @args {String} titleAriaLabel (optional) - Custom Aria label for the post title
 * 
*/
```
```hbs
<PostList
    @posts={{this.posts}}
    @fetchMorePosts={{this.loadMorePosts}}
    @emptyText={{i18n "custom_identifier.empty"}}
    @additionalItemClasses="custom-class"
 />
```
2024-12-19 09:20:25 -08:00
..
admin SECURITY: Moderators cannot see user emails. 2024-12-19 13:13:18 -03:00
custom-proxy Build(deps-dev): Bump express from 4.21.1 to 4.21.2 (#30167) 2024-12-08 23:35:23 +01:00
deprecation-silencer
dialog-holder Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
discourse-common DEV: Switch the glimmer post menu to auto and unsilence deprecations (#30161) 2024-12-12 18:27:02 -03:00
discourse-hbr DEV: Detect hbr topic list customizations (#29793) 2024-11-21 16:00:49 +01:00
discourse-i18n DEV: Fixup verbose localization method name (#30208) 2024-12-10 17:30:36 +00:00
discourse-markdown-it FIX: properly quote videos (#30099) 2024-12-04 12:39:38 +01:00
discourse-plugins Build(deps-dev): Bump webpack from 5.97.0 to 5.97.1 (#30138) 2024-12-05 23:52:02 +01:00
discourse-widget-hbs DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
docs
ember-addons
ember-cli-progress-ci
float-kit DEV: correctly applies identifier do DModal used in DMenu (#30370) 2024-12-19 12:05:39 +01:00
locales
pretty-text DEV: Upgrade dependencies to Ember 5.12 (#30131) 2024-12-11 11:09:25 -03:00
select-kit DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
theme-transpiler DEV: Update content-tag to 3.1.0 (#30339) 2024-12-18 12:59:27 +01:00
truth-helpers
.npmrc
handlebars-shim.js
polyfills.js DEV: Bump eslint, lint-configs, and move to flat config (#29661) 2024-11-12 12:33:17 +00:00
service-worker.js.erb