You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This proposal suggests extending the current Kanban board behavior to allow each column to define additional interactions when a card is moved into it. Currently, drag-and-drop updates only the position and status fields. Allowing columns to define optional modal schemas would make the board more flexible and better suited for real-world workflows.
Proposed Behavior
When a card is dragged from one column to another, the board could optionally trigger a modal containing a Filament form. The schema for this modal would be defined at the column level, enabling each column to request or modify specific data relevant to its status.
Example scenarios
Moving a card to Completed could prompt the user to upload a required support file.
Moving a card to In Progress could request an estimated completion date.
Moving a card to Scheduled might allow editing priority or other planning details.
If a column does not define a schema, the existing behavior remains
unchanged.
Suggested API Direction
Columns could expose an optional schema() method (or similar) that
returns a Filament form schema. For example:
When the card is dropped into that column, a modal is shown.
The modal displays the schema-defined form.
After submission, the data is saved to the model.
The card remains in the new column.
If the modal is canceled, the card could optionally revert to its
previous column.
Benefits
Enables richer and more meaningful workflows in Kanban boards.
Allows status transitions to gather required or contextual data.
Provides a flexible and extensible mechanism that integrates
naturally with Filament's form system.
Improves expressiveness without altering the core board logic.
Optional Considerations
These are additional ideas that may enhance the implementation:
Allow columns to define validation rules before allowing a move.
Provide lifecycle hooks such as onMoveTo(Column $column).
Support asynchronous saves after modal submission.
Include a mechanism to revert card position on modal cancellation.
Summary
This feature would allow developers to attach optional modal schemas to Kanban columns, making the drag-and-drop process more interactive and aligned with real-world requirements.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Overview
This proposal suggests extending the current Kanban board behavior to allow each column to define additional interactions when a card is moved into it. Currently, drag-and-drop updates only the
positionandstatusfields. Allowing columns to define optional modal schemas would make the board more flexible and better suited for real-world workflows.Proposed Behavior
When a card is dragged from one column to another, the board could optionally trigger a modal containing a Filament form. The schema for this modal would be defined at the column level, enabling each column to request or modify specific data relevant to its status.
Example scenarios
If a column does not define a schema, the existing behavior remains
unchanged.
Suggested API Direction
Columns could expose an optional
schema()method (or similar) thatreturns a Filament form schema. For example:
If a schema is present:
If the modal is canceled, the card could optionally revert to its
previous column.
Benefits
naturally with Filament's form system.
Optional Considerations
These are additional ideas that may enhance the implementation:
onMoveTo(Column $column).Summary
This feature would allow developers to attach optional modal schemas to Kanban columns, making the drag-and-drop process more interactive and aligned with real-world requirements.
Beta Was this translation helpful? Give feedback.
All reactions