Skip to content
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

[Auto release] release 1.12.0 #2996

Merged
merged 50 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
8b9ceab
feat: multiple rows tasks
fangsmile Nov 14, 2024
cd50941
feat: dependency line can create with sub_task case
fangsmile Nov 15, 2024
ddf5309
Merge remote-tracking branch 'origin/develop' into 2829-feature-gantt…
fangsmile Nov 18, 2024
d89c667
feat: add option customComputeRowHeight and defaultRowHeight can set …
fangsmile Nov 19, 2024
93e1344
feat: gantt chart support showHierarchyMode "sub_tasks"
fangsmile Nov 19, 2024
11e625b
feat: add option customComputeRowHeight and defaultRowHeight can set …
fangsmile Nov 19, 2024
2d82776
docs: update changlog of rush
fangsmile Nov 19, 2024
d1175be
fix: when not left table columns render normally
fangsmile Nov 19, 2024
0b9a38a
fix: when not left table columns render normally
fangsmile Nov 19, 2024
b2b73e3
feat: show dependencyline in multiple task lines
fangsmile Nov 20, 2024
fa878f0
feat: rename tasksShowMode type
fangsmile Nov 21, 2024
ec331dd
fix: set taskbar node zindex
fangsmile Nov 21, 2024
4dda8e7
feat: add tasksShowMode Sub_Tasks_Arrange
fangsmile Nov 25, 2024
24614ee
feat: resize taskbar recreate nodes
fangsmile Nov 25, 2024
f305c04
feat: add show mode sub_tasks_compact
fangsmile Nov 26, 2024
65e674d
docs: add getTaskBarRelativeRect api #2920
fangsmile Nov 29, 2024
552858d
docs: update changlog of rush
fangsmile Nov 29, 2024
41b23dd
Merge pull request #2974 from VisActor/main
Rui-Sun Nov 29, 2024
ae5de20
docs: generate changelog of release v1.11.5
Rui-Sun Nov 29, 2024
5cf1a47
docs: update setRecords usage
fangsmile Nov 29, 2024
4fb558b
Merge pull request #2975 from VisActor/docs/generate-changelog-v1.11.5
Rui-Sun Nov 29, 2024
7e3ab60
Merge remote-tracking branch 'origin/develop' into 2920-feature-vtabl…
fangsmile Nov 29, 2024
bd670ec
fix: when edit record task date update taskbar occor error #2938
fangsmile Nov 29, 2024
9f014d8
docs: update changlog of rush
fangsmile Nov 29, 2024
86fad3d
test: update gantt test demo
fangsmile Nov 29, 2024
fe84cc6
Merge remote-tracking branch origin/develop into 2829-feature-ganntt-…
fangsmile Nov 29, 2024
9c8a39a
Merge remote-tracking branch origin/2938-bug-edit-createLink-error in…
fangsmile Nov 29, 2024
dc49ad1
fix: when can not find record occor error
fangsmile Nov 29, 2024
d6d6e71
fix: drag row order height error
fangsmile Dec 2, 2024
98bdb1c
fix: records not children occor error
fangsmile Dec 2, 2024
faaf8fa
docs: add taskShowMode demos and guide
fangsmile Dec 2, 2024
305e025
fix: 修复甘特图执行updateScales时,grid宽度计算错误的问题
Dec 3, 2024
5ef3209
chore: update dependencies
fangsmile Dec 3, 2024
00f18f5
fix: when record no dependency link not exist occor error
fangsmile Dec 3, 2024
9389b61
chore: update dependencies
fangsmile Dec 3, 2024
793f30b
fix: after add taskbarclip group resize error
fangsmile Dec 3, 2024
ba3c3db
Merge pull request #2989 from guaizi149/fix/gridWidthCal
fangsmile Dec 3, 2024
035ff44
chore: add changelog
fangsmile Dec 3, 2024
b4ddc53
Merge pull request #2842 from VisActor/2829-feature-gantt-chart-suppo…
fangsmile Dec 3, 2024
f663a31
Merge pull request #2970 from VisActor/2920-feature-vtable-gantt-task…
fangsmile Dec 3, 2024
ea7a32b
Merge pull request #2990 from VisActor/fix/gridWidthCal
fangsmile Dec 3, 2024
67882a5
fix: fix last col&row editor size #2926
Rui-Sun Dec 2, 2024
dd1424b
fix: fix cell update event problem in CustomCellStylePlugin #2927
Rui-Sun Dec 2, 2024
6fee051
fix: fix react-component in tree mode update
Rui-Sun Dec 2, 2024
ad3c2ba
fix: fix strokeArrayWidth update in updateCell() #2811
Rui-Sun Dec 2, 2024
125f1b3
fix: fix legend visible problem when reize table
Rui-Sun Dec 2, 2024
c85b1a1
fix: fix merge radio cell check update #2881
Rui-Sun Dec 3, 2024
61578b7
fix: fix cache problem in Icon.loadGif() #2905
Rui-Sun Dec 3, 2024
d74e7cd
fix: fix default row height in computeRowHeight() #2903
Rui-Sun Dec 3, 2024
1248bf7
build: prelease version 1.12.0
github-actions[bot] Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
412 changes: 234 additions & 178 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.11.5","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.12.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
21 changes: 21 additions & 0 deletions docs/assets/api/en/GanttAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@ deleteLink: (link: ITaskLink) => void

```

### scrollTop

Get or set the vertical scroll value to a specified position.

### scrollLeft

Get or set the horizontal scroll value to a specified position.

### getTaskBarRelativeRect(Function)

Get the position of the task bar. The position relative to the top-left corner of the Gantt chart.

```
getTaskBarRelativeRect:(index: number) =>{
left: number;
top: number;
width: number;
height: number;
}
```

## Events

The Gantt chart event list allows you to listen to the required events and implement custom business logic as needed.
Expand Down
5 changes: 3 additions & 2 deletions docs/assets/api/en/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ Set the table data interface, which can be called as an update interface.

Basic table updates:

The basic table can also set the sorting status to sort the table data. Set sortState to null to clear the sorting status. If not set, the incoming data will be sorted according to the current sorting status.
The basic table can also set the sorting status to sort the table data. Set sortState to null to clear the sorting status. If not set, the incoming data will be sorted according to the current sorting status.In a scenario where internal sorting is disabled, be sure to clear the current sorting state before invoking the interface.

```
setRecords(
records: Array<any>,
option?: { sortState?: SortState | SortState[]}
option?: { sortState?: SortState | SortState[] | null }
): void;
```

Expand Down Expand Up @@ -1322,6 +1322,7 @@ setCanvasSize: (width: number, height: number) => void;
## setLoadingHierarchyState(Function)

Set the loading state of the tree expansion and collapse of the cell

```
/** Set the loading state of the tree expansion and collapse of the cell */
setLoadingHierarchyState: (col: number, row: number) => void;
Expand Down
21 changes: 21 additions & 0 deletions docs/assets/api/zh/GanttAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@

```

### scrollTop

竖向滚动到指定位置的滚动值获取或者设置

### scrollLeft

横向滚动到指定位置的滚动值获取或者设置

### getTaskBarRelativeRect(Function)

获取任务条的位置。相对应甘特图表左上角的位置。

```
getTaskBarRelativeRect:(index: number) =>{
left: number;
top: number;
width: number;
height: number;
}
```

## Events

甘特图事件列表,可以根据实际需要,监听所需事件,实现自定义业务。
Expand Down
6 changes: 3 additions & 3 deletions docs/assets/api/zh/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ tableInstance.renderWithRecreateCells();

基本表格更新:

基本表格可同时设置排序状态对表格数据排序,sortState 设置为 null 清空排序状态,如果不设置则按当前排序状态对传入数据排序。
基本表格可同时设置排序状态对表格数据排序,sortState 设置为 null 清空当前的排序状态,如果不设置则按当前排序状态对传入数据排序。如果是禁用内部排序的场景,请务必在调用该接口前清空当前的排序状态

```
setRecords(
records: Array<any>,
option?: { sortState?: SortState | SortState[] }
option?: { sortState?: SortState | SortState[] | null }
): void;
```

Expand Down Expand Up @@ -1319,7 +1319,7 @@ interface ISortedMapItem {

## setLoadingHierarchyState(Function)

设置单元格的树形展开收起状态为 loading
设置单元格的树形展开收起状态为 loading

```
/** 设置单元格的树形展开收起状态为 loading */
Expand Down
16 changes: 16 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# v1.11.5

2024-11-29


**🆕 New feature**

- **@visactor/vtable**: add @visactor/vtable-plugins package

**📖 Site / documentation update**

- **@visactor/vtable**: 更新进入或离开节点时的事件文档
- **@visactor/vtable**: 更新甘特图事件文档,暴露整个e的信息

[more detail about v1.11.5](https://github.com/VisActor/VTable/releases/tag/v1.11.5)

# v1.11.3

2024-11-28
Expand Down
16 changes: 16 additions & 0 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# v1.11.5

2024-11-29


**🆕 新增功能**

- **@visactor/vtable**: add @visactor/vtable-plugins package

**📖 文档更新**

- **@visactor/vtable**: 更新进入或离开节点时的事件文档
- **@visactor/vtable**: 更新甘特图事件文档,暴露整个e的信息

[更多详情请查看 v1.11.5](https://github.com/VisActor/VTable/releases/tag/v1.11.5)

# v1.11.3

2024-11-28
Expand Down
Loading