Some time ago, categories were displayed in the topic lists as a column. After discussing its usefulness, the dedicated column for categories seemed excessive and it was removed in favor of placing the category under the topic title. There is plenty to gain from this change (see the above linked topic for details), however, some have voiced that they prefer having the category column. This component is for those who may be struggling with the changes.
Hello,
There are some warnings/errors after update to 2.9.0.beta2.
Maybe it was before 2.9.0 as I never pay attention earlier.
[Warning] [THEME 17 'Add Category Column'] – "To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once." (application-02f34826699ddd1471a048c99dbf7e34.js, line 4135)
[Warning] [THEME 17 'Add Category Column'] – "Deprecation notice: The displayNewPosts property of the topic model is deprecated" (vendor-3037b934520b46fd8178e08db12bbeaa.js, line 4759, x30)
Thanks for the heads up @Dmitry_Krasnoperov and for the PR @Don! The PR has been merged. I fixed up a couple minor things with the component as well while I was looking at it.
This theme component was broken because it overwrote the topic-list-header and topic-list-item templates and it hadn’t been updated in a while. I did still show the extra column but bulk selection of topics didn’t work.
I’ve reworked it so it uses raw plugin outlets so it’s more future proof and easier to maintain.
@nolo mentioned that this component, if it had a column to sort by topic-timers, would also get me what I wanted: A sorted listing of when a bunch of topics where going to publish.
Thank you very much for your Theme component, but I encountered some display errors. When I return to the home page, the category column is no longer displayed. Moreover, when I load more pages, the category is no longer displayed. Watch my video: