Class: Plutonium::UI::Form::KanbanMove

Inherits:
Interaction show all
Defined in:
lib/plutonium/ui/form/kanban_move.rb

Overview

The drop-interaction form used by the kanban card-drop modal.

Behaves exactly like a standard interaction form (same fields, same namespacing under interaction[...], same submit button) with two deliberate differences:

1. It POSTs to the record's `kanban_move` member route rather than the
 interaction's own commit URL, so Task 4's atomic handler runs the
 interaction AND repositions the card in one request.
2. It carries the move context (from_column/to_column/to_index) as
 top-level hidden fields so the move handler knows where the card
 came from and where it landed.

Constant Summary

Constants included from Concerns::RendersNestedResourceFields

Concerns::RendersNestedResourceFields::DEFAULT_NESTED_LIMIT, Concerns::RendersNestedResourceFields::NESTED_OPTION_KEYS, Concerns::RendersNestedResourceFields::SINGULAR_MACROS

Instance Attribute Summary

Attributes inherited from Resource

#resource_definition, #resource_fields, #singular_resource

Method Summary

Methods inherited from Interaction

#initialize

Methods inherited from Resource

#form_class, #initialize, #view_template

Methods included from Component::Behaviour

#around_template

Methods included from Component::Tokens

#classes, #tokens

Methods included from Component::Kit

#BuildActionButton, #BuildActionsDropdown, #BuildAvatar, #BuildBlock, #BuildBreadcrumbs, #BuildBulkActionsToolbar, #BuildColorModeSelector, #BuildDynaFrameContent, #BuildDynaFrameHost, #BuildEmptyCard, #BuildFrameNavigatorPanel, #BuildModalCentered, #BuildModalSlideover, #BuildPageHeader, #BuildPanel, #BuildRowActionsDropdown, #BuildSkeletonTable, #BuildTabList, #BuildTableFilterPills, #BuildTableInfo, #BuildTablePagination, #BuildTableScopesBar, #BuildTableScopesPills, #BuildTableSearchBar, #BuildTableToolbar, #BuildTableViewSwitcher, #method_missing, #respond_to_missing?

Constructor Details

This class inherits a constructor from Plutonium::UI::Form::Interaction

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Plutonium::UI::Component::Kit