? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
8 Jun 2018

As discussed on skype, moves the category instance creation code into a factory.

I'v also extended it with a new CategoryInterface class so we do not have to deal with the implementation class directly.

avatar laoneo laoneo - open - 8 Jun 2018
avatar laoneo laoneo - change - 8 Jun 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 8 Jun 2018
Category Administration com_content Front End Libraries
avatar laoneo laoneo - change - 8 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jul 2018
Category Administration com_content Front End Libraries Administration com_banners com_content Front End Libraries
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jul 2018
Category Administration com_content Front End Libraries com_banners Administration com_banners com_content com_fields Front End Libraries
avatar laoneo laoneo - change - 17 Jul 2018
The description was changed
avatar laoneo laoneo - edited - 17 Jul 2018
avatar laoneo
laoneo - comment - 23 Aug 2018

I need to get this one merged to finish the service conversion of com_contact, com_newsfeeds and com_categories.

avatar infograf768
infograf768 - comment - 24 Aug 2018

I have tested this item successfully on 582fa3e

This PR here does not break more than is already broken (specially when concerning multilang routing in frontend (info-block).


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/20693.

avatar infograf768 infograf768 - test_item - 24 Aug 2018 - Tested successfully
avatar Hackwar
Hackwar - comment - 25 Aug 2018

I don't really want to name this CategoriesInterface. The whole category system is a tree implementation, which is why I implemented a node interface here: #21327 I don't know how to name it in the tree-object-sense, but maybe use something that more aligns with tree terminology, instead of focusing heavily on the categories stuff. In an ideal world, JMenu would implement the same interface and menu items become a NodeInterface object, too.

avatar laoneo
laoneo - comment - 27 Aug 2018

I agree for the tree, but the object which returns the tree is category related. So it makes sense to name it CategoryInterface. The implementation class should probably being renamed.

avatar joomla-cms-bot joomla-cms-bot - change - 31 Aug 2018
Category Administration com_content Front End Libraries com_banners com_fields Administration com_banners com_content com_fields Libraries
avatar laoneo
laoneo - comment - 13 Sep 2018

Can we get this merged @wilsonge so I can finish the service provider story?

avatar joomla-cms-bot joomla-cms-bot - change - 18 Sep 2018
Category Administration com_content Libraries com_banners com_fields Administration com_banners com_categories com_content com_fields com_tags Libraries
avatar laoneo laoneo - change - 20 Sep 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-20 06:01:22
Closed_By laoneo
avatar laoneo laoneo - close - 20 Sep 2018
avatar laoneo laoneo - merge - 20 Sep 2018
avatar wilsonge
wilsonge - comment - 20 Sep 2018

I know it's annoyingly retrospective. But this looks good to me.

Add a Comment

Login with GitHub to post a comment