diff --git a/.codex/config.toml b/.codex/config.toml index bcfd3b4..db0f486 100644 --- a/.codex/config.toml +++ b/.codex/config.toml @@ -2,3 +2,6 @@ command = "php" args = ["artisan", "boost:mcp"] cwd = "C:\\Users\\meghdad\\PhpstormProjects\\fluent-chat" + +[mcp_servers.laravel-boost.tools.search-docs] +approval_mode = "approve" diff --git a/app/Livewire/Chat/ChatPage.php b/app/Livewire/Chat/ChatPage.php index 9f9cd6c..1f510c8 100644 --- a/app/Livewire/Chat/ChatPage.php +++ b/app/Livewire/Chat/ChatPage.php @@ -6,10 +6,12 @@ use App\Models\Conversation; use Illuminate\Contracts\View\View; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; +use Livewire\Attributes\Layout; use Livewire\Attributes\On; use Livewire\Attributes\Title; use Livewire\Component; +#[Layout('layouts::chat')] #[Title('Chat')] class ChatPage extends Component { diff --git a/resources/views/layouts/chat.blade.php b/resources/views/layouts/chat.blade.php new file mode 100644 index 0000000..6ba35d7 --- /dev/null +++ b/resources/views/layouts/chat.blade.php @@ -0,0 +1,26 @@ + + + + @include('partials.head') + + + + {{ __('Skip to chat') }} + + +
+ {{ $slot }} +
+ + @persist('toast') + + + + @endpersist + + @fluxScripts + + diff --git a/resources/views/livewire/chat/chat-page.blade.php b/resources/views/livewire/chat/chat-page.blade.php index b3cb3f0..80c80b5 100644 --- a/resources/views/livewire/chat/chat-page.blade.php +++ b/resources/views/livewire/chat/chat-page.blade.php @@ -1,4 +1,4 @@ -
+