From c85d6009aad4299be372fd8fd9ea9d85489c7030 Mon Sep 17 00:00:00 2001 From: Juan Martinez Date: Thu, 30 Oct 2025 09:36:24 -0700 Subject: [PATCH] Add support for column icons in board view Columns can now display an icon if provided. The Board component passes the icon to the view, and the Blade template renders it when available. --- resources/views/livewire/column.blade.php | 3 +++ src/Board.php | 1 + 2 files changed, 4 insertions(+) diff --git a/resources/views/livewire/column.blade.php b/resources/views/livewire/column.blade.php index 0fc206d..7015e23 100644 --- a/resources/views/livewire/column.blade.php +++ b/resources/views/livewire/column.blade.php @@ -16,6 +16,9 @@ class="flowforge-column w-[300px] min-w-[300px] flex-shrink-0 border border-gray
+ @if ($column['icon'] ?? null) + + @endif

{{ $column['label'] }}

diff --git a/src/Board.php b/src/Board.php index df4f9f6..3eaff31 100644 --- a/src/Board.php +++ b/src/Board.php @@ -71,6 +71,7 @@ public function getViewData(): array 'id' => $columnId, 'label' => $column->getLabel(), 'color' => $column->getColor(), + 'icon' => $column->getIcon(), 'items' => $formattedRecords, 'total' => $this->getBoardRecordCount($columnId), ];