Closed mkwsra closed 6 months ago
Salaam @mkwsra and thank you for putting the time and thought into this PR.
It is currently possible to customise the card title and content, however, the concerns of data layer and presentation layer are separated.
You can override the transformRecords
method to pass as much data as you need to your view. And you can publish the views and add as much html, css, and php code as you need for your card.
Anything more than a title and a status shouldn't be absolutely necessary for the most basic form of a Kanban Board.
You can see a visual example of how it's being customised with the current architecture, in the OP of this PR: https://github.com/mokhosh/filament-kanban/pull/3
Here are a few suggestions I have for your future PRs:
main
branch. Always create a feature branch. Otherwise you can't open another PR until the first one is merged, and even when it is merged you cannot pull from upstream
because your main brach will have conflicts.mixed
as a type.Let me know if you want to make a separate PR just for the docs, or I should go ahead and add clarifications myself.
Thank you again for your PR.
Salams,
Thanks for your message, and sounds good I will see what I can do, and all thanks are to you for doing this plugin.
You can feel free to not merge this PL, this is what I did:
cardTitle
withgetCardTitle()
functioncardContent
withgetCardContent()
functionThanks for this Plugin ya bro.
BTW @waelkhalifa and I were parallel-programming these changes to have some excited hours 🙌 Thanks to you Mo