DEV: Customization enhancements for the Glimmer Post Stream #32063
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces various enhancements and refactoring to the Glimmer Post Stream codebase, focusing on the integration and usage of
PluginOutlet
components, improved handling of post attributes, and the introduction of new properties and methods. Key changes include:PluginOutlet
Integration:PluginOutlet
components across multiple files, such aspost.gjs
,post/avatar.gjs
, andpost-stream.js
, to allow plugins to extend the functionality of posts, avatars, and metadata more effectively.postOutletArgs
to pass structured arguments, enabling better customization and extensibility for plugins.post/avatar.gjs
for avatar-related customizations.Refactored Post Attributes:
includePostAttributes
method in favor ofaddTrackedPostProperties
for improved compatibility with the Glimmer Post Stream.isSmallAction
computed property to thePost
model to identify small actions or split topics.Improved Query Parameters:
topicPageQueryParams
to manage query parameters for topics more effectively, facilitating smoother updates and interactions in components that won't need to inject the topic controller or the router service to get these parameter values.