{{-- Copy of lunarphp/lunar's resources/views/livewire/components/activity-log-feed.blade.php (the order page's Timeline), overriding it via View::prependNamespace('lunarpanel') in CoreServiceProvider. The only changes: the day heading and each entry's time are shown in core.display_timezone instead of UTC (Lunar formats them by hand, so Filament's display timezone doesn't reach them). Re-copy it if Lunar changes the original. Lunar still groups entries by UTC day, so an entry just after local midnight can sit under the previous day's heading. --}}
{{ $this->form }}
{{ $this->addCommentAction }}
    @foreach ($this->activityLog as $log)
  • {{ $log['items']->first()['log']->created_at->inDisplayTimezone()->format('F jS, Y') }}

      @foreach ($log['items'] as $item) @php $logUserName = $item['log']->causer ? ($item['log']->causer->fullName ?: $item['log']->causer->name) : null; @endphp
    • $item['log']->causer, '-left-[calc(0.5rem_-_1px)]' => !$item['log']->causer, ])> @if ($email = $item['log']->causer?->email) {{ $logUserName }} @else description){ 'created' => 'bg-sky-500 ring-sky-100 dark:ring-sky-800', 'updated' => 'bg-teal-500 ring-teal-100 dark:ring-teal-800', 'status-update' => 'bg-purple-500 ring-purple-100 dark:ring-purple-800', default => 'bg-gray-300 ring-gray-200 dark:ring-gray-600', }, ])> @endif
      $item['log']->causer, 'pt-[1px]' => !$item['log']->causer, ])>
      @if (!$item['log']->causer) {{ __('lunarpanel::components.activity-log.system') }} @else {{ $logUserName }} @endif
      @if (count($item['renderers']))
      @foreach ($item['renderers'] as $class) {{ $class->render($item['log']) }} @endforeach
      @endif
    • @endforeach
  • @endforeach
{{ $this->activityLog->links('lunarpanel::components.activity-log.timeline-paginator.index', data: ['scrollTo' => '#lunar-panel-timeline']) }}