discourse/config
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
..
environments DEV: Recover @timestamp in unicorn logs when logstash logger is enabled (#28008) 2024-07-22 15:21:41 +08:00
initializers DEV: Log number of live slots used by requests (#29884) 2024-11-28 18:25:48 +02:00
locales DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
application.rb DEV: Delete symlink when DiscourseFont path changes (#30294) 2024-12-17 13:57:03 +10:00
boot.rb PERF: Stop running bootsnap in development mode on all environments (#25737) 2024-02-19 11:33:52 +08:00
cdn.yml.sample
database.yml DEV: Increase pool connections to 2 in test environment 2024-11-28 12:23:25 +01:00
deploy.rb.sample
dev_defaults.yml
discourse.config.sample
discourse.pill.sample
discourse_defaults.conf DEV: Upgrade Rails to version 7.2 2024-11-27 10:48:47 +01:00
environment.rb
logrotate.conf
multisite.yml.production-sample
nginx.sample.conf SECURITY: Scrub headers to prevent access to files via nginx 2024-12-19 13:13:20 -03:00
projections.json
puma.rb
routes.rb DEV: Add categories_and_hot Route (#29948) 2024-11-27 11:11:33 -06:00
sidekiq.yml
site_settings.yml FEATURE: settings tab for permalinks (#30192) 2024-12-19 10:40:34 +11:00
spring.rb
thin.yml.sample
unicorn.conf.rb DEV: Fix undefined method `check_email_sync_heartbeat` in unicorn conf (#30360) 2024-12-19 10:10:11 +08:00
unicorn_launcher
unicorn_upstart.conf