discourse/app
David Taylor 9b41700f87
DEV: Use component class instead of string in user-menu API (#20806)
In the future we'll be looking at things like tree-shaking and code-splitting. Using 'magic strings' to resolve components is not compatible with those techniques. It makes sense to switch to a more modern pattern now, before the new user-tab API is used too widely.

This commit is backwards-compatible. API consumers which pass a string will see a deprecation message asking them to pass a component class instead.

This commit also turns some unneeded getters into simple class properties (no need to use a getter when it just returns a constant).
2023-03-24 14:26:30 +00:00
..
assets DEV: Use component class instead of string in user-menu API (#20806) 2023-03-24 14:26:30 +00:00
controllers SECURITY: Limit URL length for theme remote (#20787) 2023-03-23 12:01:04 +00:00
helpers DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
jobs FEATURE: Move bootstrap mode indicator to header (#20663) 2023-03-24 15:59:03 +02:00
mailers DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
models DEV: More specific API to including extra associations in CategoryList (#20790) 2023-03-23 12:39:38 -05:00
serializers FIX: my links in sidebar section (#20754) 2023-03-21 15:58:42 +11:00
services FIX: Do not allow anonymous users to be anonymized (#20776) 2023-03-22 20:51:42 +02:00
views SECURITY: Show only visible tags in metadata 2023-02-23 17:22:20 +01:00