tomatophp / filament-notes

Add Sticky Notes to your FilamentPHP dashboard with tons of options and style
https://tomatophp.com/en/open-source/filament-notes
MIT License
35 stars 4 forks source link

Livewire component #5

Closed willcastillo closed 3 months ago

willcastillo commented 3 months ago

Hello,

The documentation says that I need to add this to the blade file: <livewire:note-action :note="$note" /> ... but I don't know what to send back as $note.

Similarly, the documentation says that I can use it as a widget by registering it in the panel... but that doesn't seem to be enough.

Do you have/can provide a simple demo project please? This looks like a nice plugin to use but I don't think to follow the docs correcly.

Thanks,

3x1io commented 3 months ago

$note is the object of the Note Model, I will add this to docs and we have a demo.

https://filament-notes.tomatophp.com

you can try it

willcastillo commented 3 months ago

Thanks @3x1io ! That helps.

Regarding the demo, I meant a demo project, not a live demo.

3x1io commented 3 months ago

it exists as an open source.

https://github.com/tomatophp/filament-notes-demo