Dhru
Dhru
FFilament
Created by Dhru on 3/18/2025 in #❓┊help
Implemented a custom login / registration am I missing any obvious security issues?
So I needed a very custom registration/ login for a project Basically a password less + social login and a multistep registration work flow After tying a bunch of stuff my solution was to do a custom login / registration form in blade / livewire. Then use admin panel middleware to make sure the user has completed the required registration steps before accessing the panel. Then I changed the filament logout action to redirect to that instead of the regular login And I also changed the login() method in the app service provider redirect to that custom route It all “works” but just thought I would run it by you guys to see if I perhaps missed something obvious from a security perspective.
2 replies
FFilament
Created by Dhru on 2/10/2025 in #❓┊help
Is there a way to select a row by clicking it in a resource?
I have a table with bulk actions I want it to be clickable but not got to the view / edit page and instead just select the row. Ideally i also want to hide the checkbox and hide the custom styling is there a way to do this ?
3 replies
FFilament
Created by Dhru on 1/31/2025 in #❓┊help
multiple panels vs single panel - what is the best practice
Basically buiilding a filament crud app where regular users can login and do stuff but also need a super admin who can login and manage a lot of different users (and ideally have the ability to impersonate a given user to help debug issues) Is it better to have a single admin panel with conditional logic exposing certain functionality to the super admin role or a seperate superadmin panel that provides that functionality. New to filament, leaning towards the latter approach wondering what you guys think. Or if there are any pros / cons that i am missing
5 replies
FFilament
Created by Dhru on 11/28/2024 in #❓┊help
Change the default maxContentWidth from the panel provider for a specific page
In the documentation there is a way to set the ->maxContentWidth in the panel provider There is one list page where I want a 'full' width due to the nature of data displayed. So I want the ->maxContentWidth('full) for that page, but for the rest I am okay with the filament default ->maxContentWidth('6xl') What is the best approach to achieving this ?
3 replies
FFilament
Created by Dhru on 11/18/2024 in #❓┊help
Fileupload: How to show a default image that the user can override with their own image
Basically I want to show a default image in the file upload form that the users can choose to replace by uploading their own image. Couldn't find an easy way to do this in the docs (but I think I am probably missing something) Thanks.
8 replies
FFilament
Created by Dhru on 10/29/2024 in #❓┊help
Best approach / pointers for creating a simple image paint functionality in a filament app ?
Basically am building a small app that I think filament would a great (for building the entire app not just admin) except i need some custom image painting functionality (user needs to be able to draw some on to an existing image and save a new one, maybe some croping. Some approaches I am considering - regular intertia.js / react for the app - filament just for admin (prefer to avoid this due to extra work)) - build a custom blade page within filament admin panel and use react there for the paint app (leaning towards this approach) - build some sort of js / alpine component for filament and use that (i don't have much exp with livewire / alpine but could consider) What are your thoughts on the pros / cons of the above approaches, am I missing something ? Happy to get some pointers, thanks!
2 replies