=== ShopCatFlow === Contributors: ubermind Requires at least: 5.0 Tested up to: 6.8 Stable tag: 1.0.1 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Short Description: Drag-and-drop product category manager for WooCommerce with hierarchical list and graph views. == Description == Streamlined drag-and-drop category management for WooCommerce with child/sibling previews, auto-save, and clear hierarchy controls. Tested with WooCommerce 10.2. = Highlights = - List View: Smooth, precise drag & drop with child/sibling preview and indent-aware placement. - Smart targeting (visual): Alignment markers show when it's safe to drop; list view accepts drops without hard blocking. - Auto-expand on stable hover: Collapsed categories open one level to allow dropping inside. - Root drops: Dedicated root marker to quickly move any category to the top level. - Undo/Redo (last 10 actions): Reparent and reorder actions can be undone/redone. Toolbar buttons + keyboard shortcuts. - Visual feedback: Overlay spinner and toast messages for undo/redo and saves. - Bulk actions: Filter, select visible, and bulk delete (optionally cascade) with toasts. - State persistence: Expansion and selection are remembered per session. - Accessibility: Toggle buttons include `aria-expanded`; delete buttons have `aria-label`s. - Performance: Colorization coalesced (idle scheduling) to avoid jank after reorder/refresh. - Graph View: Top-to-bottom layout (parents above, children below) with smooth pan/zoom/rotate. - Fullscreen workspace: Toolbar button, keyboard `F`, and double-click background to toggle. - Smooth, normalized zoom: Gentle animated steps (trackpad-friendly) and label auto-scaling at low zoom. - Refit on switch: Switching from List to Graph resets view and fits content to the current viewport. - Drag reparenting: Drag one bubble over another to make it a child; drop on background to make root. Toolbar Undo/Redo supported. = Shortcuts = - Space + drag (Graph): Pan the canvas. - Mouse wheel (Graph): Smooth zoom at pointer. - Arrow keys (Graph): Nudge view. - F (Graph): Toggle fullscreen. - Delete/Backspace (Graph): Delete selected node(s) with confirmation. - Ctrl/Cmd+Z: Undo (List & Graph) - Ctrl+Y or Ctrl+Shift+Z: Redo (List & Graph) == Installation == 1. Upload to `/wp-content/plugins/shopcatflow/`. 2. Activate via Plugins. 3. Go to WooCommerce > ShopCatFlow. == Frequently Asked Questions == = Does it require WooCommerce? = Yes. = Can I prevent the default product category from being moved or deleted? = Yes. The default product category cannot be deleted or made a child; moves are validated. == Changelog == = 1.0.1 = * Initial release. * Updates: smoother list drag, hover auto-expand, visual markers, root drop zone; Undo/Redo (10-level), overlay + toasts; graph fullscreen, vertical layout, smooth zoom, label scaling, and auto-refit when switching views; performance tweaks for colorization.