code jam
child resource as a dialog on click of a custom action button?
Thank you for your response. Yes. I did read about this modal option. But unfortunately, I have many more fields in this comment model other than just the comments text. So, we will end up duplicating the form and actions of the child resource i.e. the comment model.
I was looking for a way to instantiate the CommentResource create capability by associating it with the custom action button (like how we would click on the "New Comments" button in the CommentResource list view - open createview ).
3 replies
multiple panels on single dashboard as tabs?
@PovilasKorop @Desmond Njuguna thanks for the inputs. The plugin for panel switching looks interesting. But a shell over filament panels to show them as tabs explicitly will be very helpful ux wise IMO. Let me explore a bit more on this topic and then revert.
9 replies
how to change the look & feel of repeater field?
Well, I am referring to the card height here. I would like its height to be 1/3rd of what we are seeing in the example, by removing the header (where we have the delete button) and taking off the labels for the fields (and have it only at the first row - when we have one card per row instead of a grid of 3).
When you have 4-5 or more repeater fields, the screen space taken up is huge and a table like form view for the repeater rows would be better (IMO).
7 replies
How to replace default login blade? - how to replace the entire page?
Replace that simple layout file with your own?
I would basically start from scratch.. either extend from the base layout or create your own layout all together for the blade component of the new login page.
5 replies
Make all panels use the same Login and Logout routes.
They use the same login / logout routes for all panels. Only the theming would be different.
Replace $this->getId() to the panel whose login screen you want to display for all panels.
E.g. if you want to use admin panel login for all panels, replace the route as filament.admin.auth.login
5 replies
how to change text-gray-950 to something else globally?
That would be a whole lot of css elements I guess. Even H1 H2 tags are with this class. I am not a tailwind expert, but I was expecting it to be set at the body level where I could change (which is not the case).
6 replies
how to change text-gray-950 to something else globally?
Have customized gray to my preferred color already. That only changes some part of the page & panel.
I want to replace the dark gray / blackish elements on the screen which have text-grey-950 class appended (and togglable to grey-50 in dark mode).. Items like "Dashboard" on the page, or the avatar at the top right corner, or text in the table etc, are all "blackish". I am trying to replace this color with a custom color. I was searching for $primary/$secondary to handle this, but looks like doesnt exist. PS: I don't need dark mode for my panel, so I can replace colors without worrying about its effect on dark mode.
I want to replace the dark gray / blackish elements on the screen which have text-grey-950 class appended (and togglable to grey-50 in dark mode).. Items like "Dashboard" on the page, or the avatar at the top right corner, or text in the table etc, are all "blackish". I am trying to replace this color with a custom color. I was searching for $primary/$secondary to handle this, but looks like doesnt exist. PS: I don't need dark mode for my panel, so I can replace colors without worrying about its effect on dark mode.
6 replies