damms005
How to prevent accidental data leak
Yeah I mean the whole point is my fault in forgetting to consider auth for newly added resources
If I didn't forget that, I definitely would have added policy and then perhaps a test.
I was thinking about something that drop-kicks me whenever I forget something like that; similar to what
Model::preventLazyLoading()
when one forgets to eager-load relationships6 replies
How do I dynamically create table columns in my admin panel?
But I think it is doable. Will be a fun feature to play hack if allowed into the framework.
columns(array...)
currently accept only array of table columns. The new feature will simply allow closure columns(array... | callable...)
and the callable will return array of table columns.
Flexible like forms, preserves the behavior via different APIs.12 replies
How do I dynamically create table columns in my admin panel?
I checked the table API and can't find anything to help me with this. The only option seems to be custom column.
This feature is going to be similar to the form
schema
API that accepts a closure. This allows for dynamically setting form components at runtime. Tables' columns
seems to be a good candidate for this, unless I am missing something. Is a PR acceptable for this?12 replies
How do I assign middleware to a Page or Resource?
@zepfietje @Dan Harrin it seems no one can explain this part of the doc that I cited above. I'm unable to understand it too. That's why I posted the question. Can you help me understand it, please?
2 replies
How to visit Filament dashboard from the central domain after integrating stancl/tenancy
@Dan Harrin @zepfietje Please is this kind of integration possible with v3. I can delay shipping feature till 20th really. Or not, I can figure another way (that does not involve stancl tenant and central admin to have access to Filament). Advise, please.
6 replies
How can I get changes to resource form?
@Dan Harrin One other suggestion is to update closure customization to sections (https://filamentphp.com/docs/2.x/forms/advanced#using-closure-customization), such that relevant sections can be linked in the hooks/lifecylce docs where they are useful to. Again, I can contribute this if found needful.
21 replies
How can I get changes to resource form?
I understand it is in appreciation of the team's effort that make you source-dive when necessary. However, you should understand that it is in the same spirit that I volunteered above to contribute to such documentation should my suggestion be found needful
21 replies