discourse/app
David Taylor a0e45a1e0c
DEV: Replace filter-mode mixin with lib functions (#22986)
The filter-mode mixin was previously serving two distinct purposes via a complex arrangement of getters/setters:

1. To calculate a filterMode, given values for category, filterType and noSubcategories

2. To calculate a filterType, given a filterMode

This commit splits the mixin into two functions, and updates all call sites to use them instead of the mixin.
2023-08-07 15:11:54 +01:00
..
assets DEV: Replace filter-mode mixin with lib functions (#22986) 2023-08-07 15:11:54 +01:00
controllers DEV: Switch over category settings to new table - Part 2 (#20580) 2023-08-04 10:53:22 +08:00
helpers DEV: Correctly strip sourcemap URL from splash-screen js (#22879) 2023-07-31 16:49:27 +01:00
jobs FIX: Missing pending queued posts from topic view (#22838) 2023-07-28 16:16:23 +00:00
mailers FIX: Order tags shown in email subject by topics count and name (#22586) 2023-07-13 15:39:58 +08:00
models DEV: In development, refresh client when theme changes are made (#22978) 2023-08-04 11:02:26 +01:00
serializers DEV: Remove unread_private_messages and deprecation (#22893) 2023-08-01 14:44:39 +10:00
services DEV: Add :push_notification event and deprecate :post_notification_alert (#22917) 2023-08-02 18:44:19 -03:00
views PERF: Avoid calling the same translation twice when rendering lists view (#22976) 2023-08-04 13:38:41 +08:00