File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -368,15 +368,28 @@ TODO
368
368
369
369
## TODO's
370
370
371
+ check:
372
+ - do install docs work
373
+ - tailwind config complete? do we need to add flexible content blocks styling?
374
+ - menu components ok?
375
+
376
+ menu:
377
+ - page delete modal when page used in menu
378
+ - orm listeners for linkable models that are in a menu to avoid accidental deletion.
379
+ - caching tree model + observer to clear cache
380
+ - add menu to default page template
381
+
382
+ release:
371
383
- policies:
372
384
- note: undeletable pages
373
385
- undeletable page toggle only for permission holder
374
386
- redirect controller
375
387
- tag controller
376
- - orm listeners for linkable models that are in a menu to avoid accidental deletion.
377
- - page delete modal when page used in menu
378
- - frontend caching for menus
379
- - A simple asset manager
388
+ - documentation
389
+ - screenshots + banner + packagist + filament plugin store
390
+
391
+ future:
392
+ - A simple asset manager (include or not?)
380
393
- Re-usable content blocks
381
394
- Contact form
382
395
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ protected function buildEagerLoadRelations(int $maxDepth): array
80
80
$ currentPath = '' ;
81
81
$ depth = 1 ;
82
82
83
- while ($ depth < $ maxDepth ) {
83
+ while ($ depth <= $ maxDepth ) {
84
84
$ currentPath .= $ depth === 1 ? 'children ' : '.children ' ;
85
85
$ relations [$ currentPath ] = function ($ query ) {
86
86
$ query ->visible ()->ordered ()->with ('linkable ' );
You can’t perform that action at this time.
0 commit comments