A proposed improvement for the /admin/reports/xxx page involves enhancing category filtering. joffreyjaffeux suggests two main tasks: ensuring all reports that can be filtered by category have this feature, including tests in report_spec.rb, and making a distinction between parent and child categories, where selecting a parent category includes its children.
@misaka4e21 summarizes the tasks and begins implementing the changes, which include adding category filtering and tests to various reports, such as report_top_referred_topics and report_topics_with_no_response. joffreyjaffeux clarifies the importance of including subcategories in parent categories. sam notes that many reports are missing the category dropdown, which needs to be fixed.
@misaka4e21 shares the progress, including a GitHub pull request and a comparison of the changes. The implemented changes include category filtering for various reports, tests for category filtering and subcategory topics, and tests for specific reports like report_posts and report_topics_with_no_response.
I would like to improve the /admin/reports/xxx page category filtering . This improvement would require two tasks:
Check every report for category filtering: should make sure that each report in report.rb which could potentially be filtered on category have it, that report_spec.rb tests it and than the category filter is correctly shown on the page.
It should make the difference between parent and child category. If you select parent category it should always include children.
@misaka4e21 would you be interested to work on this? I can offer any assistance and review you need on this.
We need to make sure sub categories are included in parent categories, eg:
First one is filtered on: Support->wordpress and we see there are 2 flags 24th march 2018 but second screen is Filtering only on Support and we don’t see these 2 flags on 24th march 2018: