Simplification of Page Retrieval
The method getPageUrls found within our file FilamentFabricatorManager.php has been adjusted. Originally, this method was scanning for both direct and indirect descendants of pages. We've streamlined this process; it now only looks for all descendants, regardless of their level, improving the efficiency of page searches.
Improved Iteration over Page Descendants
In our FilamentFabricatorManager.php file, there are changes to the setPageUrl method. This method used to cycle through only direct descendants of a page. Now, it considers all descendants, enhancing the thoroughness of our page URL setting process.
Child Page Management in Page.php
We've updated the management of child pages in our Page.php file. The allChildren method used to exclude some child pages in its retrieval process. It now includes all child pages, enhancing our ability to manage these pages effectively.
PR Summary
Simplification of Page Retrieval The method
getPageUrls
found within our fileFilamentFabricatorManager.php
has been adjusted. Originally, this method was scanning for both direct and indirect descendants of pages. We've streamlined this process; it now only looks for all descendants, regardless of their level, improving the efficiency of page searches.Improved Iteration over Page Descendants In our
FilamentFabricatorManager.php
file, there are changes to thesetPageUrl
method. This method used to cycle through only direct descendants of a page. Now, it considers all descendants, enhancing the thoroughness of our page URL setting process.Child Page Management in
Page.php
We've updated the management of child pages in ourPage.php
file. TheallChildren
method used to exclude some child pages in its retrieval process. It now includes all child pages, enhancing our ability to manage these pages effectively.