移除TODO
Project CI / Backend tests (pull_request) Failing after 14s
Project CI / Repository checks (pull_request) Failing after 14s
Project CI / Frontend tests (pull_request) Failing after 1m20s
Project CI / Native shell tests (pull_request) Failing after 1m57s

移除多处已解决或过时TODO
This commit is contained in:
2026-08-19 14:12:05 +08:00
parent 17b09804fa
commit 4f99070a83
3 changed files with 1 additions and 7 deletions
@@ -21,9 +21,6 @@ use ts_rs::TS;
const MAX_REFERENCES: usize = 4;
// TODO
// * 头像、图标或物品图只识别为一个图片或头像组件。
// * 文本和动态数值即使没有独立素材,也必须保留为组件。
const SYSTEM_PROMPT: &str = r#"
角色:
你是游戏 UI 多图结构识别器。
@@ -283,7 +280,7 @@ fn convert_node(
allow_llm_edit_component: true,
source: NodeSource::Llm,
},
// TODO: 等识别 DTO 增加 type 字段后,再映射 Image/Text Component。
// TODO: What is let llm give component structure at recognize step ????
components: Vec::new(),
children_display_mode: ChildrenDisplayMode::Stack,
children,
@@ -203,7 +203,6 @@ pub(crate) async fn suggest_ui_design_semantic_impl(
eprintln!("ui_design_suggestion.error stage=validate_result error={error}");
format!("LLM 响应无效(详情:{error})")
})?;
// TODO: future single-page policy may reject multiple Page suggestions.
Ok(suggestions)
}
@@ -66,7 +66,6 @@ impl Default for SpriteBorder {
#[ts(export, export_to = concat!(env!("CARGO_MANIFEST_DIR"), "/../src/features/ui-editor/types/"))]
pub struct SpriteAssetMetadata {
pub(crate) name: String,
// TODO
pub(crate) asset_type: String,
}
#[derive(Clone, Debug, Deserialize, PartialEq, Serialize, TS)]
@@ -74,7 +73,6 @@ pub struct SpriteAssetMetadata {
pub struct SpriteAsset {
pub(crate) asset_id: SpriteAssetId,
pub(crate) metadata: SpriteAssetMetadata,
// TODO
pub(crate) path: String,
#[ts(as = "[f32; 2]")]
pub(crate) pixel_size: Vector2<f32>,