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
nanopanda
nanopanda3mo ago
@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.
PabloZagni
PabloZagni3mo ago
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...
PabloZagni
PabloZagni3mo ago
I want this action button to take me to the Kanban page of the clicked process
No description
nanopanda
nanopanda3mo ago
@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
PabloZagni
PabloZagni3mo ago
I've found this... but it renders the view page. I'll check the custom pages link
No description
PabloZagni
PabloZagni3mo ago
I need the action to redirect to a KanbanBoard, not a page So, error says method route does not exists on KanbanProcesses 😦
No description
No description
nanopanda
nanopanda3mo ago
What does your "php artisan route:list" show? KanbanBoard extends Page FWIW: https://github.com/mokhosh/filament-kanban/blob/main/src/Pages/KanbanBoard.php
PabloZagni
PabloZagni3mo ago
But I get the error!
No description
nanopanda
nanopanda3mo ago
@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
PabloZagni
PabloZagni3mo ago
I'm on it
Want results from more Discord servers?
Add your server