Skip to content

Commit 248b52e

Browse files
committed
Update kanban board stub to enable drag-and-drop functionality and rename 'completed' column to 'done'
1 parent 0bd68a6 commit 248b52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/kanban-board-page.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ class {{ class }} extends BoardPage
2020
->query($this->getEloquentQuery())
2121
->recordTitleAttribute('{{ titleField }}')
2222
->columnIdentifier('{{ statusField }}')
23-
->reorderBy('order_column')
23+
->positionIdentifier('position') // Enable drag-and-drop with position field
2424
->columns([
2525
Column::make('todo')->label('To Do')->color('gray'),
2626
Column::make('in_progress')->label('In Progress')->color('blue'),
27-
Column::make('completed')->label('Completed')->color('green'),
27+
Column::make('done')->label('Done')->color('green'),
2828
]);
2929
}
3030

0 commit comments

Comments
 (0)