This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Krzysztof Kotlarek ae108b363f
FIX: Hide muted subcategories (#8239)
That bug was mentioned in [meta](https://meta.discourse.org/t/muting-categories-hides-them-muting-subcategories-should-too/131316)

Problem is that subcategories are always visible in `/categories` path even if muted.

Categories/subcategories are loaded in at least two places
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/models/site.js.es6#L146
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/discovery-categories.js.es6#L46

I discussed that with @jjaffeux and we thought that maybe it would be a good idea to filter that on frontend level
2019-10-25 10:08:13 +11:00
..
adapters FEATURE: Adds a pop up that shows a more detailed score for reviewables (#8035) 2019-09-04 09:56:25 -06:00
components FEATURE: wiki editors are allowed edit tags for wiki topics. 2019-10-23 23:50:10 +05:30
controllers Add event for when a post is flagged 2019-10-24 16:48:18 -04:00
helpers FIX: Correctly escape category description text (#8107) 2019-10-01 12:04:39 -04:00
initializers FEATURE: Use full page redirection for all external auth methods (#8092) 2019-10-08 12:10:43 +01:00
lib FEATURE: Add remembering topic list for group pms (#8235) 2019-10-24 09:27:03 -05:00
mixins FIX: various fixes to draft system 2019-10-21 17:24:06 +11:00
models FIX: Hide muted subcategories (#8239) 2019-10-25 10:08:13 +11:00
pre-initializers REFACTOR: Move app-events:main to service:app-events (#8152) 2019-10-04 10:06:08 -04:00
raw-views DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
routes FIX: failing build with prettier (#8241) 2019-10-24 10:16:12 -05:00
services REFACTOR: Move app-events:main to service:app-events (#8152) 2019-10-04 10:06:08 -04:00
templates FIX: Hide muted subcategories (#8239) 2019-10-25 10:08:13 +11:00
widgets FIX: Show poll voters in Oneboxed posts. (#7768) 2019-10-24 14:00:25 +03:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00