discourse/plugins/discourse-assign
Sérgio Saquetim 95a95a492b
DEV: Deprecate Site.mobileView/desktopView during initialization (#34122)
This commit introduces deprecation warnings for accessing Site.mobileView or
Site.desktopView during application initialization to prevent
layout-related errors and improve code reliability.

The changes include:

* Added deprecation warnings for Site.mobileView and Site.desktopView
access during the initialization phase.
* Updated multiple plugins and components to avoid these deprecated
calls during startup.
* Refactored initialization logic across discourse-ai, discourse-chat,
discourse-calendar, discourse-reactions, discourse-assign,
discourse-subscriptions, and discourse-user-notes plugins
* Improved error prevention by discouraging early access to
view-dependent properties before the application is fully initialized
* Enhanced code maintainability by establishing clearer boundaries
between initialization and runtime phases

This deprecation helps prevent subtle bugs that can occur when
components try to determine the view type before the application context
is properly established, leading to more robust plugin initialization
patterns.
2025-08-25 16:49:52 -03:00
..
app
assets DEV: Deprecate Site.mobileView/desktopView during initialization (#34122) 2025-08-25 16:49:52 -03:00
config Update translations (#34510) 2025-08-25 11:43:23 +02:00
db/migrate
lib
spec FEATURE: filter tips for assigned topics (#33992) 2025-08-13 16:35:33 +10:00
svg-icons
test/javascripts DEV: Clean up d-assign tests (#34183) 2025-08-08 22:17:46 +02:00
plugin.rb FEATURE: filter tips for assigned topics (#33992) 2025-08-13 16:35:33 +10:00
README.md

Assign Plugin

Allows you to assign topics and individual posts (both private and public) to a user or group.

For more information, please see: https://meta.discourse.org/t/discourse-assign/58044