Skip to content

Conversation

@megothss
Copy link
Contributor

Replaced the use of deprecated Ember decorators like @readOnly and @computed with native getter methods to modernize the codebase. Updated the #channel property to utilize native class field syntax for improved clarity and maintainability.

This change prepares the plugin for future updates and aligns it with best practices in modern Ember.js development. Existing functionality remains unaffected.

Replaced the use of deprecated Ember decorators like `@readOnly` and
`@computed` with native getter methods to modernize the codebase. Updated
the `#channel` property to utilize native class field syntax for improved
clarity and maintainability.

This change prepares the plugin for future updates and aligns it with
best practices in modern Ember.js development. Existing functionality
remains unaffected.
Added compatibility entry for `< 3.6.0.beta2-latest` in the `whos-online`
plugin to reflect changes in supported Discourse versions. This ensures
accurate version checks and maintains plugin stability across updates.
@megothss megothss changed the title DEV: Refactor whos-online plugin to remove legacy Ember decorators DEV: Refactor plugin to remove deprecated Ember decorators Oct 14, 2025
@megothss megothss merged commit 3fe319b into main Oct 14, 2025
5 checks passed
@megothss megothss deleted the dev/glimmer-whos-online branch October 14, 2025 18:42
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