Skip to content

feat(gantt): 基线任务条文档与示例同步#5023

Open
fangsmile wants to merge 3 commits intodevelopfrom
feat/gantt-baseline-taskbar
Open

feat(gantt): 基线任务条文档与示例同步#5023
fangsmile wants to merge 3 commits intodevelopfrom
feat/gantt-baseline-taskbar

Conversation

@fangsmile
Copy link
Contributor

  • docs(gantt): 新增基线任务条 API/Guide/Demo,挂载至菜单
  • docs(option): 在任务条选项中新增 baseline* 配置项并移除 baselineTakeSpace
  • docs(api): 补充 getBaselineInfoByTaskListIndex 方法说明
  • docs(style): 同步 ITaskBarStyle 变更(添加 paddingTop、保留 borderLineWidth)
  • examples/tests: 基线示例与用例同步
  • impl(gantt): 与文档一致的渲染逻辑与类型更新

背景:为甘特图任务条增加“基线时间”绘制能力,并提供完整教程与示例以便用户快速使用。

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Refactoring
  • Update dependency
  • Code style optimization
  • Test Case
  • Branch merge
  • Site / documentation update
  • Demo update
  • Workflow
  • Chore
  • Release
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

🚀 Summary

copilot:summary

🔍 Walkthrough

copilot:walkthrough

- docs(gantt): 新增基线任务条 API/Guide/Demo,挂载至菜单
- docs(option): 在任务条选项中新增 baseline* 配置项并移除 baselineTakeSpace
- docs(api): 补充 getBaselineInfoByTaskListIndex 方法说明
- docs(style): 同步 ITaskBarStyle 变更(添加 paddingTop、保留 borderLineWidth)
- examples/tests: 基线示例与用例同步
- impl(gantt): 与文档一致的渲染逻辑与类型更新

背景:为甘特图任务条增加“基线时间”绘制能力,并提供完整教程与示例以便用户快速使用。
- 将多处 `defaultRowHeight` 自定义回调的无记录返回值改为 `undefined`,以触发自动行高计算
- 在基线任务条计算中补充空字段判断,避免无字段时产生错误值
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant