-
-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The primary goal of this phase is to implement the core reordering functionality with a standard visual proxy.
-
Restructure Viewport:
- In
apps/colors/view/Viewport.mjs
, wrap theGridContainer
,PieChartComponent
, andBarChartComponent
each within aNeo.container.Panel
. - This will provide distinct header elements to serve as drag handles.
- In
-
Develop
Container.SortZone
:- Create a new, reusable
SortZone
class tailored for generic containers (e.g.,src/draggable/container/SortZone.mjs
). - This class will extend
Neo.draggable.DragZone
. - It will be created by refactoring the logic from the existing
Neo.draggable.toolbar.SortZone
to work with anyvbox
orhbox
layouts. Thetoolbar.SortZone
will then be updated to extend this new container-level class.
- Create a new, reusable
-
Integration:
- Instantiate the new
Container.SortZone
within theColors.view.Viewport
to activate the drag-and-drop functionality on the new panels. - The panel headers will be configured with the
.neo-draggable
class to act as the delegate target for theSortZone
.
- Instantiate the new
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request