refactor: replace inline journal timeline view with a dedicated Livewire component for improved performance and structure

This commit is contained in:
Ümit Tunç
2026-06-06 01:30:15 +03:00
parent 0d3a514456
commit b776ebbd26
4 changed files with 341 additions and 215 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Livewire;
use Livewire\Component;
use Illuminate\Database\Eloquent\Model;
class InternJournalTimeline extends Component
{
public ?Model $record = null;
public function getGithubRepoProperty(): ?string
{
return $this->record?->github_repo;
}
public function render()
{
return view('livewire.intern-journal-timeline');
}
}