Skip to content

Feat/issue 3851 自定义连接线样式 #3974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 16, 2025

Conversation

hokkine
Copy link

@hokkine hokkine commented May 29, 2025

[中文版模板 / 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

#3851

💡 Background and solution

📝 Changelog

允许为任意一条依赖线单独赋予样式,独立的样式配置会覆盖统一的样式配置
增加示例 gantt-linkLine-style (后续依赖线样式相关的feature也会放在这里)

Language Changelog
🇺🇸 English support custom style for each dependency link
🇨🇳 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

@github-actions github-actions bot added the docs label May 29, 2025
@fangsmile fangsmile changed the title Feat/issue 3851 Feat/issue 3851 自定义连接线样式 Jun 3, 2025
@@ -31,8 +31,12 @@ ITaskLink 的定义为:
export type ITaskLink = {
/** 依赖的类型 */
type: DependencyType;
linkedFromTaskKey?: string | number;
linkedToTaskKey?: string | number;
/** 依赖线的起始任务唯一标识。如果是tree树形结构的数据 设置数组的话 查找性能会更高 */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

需要对应docs/assets/option/en 英文也需要一份。https://visactor.com/vtable/guide/gantt/gantt_dependency_links 这个教程也需要对应补充下样式配置小节内容

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的👌

@fangsmile fangsmile changed the base branch from develop to feat/gantt-linkLineStyle June 16, 2025 07:03
@fangsmile fangsmile merged commit 1ff35cc into VisActor:feat/gantt-linkLineStyle Jun 16, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants