补齐场景素材快速编辑白名单
Project CI / Repository checks (pull_request) Successful in 1m26s
Project CI / Frontend tests (pull_request) Successful in 3m0s
Project CI / Backend tests (pull_request) Successful in 4m8s
Project CI / Native shell tests (pull_request) Successful in 15m38s

同步前端与后端场景快速编辑准入
锁定用户素材标签覆盖的双端白名单
补充新增素材类型的快速编辑检查点
更新场景与画布契约文档
This commit is contained in:
2026-08-08 12:19:59 +08:00
parent 3c07a96a07
commit cd78077e95
9 changed files with 50 additions and 4 deletions
@@ -3945,6 +3945,7 @@ pub(crate) fn ensure_editor_image_edit_source_kind_allowed(
| "icon-spec"
| "publication-material"
| "ui-design"
| "scene"
)
);
let media_type_allowed = matches!(media_type, None | Some("image"));
@@ -20275,6 +20276,7 @@ mod tests {
(Some("icon-spec"), Some("image"), true),
(Some("publication-material"), Some("image"), true),
(Some("ui-design"), Some("image"), true),
(Some("scene"), Some("image"), true),
(Some("icon"), Some("image"), false),
(Some("character-animation"), Some("image-sequence"), false),
(Some("sound-effect"), Some("audio"), false),