mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
This commit refactors how user status is tracked in the `poster-name` component. The previous implementation used lifecycle hooks and a custom refresh method to start and stop tracking the user's status. The new approach leverages the `helperFn` pattern to directly manage tracking based on the component's lifecycle and its user argument. This change improves reliability and code clarity, ensuring user status is tracked and cleaned up appropriately without manual refresh logic.