addons
addons copied to clipboard
Remove code handling categories with an application
Once https://github.com/mozilla/addons/issues/4579 is live, addon API responses will always contain a flat list of categories and categories will no longer have an application property, so we'll be able to simplify the work done in https://github.com/mozilla/addons/issues/14685, removing the compatibility hacks with the old responses we still have (selectCategoryObject
- some conditions in the categories reducer)
┆Issue is synchronized with this Jira Task
Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDFRNT-237
This should be transparent to end-users: categories should be displayed correctly on /en-US/firefox/extensions/ and /en-US/firefox/themes/ pages, viewing the individual category pages (which leads to a filtered search) should still work, related categories should still be displayed on add-ons detail page.
Lgtm. Verified on AMO dev.