SkillPedia Skills Encyclopedia
中文 EN

Skills 2026-07-22 08:39 UTC

Agent-HTML

Committed by Sayhi-bzb. Update Category: New Features & Capability Expansion. Commit details: feat: add canvas layer reordering functionality. This update introduces new capabilities and expands supported use cases.

Sayhi-bzb 05a16a9 Sayhi-bzb/Agent-HTML

CommitRaw commit message

feat: add canvas layer reordering functionality

This commit implements full canvas layer ordering capabilities:
- Adds canvas-layer utility functions for calculating sibling reordering
- Exposes layer action APIs in kernel exports
- Adds context menu layer reorder actions with i18n support
- Updates React Flow adapter to use manual paint order instead of selection elevation
- Implements layer order persistence via dev server API
- Adds interaction state machine for layer reordering workflow
- Updates documentation and tests for new functionality

The implementation supports bring-to-front, bring-forward, send-backward, and send-to-back actions while preserving relative order of selected nodes, and works with both static JSX hierarchy and live canvas runtime state.