implement creating new conversation

This commit is contained in:
2026-05-01 01:36:04 +03:30
parent ba507ca6c3
commit 4776af5c2a
10 changed files with 886 additions and 80 deletions

View File

@@ -17,7 +17,7 @@ class ChatPage extends Component
{
public ?int $selectedConversationId = null;
public bool $detailsPanelOpen = true;
public bool $detailsPanelOpen = false;
#[On('conversation-selected')]
public function selectConversation(int $conversationId): void
@@ -29,7 +29,7 @@ class ChatPage extends Component
Gate::authorize('view', $conversation);
$this->selectedConversationId = $conversation->id;
$this->detailsPanelOpen = true;
$this->detailsPanelOpen = false;
}
#[On('conversation-closed')]