Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d9db7c3
Merge pull request #4507 from VisActor/sync/main-2.0.19
xuefei1313 Mar 6, 2026
6945f47
chore: remove unused doc
xuefei1313 Mar 9, 2026
995a0c6
fix: fix issue of sync-main-to-develop action
xuefei1313 Mar 9, 2026
8640efb
Merge pull request #4508 from VisActor/chore/remove-useless-doc
xuefei1313 Mar 9, 2026
97366f5
feat: change post-release dispatch
xuefei1313 Mar 9, 2026
4a48534
Merge pull request #4509 from VisActor/feat/change-post-release-dispatch
xuefei1313 Mar 9, 2026
08a1416
fix: pass valueField to circle-packing layout
xile611 Mar 10, 2026
99fe648
fix: add valueField to ICirclePackingOpt interface
xile611 Mar 10, 2026
5d33aec
fix: fix theme config of spec and option
xile611 Mar 11, 2026
7632f9b
docs: update changlog of rush
xile611 Mar 11, 2026
0e29c54
Merge pull request #4512 from VisActor/fix/theme-config-type
xuefei1313 Mar 11, 2026
e2fa68a
feat: optimiz skill, add user manual
xuefei1313 Mar 11, 2026
6ef824e
Merge pull request #4513 from VisActor/feat/add-skill-user-manual
xuefei1313 Mar 11, 2026
a7785be
chore: upgrade vutils, vdataset, vscale, vlayouts to ~1.0.23
xile611 Mar 12, 2026
fe799cd
chore: add change file for dependency upgrade
xile611 Mar 12, 2026
784a405
Merge pull request #4510 from VisActor/fix/circle-packing-valuefield
xuefei1313 Mar 12, 2026
25e23f2
fix(vchart): fix mark state persistence issue during updateSpec
xuefei1313 Mar 17, 2026
55f6053
fix(vchart): fix mark state persistence issue during updateSpec
xuefei1313 Mar 17, 2026
dabd616
feat(vchart,vchart-types): Add hideWhenEmpty axis option for cartesia…
xuefei1313 Mar 20, 2026
fd653c9
fix(vchart): avoid overriding axis component attrs on visibility sync
xuefei1313 Mar 20, 2026
301af9e
fix: remove product when hide axis
xuefei1313 Mar 20, 2026
1bc4216
feat(vchart): Allow size legend handlerText.style to accept function-…
xuefei1313 Mar 23, 2026
fad0830
Merge pull request #4521 from VisActor/010-hide-empty-axes
xuefei1313 Mar 23, 2026
cc3c46f
Merge pull request #4518 from VisActor/feat/fix-issue-of-mark-state-w…
xuefei1313 Mar 23, 2026
6fe998a
chore: upgrade vrender to fix slider handlerTest style
xuefei1313 Mar 23, 2026
7f3d952
Merge branch 'develop' into 008-fix-size-legend-handler-text
xuefei1313 Mar 23, 2026
cef87ad
Merge pull request #4525 from VisActor/008-fix-size-legend-handler-text
xuefei1313 Mar 23, 2026
ac7b651
fix(vchart): Fix the heatmap scrollbar and left-axis direction mismat…
xuefei1313 Mar 23, 2026
2533b82
fix: datazoom update domain after data change. fix#4186
skie1997 Mar 24, 2026
2711622
Merge branch 'develop' into fix/datazoom-bug
skie1997 Mar 24, 2026
4bf0d83
feat: fix dataZoom range factor #4523
da730 Mar 23, 2026
6f879b2
Merge pull request #4526 from VisActor/009-fix-heatmap-scrollbar-axis…
xuefei1313 Mar 24, 2026
817f3a5
chore: upgrade vrender
skie1997 Mar 25, 2026
b588126
fix(vchart): fix an issue where mark states were not properly cleared…
xuefei1313 Mar 25, 2026
03ab1d3
Merge pull request #4529 from VisActor/009-fix-issue-of-mark-state-wh…
xuefei1313 Mar 25, 2026
ca261bb
chore: upgrade vrender version
skie1997 Mar 25, 2026
f49734a
Merge pull request #4527 from VisActor/fix/datazoom-bug
xuefei1313 Mar 26, 2026
42ebc6f
build: release version 2.0.20 [skip ci]
xuefei1313 Mar 26, 2026
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
20 changes: 15 additions & 5 deletions .changelog/en.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# v2.0.19
# v2.0.20

2026-03-06
2026-03-26

**🐛 Bug Fixes**

- **@visactor/vchart**: fix theme config of spec and option
- **@visactor/vchart**: datazoom update domain after data change. fix#4186

**🔨 Chores**

- **@visactor/vchart**: remove unused GitHub Actions workflows
- **@visactor/vchart**: update changes for 008-fix-size-legend-handler-text: Allow size legend handlerText.style to accept function-based values in the same way other legend style hooks already do, and add regression coverage proving the style callback is preserved through continuous legend attribute transformation.
- **@visactor/vchart**: update changes for 009-fix-heatmap-scrollbar-axis-direction: Align ScrollBar with DataZoom by using the shared reverse-axis detection when converting scrollbar state percentages back into domain values.
- **@visactor/vchart**: update changes for 009-fix-issue-of-mark-state-when-updateSpec: Fix an issue where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: update changes for 010-hide-empty-axes: Add an opt-in hideWhenEmpty axis option for cartesian axes.
- **@visactor/vchart**: update changes for 009-fix-issue-of-mark-state-when-updateSpec: Fix an issue where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: upgrade vutils, vdataset, vscale, vlayouts to ~1.0.23

**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.18...v2.0.19
**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.19...v2.0.20

[more detail about v2.0.19](https://github.com/VisActor/VChart/releases/tag/v2.0.19)
[more detail about v2.0.20](https://github.com/VisActor/VChart/releases/tag/v2.0.20)
20 changes: 15 additions & 5 deletions .changelog/harmony.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# v2.0.19
# v2.0.20

2026-03-06
2026-03-26

**🐛 Bug Fixes**

- **@visactor/vchart**: fix theme config of spec and option
- **@visactor/vchart**: datazoom update domain after data change. fix#4186

**🔨 Chores**

- **@visactor/vchart**: remove unused GitHub Actions workflows
- **@visactor/vchart**: update changes for 008-fix-size-legend-handler-text: Allow size legend handlerText.style to accept function-based values in the same way other legend style hooks already do, and add regression coverage proving the style callback is preserved through continuous legend attribute transformation.
- **@visactor/vchart**: update changes for 009-fix-heatmap-scrollbar-axis-direction: Align ScrollBar with DataZoom by using the shared reverse-axis detection when converting scrollbar state percentages back into domain values.
- **@visactor/vchart**: update changes for 009-fix-issue-of-mark-state-when-updateSpec: Fix an issue where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: update changes for 010-hide-empty-axes: Add an opt-in hideWhenEmpty axis option for cartesian axes.
- **@visactor/vchart**: update changes for 009-fix-issue-of-mark-state-when-updateSpec: Fix an issue where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: upgrade vutils, vdataset, vscale, vlayouts to ~1.0.23

**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.18...v2.0.19
**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.19...v2.0.20

[more detail about v2.0.19](https://github.com/VisActor/VChart/releases/tag/v2.0.19)
[more detail about v2.0.20](https://github.com/VisActor/VChart/releases/tag/v2.0.20)
20 changes: 15 additions & 5 deletions .changelog/zh.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# v2.0.19
# v2.0.20

2026-03-06
2026-03-26

**🐛 问题修复**

- **@visactor/vchart**: 修复 theme config of spec and option
- **@visactor/vchart**: datazoom update domain after data change. fix#4186

**🔨 维护与杂项**

- **@visactor/vchart**: remove unused GitHub Actions workflows
- **@visactor/vchart**: 更新 changes for 008-fix-size-图例-handler-text: Allow size 图例 handlerText.style accept function-based values in the same way other 图例 style hooks already do, and add regression coverage proving the style callback is preserved through continuous 图例 attribute transformation.
- **@visactor/vchart**: 更新 changes for 009-fix-heatmap-scrollbar-axis-direction: Align ScrollBar with DataZoom by using the shared reverse-axis detection when converting scrollbar state percentages back into domain values.
- **@visactor/vchart**: 更新 changes for 009-fix-问题-of-mark-state-when-updateSpec: Fix an 问题 where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: 更新 changes for 010-hide-empty-axes: Add an opt-in hideWhenEmpty axis option for cartesian axes.
- **@visactor/vchart**: 更新 changes for 009-fix-问题-of-mark-state-when-updateSpec: Fix an 问题 where mark states were not properly cleared when updateSpec was called, causing incorrect state persistence.
- **@visactor/vchart**: 升级 vutils, vdataset, vscale, vlayouts ~1.0.23

**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.18...v2.0.19
**Full Changelog**: https://github.com/VisActor/VChart/compare/v2.0.19...v2.0.20

[更多详情请查看 v2.0.19](https://github.com/VisActor/VChart/releases/tag/v2.0.19)
[更多详情请查看 v2.0.20](https://github.com/VisActor/VChart/releases/tag/v2.0.20)
6 changes: 3 additions & 3 deletions .cursor/commands/speckit.prgenerate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: 'Generate a PR body using the GitHub pull request template and specs/<spec-id>/plan.md; default to the English template and write to specs/<spec-id>/PR_BODY.md.'
description: 'Generate a PR body using the GitHub pull request template and specs/<spec-id>/plan.md; default to the English template and write to .trae/output/pr.body.local.md.'
handoffs:
- label: 'Create Pull Request'
agent: 'speckit.prcreate'
Expand All @@ -22,7 +22,7 @@ You **MUST** consider the user input before proceeding (if not empty), but treat
- Parse `$ARGUMENTS` only for CLI-style options (for example, `--lang`, `--out`):
- If `--lang zh` is present, use the Chinese template at `.github/PULL_REQUEST_TEMPLATE/pr_cn.md`.
- Otherwise, use the English template at `.github/PULL_REQUEST_TEMPLATE.md` (the default; **do not** auto-detect language).
- If an explicit output path is provided (for example, `--out specs/001-foo/PR_BODY.md`), respect it; otherwise, default to `specs/<spec-id>/PR_BODY.md`.
- If an explicit output path is provided (for example, `--out specs/001-foo/PR_BODY.md`), respect it; otherwise, default to `.trae/output/pr.body.local.md`.
- Resolve `specs/<spec-id>/` by deriving the numeric prefix from the current branch name and matching it to a directory under `specs/` whose name starts with that prefix.
- From that directory, resolve `plan.md` as the primary context source for the PR.

Expand Down Expand Up @@ -61,7 +61,7 @@ You **MUST** consider the user input before proceeding (if not empty), but treat

6. **Write PR body file without touching templates**:
- Render the updated markdown content (with checklist, background, and Changelog injected) into a single PR body string.
- Write this string to the resolved output path (default `specs/<spec-id>/PR_BODY.md`), creating parent directories if needed.
- Write this string to the resolved output path (default `.trae/output/pr.body.local.md`), creating parent directories if needed.
- Do **not** modify the original template files under `.github/`.

7. **Validation checklist**:
Expand Down
3 changes: 2 additions & 1 deletion .cursor/rules/specify-rules.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Auto-generated from all feature plans. Last updated: 2026-01-15
- TypeScript 4.x+ (Project uses TS) + `@visactor/vchart` (Core logic), `@visactor/react-vchart` (React wrapper) (007-fix-datazoom-react)
- N/A (In-memory chart state) (007-fix-datazoom-react)
- Markdown + JSON(文档内容与菜单配置) + `@internal/docs` 文档构建体系、`docs/assets/guide/menu.json` 导航配置、现有教程目录结构 (001-vchart-skill-tutorial)
- TypeScript 4.9.5 + `@visactor/vchart`, `@visactor/vutils`, `@visactor/vrender-components` (010-hide-empty-axes)

- TypeScript/React 18 + @visactor/react-vchart, @visactor/vchar (001-react-vchart-demo)

Expand All @@ -27,9 +28,9 @@ npm test && npm run lint
TypeScript 4.9.5: Follow standard conventions

## Recent Changes
- 010-hide-empty-axes: Added TypeScript 4.9.5 + `@visactor/vchart`, `@visactor/vutils`, `@visactor/vrender-components`
- 001-vchart-skill-tutorial: Added Markdown + JSON(文档内容与菜单配置) + `@internal/docs` 文档构建体系、`docs/assets/guide/menu.json` 导航配置、现有教程目录结构
- 007-fix-datazoom-react: Added TypeScript 4.x+ (Project uses TS) + `@visactor/vchart` (Core logic), `@visactor/react-vchart` (React wrapper)
- 007-fix-datazoom-react: Added [if applicable, e.g., PostgreSQL, CoreData, files or N/A]



Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/post-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: Post release after develop synced

on:
repository_dispatch:
types: [develop-synced]
workflow_dispatch:
inputs:
version:
description: 'Release version, e.g. 1.2.3'
required: true
type: string

jobs:
post_release:
Expand All @@ -12,19 +16,19 @@ jobs:
contents: write

steps:
- name: Read version from repository_dispatch payload
- name: Read version from workflow_dispatch input
id: meta
env:
PAYLOAD_VERSION: ${{ github.event.client_payload.version }}
INPUT_VERSION: ${{ github.event.inputs.version }}
run: |
set -euo pipefail
if [ -z "${PAYLOAD_VERSION}" ]; then
echo "No version in client_payload, skip post-release."
if [ -z "${INPUT_VERSION}" ]; then
echo "No version in workflow_dispatch input, skip post-release."
echo "skip=true" >> "$GITHUB_OUTPUT"
exit 0
fi
echo "Using version from payload: ${PAYLOAD_VERSION}"
echo "version=${PAYLOAD_VERSION}" >> "$GITHUB_OUTPUT"
echo "Using version from input: ${INPUT_VERSION}"
echo "version=${INPUT_VERSION}" >> "$GITHUB_OUTPUT"
echo "skip=false" >> "$GITHUB_OUTPUT"

- name: Checkout main
Expand Down
27 changes: 18 additions & 9 deletions .github/workflows/sync-main-to-develop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Sync main to develop after release (Scheme A)
name: Sync main to develop after release

on:
pull_request:
Expand Down Expand Up @@ -102,11 +102,20 @@ jobs:

- name: Create Pull Request to develop
if: steps.sync_branch.outputs.exists == 'false'
uses: dustinirving/create-pr@v1.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: '[Auto Sync] Sync the code from branch main to branch develop after release ${{ steps.package_version.outputs.current_version }}'
base: develop
head: ${{ steps.sync_branch.outputs.sync_branch }}
reviewers: xile611
body: 'Sync the code from branch main to branch develop after release ${{ steps.package_version.outputs.current_version }}'
env:
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
BRANCH="${{ steps.sync_branch.outputs.sync_branch }}"
echo "Source branch: $BRANCH"

# Check if PR already exists
if gh pr list --base develop --head "$BRANCH" --state open --json number --limit 1 | grep -q '"number"'; then
echo "PR from $BRANCH to develop already exists, skip creating."
exit 0
fi

TITLE="[Auto Sync] Sync the code from branch main to branch develop after release ${{ steps.package_version.outputs.current_version }}"
BODY="Sync the code from branch main to branch develop after release ${{ steps.package_version.outputs.current_version }}"

gh pr create --base develop --head "$BRANCH" --title "$TITLE" --body "$BODY" --reviewer xuefei1313
18 changes: 17 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,27 @@
"skipFiles": ["<node_internals>/**"],
"type": "pwa-node"
},
{
"name": "Debug Jest-Electron Current File",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}/packages/vchart",
"program": "${workspaceFolder}/packages/vchart/node_modules/jest/bin/jest.js",
"args": [
"${file}",
"--watch"
],
"env": {
"DEBUG_MODE": "1"
},
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"name": "unit test",
"type": "pwa-node",
"request": "launch",
"program": "${workspaceFolder}/packages/vchart/node_modules/.bin/jest",
"program": "${workspaceFolder}/packages/vchart/node_modules/jest/bin/jest.js",
"args": ["${file}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
Expand Down
Loading
Loading