SkillPedia Skills Encyclopedia
中文 EN

技能 2026-07-22 08:39 UTC

Agent-HTML

由提交人 Sayhi-bzb 提交,主要更新类型为:新增功能与能力扩展。提交说明:feat: add canvas layer reordering functionality。带来了新的能力与可配置项,扩展了使用场景。

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

Commit提交信息原文

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.