discourse/spec/system/page_objects/pages
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
..
about.rb
activate_account.rb
admin_about_config_area.rb
admin_customize_themes.rb
admin_dashboard.rb
admin_flag_form.rb
admin_flags.rb
admin_new_features.rb UX: New experimental features should be marked clearly (#29622) 2024-11-06 15:26:30 -08:00
admin_objects_theme_setting_editor.rb
admin_permalink_form.rb UX: redesign admin permalinks page (#29634) 2024-11-14 10:03:58 +11:00
admin_permalinks.rb FEATURE: settings tab for permalinks (#30192) 2024-12-19 10:40:34 +11:00
admin_plugins_list.rb DEV: Introduce <DPageHeader /> and <DPageSubheader /> components (#30146) 2024-12-18 08:13:39 +10:00
admin_site_settings.rb DEV: Fix admin confirmation flaky spec (#29456) 2024-10-30 04:59:51 +10:00
admin_site_texts.rb FIX: correctly display category name in replace text modal (#29612) 2024-11-06 13:39:52 +11:00
admin_staff_action_logs.rb FIX: filterable staff logs for flags (#29695) 2024-11-12 11:23:18 +11:00
admin_user_fields.rb DEV: Introduce <DPageHeader /> and <DPageSubheader /> components (#30146) 2024-12-18 08:13:39 +10:00
admin_user.rb
admin_users.rb FIX: correct breadcrumb for admin users page (#30173) 2024-12-09 10:52:50 +11:00
admin_watched_words.rb
admin_web_hook_events.rb
base.rb
category.rb
csv_export_pm.rb
discovery.rb
form_template.rb
group_activity_posts.rb DEV: Reusable post-list component (#30312) 2024-12-19 09:20:25 -08:00
group.rb
header.rb
invite_form.rb
login.rb
review.rb
search.rb
signup.rb FIX: Discourse Connect fixes for full page login (#29915) 2024-11-25 18:06:14 -03:00
tag.rb
topic.rb DEV: replaces topic-notifications-options by DMenu (#30298) 2024-12-16 19:59:18 +01:00
user_activity_bookmarks.rb
user_invited_pending.rb UX: Simplify invite modal (#28974) 2024-10-21 13:11:43 +03:00
user_notifications.rb
user_preferences_account.rb
user_preferences_interface.rb
user_preferences_navigation_menu.rb
user_preferences_profile.rb
user_preferences_security.rb
user_preferences.rb
user_private_messages.rb
user_reset_password.rb
user.rb
wizard.rb