Skip to content

Conversation

@megothss
Copy link
Contributor

@megothss megothss commented Jul 4, 2025

This PR refactors the post customization logic to improve compatibility with the Glimmer Post Stream. Key changes include:

  • Introduced a customizePost function to streamline post avatar customization.
  • Added withSilencedDeprecations to safely handle deprecated functionality.
  • Moved widget-specific customization logic into a new customizeWidgetPost function for better modularity.

These updates enhance maintainability and ensure compatibility with newer Discourse post rendering mechanisms.

- Introduced `customizePost` function to streamline post-avatar customization.
- Added `withSilencedDeprecations` to handle deprecated functionality safely.
- Separated widget customization logic into `customizeWidgetPost` for better modularity.
…ugin

Added compatibility entry for `< 3.5.0.beta8-dev` version.
@megothss megothss merged commit 232ac13 into main Jul 8, 2025
5 checks passed
@megothss megothss deleted the dev/glimmer-post-stream branch July 8, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants