Skip to content

FilamentPHP v4 #253

@mlategan

Description

@mlategan

Hi,

Great package. It seems like filament's new changes messes with the AI models' predictions. Specifically:

  1. Layout components now reside in Filament\Schemas and not in Filament\Forms anymore. So the AI models all either figure it out and then change EVERYTHING to Filament\Schemas including the normal input components that are still under Filament\Forms, or sticks with Filament\Forms.
  2. On resources, $navigation* properties used to just be ?string. Now it is string|BackedEnum|null and all the models get that wrong every time.
  3. On tables, ->bulkActions() is now ->toolActions(), and ->actions() is now ->recordActions().

Also, resources are now structured:

  • app/Filament//Resources/ResouceName.php
  • app/Filament//Resources/Schemas/*.php containing resource form schemas
  • app/Filament//Resources/Pages/*.php containing resource pages
  • app/Filament//Resources/Tables/*.php containing resource tables.
  • app/Filament//Resources/RelationManagers/* containing resource linked relation managers

Can you please include this in the instructions when you detect Filament V4?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions