v1.9.0-rc.8 - SIT finished

This commit is contained in:
LINING-PC\lining
2026-02-07 18:44:23 +08:00
parent cf4d410e95
commit 430015e3fe
28 changed files with 1676 additions and 994 deletions
+38
View File
@@ -506,5 +506,43 @@
"🎉 Optimized: Refactored components, Perfectly supports Nuxt3, TailwindCSS and other frameworks",
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to andrijor@gmail.com for their professional feedback</span>"
]
},
{
"version": "1.9.0",
"date": "2026-02-07",
"notes": [
"🎉 新增:GanttChart支持资源视图模式,通过viewMode属性切换任务视图和资源视图",
"🎉 新增:资源视图以资源为行维度展示,支持一行多任务条布局",
"🎉 新增:Task对象增加resources字段,支持配置每个资源的投入占比(10%-100%)",
"🎉 新增:TaskBar高度按资源占比动态缩放,支持占比文字标注和Tooltip显示",
"🎉 新增:基于占比累计的资源超负荷检测和视觉预警",
"🎉 新增:TaskDrawer增加资源占比配置控件,支持输入校验",
"🎉 新增:资源视图支持任务拖拽、拉伸、计时等交互操作",
"🎉 新增:资源列表支持声明式组件配置列",
"🎉 新增:Resource数据模型类和useResourceLayout、useViewMode等composables",
"🎉 优化:抽取资源布局计算逻辑到独立composable,避免组件职责膨胀",
"🎉 优化:扩展v-memo优化覆盖范围,提升渲染性能",
"🎉 优化:重构provide/inject依赖传递,简化组件依赖关系",
"🎉 优化:恢复滚动防抖机制,平衡响应性和性能",
"🎉 优化:历史数据向后兼容,未配置占比时默认为100%",
"🔧 修复: 将Theme设置从HTML root变更到Gantt Component root",
"<span style=\"font-weight: bold; color: #f00;\">特别感谢a_sunshine@gitee的使用与反馈</span>",
"🎉 Added: GanttChart supports resource view mode, switch via viewMode property",
"🎉 Added: Resource view displays by resource dimension with multiple task bars per row",
"🎉 Added: Task object adds resources field for configuring resource allocation percentage (10%-100%)",
"🎉 Added: TaskBar height scales by percentage with text label and Tooltip support",
"🎉 Added: Resource overload detection and visual alerts based on percentage accumulation",
"🎉 Added: TaskDrawer adds resource percentage configuration with input validation",
"🎉 Added: Resource view supports task drag, resize, timing and other interactions",
"🎉 Added: Resource list supports declarative component column configuration",
"🎉 Added: Resource model class and composables including useResourceLayout, useViewMode",
"🎉 Optimized: Extracted resource layout logic to independent composable",
"🎉 Optimized: Extended v-memo optimization coverage for better performance",
"🎉 Optimized: Refactored provide/inject dependency passing",
"🎉 Optimized: Restored scroll debounce mechanism",
"🎉 Optimized: Backward compatible with historical data, defaults to 100%",
"🔧 Fixed: Changed Theme setting from HTML root to Gantt Component root",
"<span style=\"font-weight: bold; color: #f00;\">Special thanks to a_sunshine@gitee for their use and feedback</span>"
]
}
]