forked from CodeWithDennis/filament-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Skeleton for header/footer widgets on each page as
todo
Ref CodeWithDennis#250 Ref CodeWithDennis#235 Ref CodeWithDennis#229
- Loading branch information
Showing
17 changed files
with
144 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/Create/Widget/RenderHeaderWidgets.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\Create\Widget; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class RenderHeaderWidgets extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'can render header widgets on the create page'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return true; // TODO: implement | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/Edit/Widget/RenderHeaderWidgets.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\Edit\Widget; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class RenderHeaderWidgets extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'can render header widgets on the edit page'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return true; // TODO: implement | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/Index/Widget/RenderFooterWidgets.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\Index\Widget; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class RenderFooterWidgets extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'can render footer widgets on the index page'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return true; // TODO: implement | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/Index/Widget/RenderHeaderWidgets.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\Index\Widget; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class RenderHeaderWidgets extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'can render header widgets on the index page'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return true; // TODO: implement | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/Stubs/Resource/Page/View/Widget/RenderHeaderWidgets.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace CodeWithDennis\FilamentTests\Stubs\Resource\Page\View\Widget; | ||
|
||
use Closure; | ||
use CodeWithDennis\FilamentTests\Stubs\Base; | ||
|
||
class RenderHeaderWidgets extends Base | ||
{ | ||
public Closure|bool $isTodo = true; | ||
|
||
public function getDescription(): string | ||
{ | ||
return 'can render header widgets on the view page'; | ||
} | ||
|
||
public function getShouldGenerate(): bool | ||
{ | ||
return true; // TODO: implement | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it({{ DESCRIPTION }}, function () { | ||
// | ||
}){{ RESOLVED_GROUP_METHOD }}->todo(); |