Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"require": {
"php": "^8.1",
"lara-zeus/filament-plugin-tools": "^1.0"
"lara-zeus/filament-plugin-tools": "*"
},
"require-dev": {
"larastan/larastan": "^3.0",
Expand All @@ -37,7 +37,8 @@
"pestphp/pest-plugin-arch": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-livewire": "^3.0",
"phpstan/extension-installer": "^1.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-phpunit": "^2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions resources/views/replies.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ class="flex flex-col text-xs max-w-xs m-2 mx-3 @if($isOwner) order-1 @else order
</div>
<span
x-tooltip="{
content: @js($comment->created_at->format(\Filament\Infolists\Infolist::$defaultDateTimeDisplayFormat)),
content: @js($comment->created_at->format($this->form->getDefaultDateDisplayFormat())),
theme: $store.theme,
}"
class="@if($isOwner) text-right @else text-left @endif w-full flex flex-col cursor-pointer text-xs text-gray-500 dark:text-gray-200 my-1"
class="transition-all ease-in-out duration-150 @if($isOwner) text-right @else text-left @endif w-full flex flex-col cursor-pointer text-xs text-gray-500 dark:text-gray-200 my-1"
>
{{ $comment->created_at->diffForHumans() }}
</span>
Expand Down
4 changes: 2 additions & 2 deletions src/Livewire/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Filament\Forms\Components\MarkdownEditor;
use Filament\Forms\Concerns\InteractsWithForms;
use Filament\Forms\Contracts\HasForms;
use Filament\Forms\Form;
use Filament\Schemas\Schema;
use Illuminate\Contracts\Foundation\Application as ApplicationAlias;
use Illuminate\Contracts\View\Factory;
use Illuminate\Contracts\View\View;
Expand All @@ -29,7 +29,7 @@ public function mount(): void
$this->form->fill();
}

public function form(Form $form): Form
public static function form(Schema $form): Schema
{
return $form
->statePath('data')
Expand Down
Loading