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. |
||
---|---|---|
.github/workflows | ||
assets | ||
config | ||
db/migrate | ||
spec | ||
test/javascripts/acceptance | ||
.discourse-compatibility | ||
.gitignore | ||
.npmrc | ||
.prettierrc.cjs | ||
.rubocop.yml | ||
.streerc | ||
.template-lintrc.cjs | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
eslint.config.mjs | ||
package.json | ||
plugin.rb | ||
pnpm-lock.yaml | ||
stylelint.config.mjs | ||
translator.yml |
README.md
Discourse Who's Online Plugin
A Discourse plugin which displays a list of users currently active on the site:
Ensure README images are pointing to discourse/gh-owned repositories
The plugin uses the MessageBus to keep up-to-date, using messages from a Sidekiq job run every 1 minute on the server.
For more information, please see: https://meta.discourse.org/t/whos-online-plugin/52345