@@ -29,7 +29,7 @@ composer require relaticle/flowforge
2929php artisan flowforge:make-board TaskBoard --model=Task
3030```
3131
32- That's it! Add the page to your Filament panel and you have a working Kanban board.
32+ That's it! Add the generated page to your Filament panel and you have a working Kanban board.
3333
3434<details >
3535<summary >📋 <strong >Show complete example</strong ></summary >
@@ -59,7 +59,7 @@ class TaskBoard extends BoardPage
5959 return $board
6060 ->query($this->getEloquentQuery())
6161 ->cardTitle('title')
62- ->columnField ('status')
62+ ->columnIdentifier ('status')
6363 ->columns([
6464 Column::make('todo')->label('To Do')->color('gray'),
6565 Column::make('in_progress')->label('In Progress')->color('blue'),
@@ -150,7 +150,7 @@ public function board(Board $board): Board
150150 return $board
151151 ->query($this->getEloquentQuery())
152152 ->cardTitle('title')
153- ->columnField ('status')
153+ ->columnIdentifier ('status')
154154 ->columns([
155155 Column::make('backlog')->label('Backlog'),
156156 Column::make('active')->label('Active'),
@@ -172,7 +172,7 @@ public function board(Board $board): Board
172172 return $board
173173 ->query($this->getEloquentQuery())
174174 ->cardTitle('title')
175- ->columnField ('status')
175+ ->columnIdentifier ('status')
176176 ->columns([...])
177177 ->columnActions([
178178 CreateAction::make()
@@ -211,10 +211,10 @@ use Relaticle\Flowforge\Property;
211211| Method | Description | Required |
212212| --------| -------------| ----------|
213213| ` cardTitle(string) ` | Field used for card titles | ✅ |
214- | ` columnField (string)` | Field that determines column placement | ✅ |
214+ | ` columnIdentifier (string)` | Field that determines column placement | ✅ |
215215| ` columns(array) ` | Define board columns | ✅ |
216216| ` query(Builder) ` | Set the data source | ✅ |
217- | ` defaultSort(string) ` | Field used for drag & drop ordering | |
217+ | ` defaultSort(string, ?string ) ` | Field and optional direction for drag & drop ordering | |
218218| ` cardProperties(array) ` | Additional fields to display | |
219219| ` columnActions(array) ` | Actions for column headers | |
220220| ` cardActions(array) ` | Actions for individual cards | |
@@ -273,7 +273,7 @@ use Relaticle\Flowforge\Property;
273273
274274## Contributing
275275
276- Contributions welcome! Please see [ CONTRIBUTING.md ] ( CONTRIBUTING.md ) for details .
276+ Contributions are welcome! Please feel free to submit a Pull Request .
277277
278278## License
279279
0 commit comments