openplain/filament-tree-view
Drag-and-drop tree view for Filament resources to manage hierarchical data. Built on Laravel Adjacency List and Atlassian Pragmatic Drag & Drop. Supports depth limits, auto or batch save, custom fields, actions, dark mode, accessibility, and safe moves.
Table, with no breaking changes to the component ecosystem.staudenmeir/laravel-adjacency-list integration, preserving existing complexity considerations.mountedActions were lost during Livewire modal rehydration, improving stability for modal-based tree interactions.TreeView integration path remains identical.mountedActions fix.Modal).mountedActions fix addresses your use cases.TreeView configuration to explicitly handle non-integer keys if needed (e.g., for custom comparisons):
TreeView::make('Category', [
'primaryKey' => 'uuid', // Explicitly declare if using non-integer keys
]);
mountedActions fix.mountedActions behavior for modal-based workflows.staudenmeir/laravel-adjacency-list and filament/filament as before.mountedActions.primaryKey configuration in TreeView.mountedActions during modal interactions for edge cases.mountedActions fix; no scaling changes needed.| Scenario | Risk | Mitigation |
|---|---|---|
| Non-integer key comparisons | Incorrect parent-child relationships | Explicitly declare primaryKey in TreeView; test with UUIDs/strings. |
| Modal rehydration issues | Lost actions during modal refresh | Validated by this release; no action needed unless custom modal logic interferes. |
| Large tree performance | Slow queries/renders | Use pagination, caching, and virtual scrolling as before. |
| Custom modal logic | Overrides break mountedActions |
Isolate custom modal logic in service classes; avoid direct Livewire overrides. |
How can I help you explore Laravel packages today?