-
Notifications
You must be signed in to change notification settings - Fork 2
Feat / Extending ImageColumn with ->preview() #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat / Extending ImageColumn with ->preview() #3
Conversation
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please separate the CSS and JS into their own asset files and register them with Filament.
https://filamentphp.com/docs/3.x/support/assets - Instead of using a macro, create a new column class that extends the ImageColumn class (use the same name for the class, just the namespace is different). Place it in
src/Filament/Tables/Columns. "Preview" can then be a method with proper parameters that will get hinted when writing the column definition.
…le & adding another reusable component here
… refactor/image-lightbox
SlimDeluxe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see below for required changes
|
After the changes, a fix will be required in DataLinx/eclipsephp-catalogue-plugin#28 |
|
@SlimDeluxe Should be good to review this |
|
@SlimDeluxe This got closed by mistake. And I think we should wait until we migrate the project to F4 before we merge this. |
|
@SlimDeluxe So I am converting this to draft. |
|
@SlimDeluxe since we won't be merging F4 anytime soon so maybe this can be reviewed & merged. |
Related Ticket