Custom page to display Kanban
Hi. I'm building a Process managment soft like Jira. A user can create a "Process" with many "ProcessActivities". Y need to add an action to the table to show a page with a Kanban working on the "ProcessActivities" of the selected project. Any example? Thanks
10 Replies
@PabloZagni have you checked out the Kanban plugins here? https://filamentphp.com/plugins?search=kanban
Filament
Plugins - Filament
Community made packages for Filament projects, which give you access to awesome new features.
Yes! I'm using that kamban plugin! great! awesome!
but now, I'm looking to add it to many processes in my App... select the process and kanban that process...
I want this action button to take me to the Kanban page of the clicked process
@PabloZagni ahh, I see... then I think you will just need to add the "InteractsWithRecord" trait to your Kanban page, and override the records() function as described in the "Advanced Usage" in Mokhosh Kanban docs.
See:
https://filamentphp.com/docs/3.x/panels/resources/custom-pages#using-a-resource-record
I've found this... but it renders the view page.
I'll check the custom pages link
I need the action to redirect to a KanbanBoard, not a page
So, error says method route does not exists on KanbanProcesses 😦
What does your "php artisan route:list" show?
KanbanBoard extends Page FWIW:
https://github.com/mokhosh/filament-kanban/blob/main/src/Pages/KanbanBoard.php
But I get the error!
@PabloZagni gotcha.. ::route() only works on Filament\Resources\Pages\Page, so not sure of the best solution there.
Someone else had the same issue here:
https://discord.com/channels/883083792112300104/1234599198507270234
Also see #mokhosh-kanban channel, there is some similar discussion there. You may have to workaround with a query string param for now
I'm on it