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 0.21.1 #1601

Merged
merged 43 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
020862a
fix: fix issue with insertAfter and insertBefore
neuqzxy Nov 21, 2024
c889904
docs: update document
neuqzxy Nov 26, 2024
36023e6
docs: update docs
neuqzxy Nov 28, 2024
c9dd60e
Merge pull request #1581 from VisActor/sync/main-0.21.0
neuqzxy Nov 28, 2024
d100a25
docs: add en attribute docs
neuqzxy Nov 28, 2024
cb90b1a
Merge pull request #1582 from VisActor/docs/document-update
neuqzxy Nov 28, 2024
3a08504
docs: update docs
neuqzxy Nov 28, 2024
99a37ad
Merge pull request #1583 from VisActor/docs/document-update
neuqzxy Nov 28, 2024
1014914
docs: fix docs livedemo issue
neuqzxy Nov 28, 2024
ce7a342
Merge pull request #1584 from VisActor/docs/document-update
neuqzxy Nov 28, 2024
cb6aa96
docs: improve document content
neuqzxy Nov 28, 2024
9ad2d56
Merge pull request #1585 from VisActor/docs/document-update
neuqzxy Nov 28, 2024
33f8b81
fix: end symbol angle when arc line in markpoint. fix @VisActor/VChar…
skie1997 Dec 1, 2024
76d4194
fix: fix the issue when line is configured to connect, closed #3238
neuqzxy Dec 2, 2024
2f42827
fix: fix issue with richtext setAttribute, closed #1578
neuqzxy Dec 2, 2024
b09a397
fix: do & op & po type angle problem
skie1997 Dec 2, 2024
9997eb6
Merge pull request #1588 from VisActor/fix/line-connect-first
neuqzxy Dec 3, 2024
0d5e67d
Merge pull request #1587 from VisActor/fix/richtext-attribute-opacity
neuqzxy Dec 3, 2024
27c33d5
Merge pull request #1586 from VisActor/fix/mark-point-symbol-angle
xile611 Dec 3, 2024
831c94a
feat: support vertex point of marker area label. close @VisActor/VCha…
skie1997 Dec 3, 2024
53e76b8
Merge pull request #1589 from VisActor/feat/marker-area-label
skie1997 Dec 3, 2024
cf1d205
docs: add vrender contributing docs
neuqzxy Dec 3, 2024
6cc7598
Merge pull request #1590 from VisActor/docs/contributing
neuqzxy Dec 3, 2024
3cfb14e
fix: fix issue with scroll-plugin
neuqzxy Dec 3, 2024
004d8b7
fix: fix product name references in Getting_Started.md
Aluomolo Dec 4, 2024
b1dd899
fix: fix issue with scroll-bar bounds calc
neuqzxy Dec 4, 2024
2032eae
feat: support `restorePosition` in position/bound label overlap strategy
xiaoluoHe Dec 5, 2024
a41c75a
docs: add changelog
xiaoluoHe Dec 5, 2024
dc86869
fix: add comment
xiaoluoHe Dec 5, 2024
2bff9ca
feat: optimize shiftY
xiaoluoHe Dec 5, 2024
08d0f6a
fix: fix issue with richtext default font
neuqzxy Dec 5, 2024
4b8604b
Merge pull request #1596 from VisActor/feat/label-strategy-restorePos…
xile611 Dec 5, 2024
9c9a091
chore: update macOS-12 to macOS-13 in workflow
xile611 Dec 5, 2024
32ec62f
Merge pull request #1574 from VisActor/fix/insert-before-after
neuqzxy Dec 5, 2024
b674fc9
Merge pull request #1598 from VisActor/fix/richtext-default-font
neuqzxy Dec 5, 2024
82b42a5
fix: clampForce refactor
xiaoluoHe Dec 5, 2024
41cb75e
Merge pull request #1599 from VisActor/chore/workflow-macos
neuqzxy Dec 5, 2024
283c1ee
Merge pull request #1597 from VisActor/feat/optimize-shiftY
neuqzxy Dec 5, 2024
2e908fc
feat: upgrade vutils to 0.19.2
neuqzxy Dec 5, 2024
1e5ed21
Merge pull request #1600 from VisActor/feat/vutils-0.19.2
neuqzxy Dec 5, 2024
f246853
Merge pull request #1593 from VisActor/fix/scroll-bar-plugin
neuqzxy Dec 5, 2024
37f859d
Merge pull request #1595 from Aluomolo/fix/241204-getting-start-doc
neuqzxy Dec 5, 2024
2d2b4be
build: prelease version 0.21.1
github-actions[bot] Dec 5, 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
2 changes: 1 addition & 1 deletion .github/workflows/hotfix-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macOS-12 # 如果用了electron,记得改成 macOS-latest
runs-on: macOS-13 # 如果用了electron,记得改成 macOS-latest
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: macOS-12 # 如果用了electron,记得改成 macOS-latest
runs-on: macOS-13 # 如果用了electron,记得改成 macOS-latest

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
update-changelog-after-publish-a-release:
name: GitHub Actions Test
runs-on: macOS-12
runs-on: macOS-13

strategy:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: macOS-12 # 如果用了electron,记得改成 macOS-latest
runs-on: macOS-13 # 如果用了electron,记得改成 macOS-latest
permissions:
contents: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-main-to-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if_merged:
if: github.event.pull_request.merged == true

runs-on: macOS-12
runs-on: macOS-13

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
runs-on:
- macOS-12
- macOS-13

strategy:
matrix:
Expand Down
68 changes: 34 additions & 34 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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":"vrenderMain","version":"0.21.0","nextBump":"minor"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.21.1","nextBump":"patch"}]
7 changes: 7 additions & 0 deletions docs/assets/api/en/common/attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,10 @@ shadowRoot 在宿主图元的上方还是下方,>0 为下方,<0 为上方
#${prefix} globalCompositeOperation(CanvasRenderingContext2D['globalCompositeOperation']) = ''

对应 Canvas 的 globalCompositeOperation,用来配置滤镜

#${prefix} boundsPadding(number[]) = []

图元的包围盒的 padding,当自动计算的AABBBounds不满足要求的时候可以配置,可以调整包围盒的大小。
如果是number,那么四个方向的padding都是这个值
如果是[number, number] ,那么分别是上下和左右的padding
如果是[number, number, number, number],那么分别是上右下左的
7 changes: 7 additions & 0 deletions docs/assets/api/zh/common/attribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,10 @@ shadowRoot 在宿主图元的上方还是下方,>0 为下方,<0 为上方
#${prefix} globalCompositeOperation(CanvasRenderingContext2D['globalCompositeOperation']) = ''

对应 Canvas 的 globalCompositeOperation,用来配置滤镜

#${prefix} boundsPadding(number[]) = []

图元的包围盒的 padding,当自动计算的AABBBounds不满足要求的时候可以配置,可以调整包围盒的大小。
如果是number,那么四个方向的padding都是这个值
如果是[number, number] ,那么分别是上下和左右的padding
如果是[number, number, number, number],那么分别是上右下左的
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
---
title: 1. Setting up Development Environment

key words: VisActor, VChart, VTable, VStory, VMind, VGrammar, VRender, Visualization, Chart, Data, Table, Graph, Gis, LLM
---

# Github

## 1.1 Register an Account

The VisActor team usually develops and maintains issues on Github. Please open the [Github website](https://github.com/), click the `Sign up` button in the top right corner, register your own account, and take the first step on your open-source journey.

If, due to special circumstances, you are unable to access the Github site, please inform us and proceed with project development through [Gitee](https://gitee.com/VisActor/VRender).

## 1.2 Fork the Project

First, you need to fork this project. Go to the [VRender project page](https://github.com/VisActor/VRender) and click the Fork button in the top right corner.

<img src='https://cdn.jsdelivr.net/gh/xiaoluoHe/articles/visactor/img/SCR-20241202-oosd.png' alt='' width='1000' height='auto'>

Your github account will show the project xxxx(your github username)/vrender.

<img src='https://cdn.jsdelivr.net/gh/xiaoluoHe/articles/visactor/img/SCR-20241202-okqc.png' alt='' width='600' height='auto'>

# Local Development Environment

## 2.1 Install Git

Since the code is hosted on Github, we use git for version control.

Git is a version control system used to track and manage code changes in software development projects. It helps developers record and manage the history of code, facilitating team collaboration, code version control, code merging, and other operations. With Git, you can track every version of each file and easily switch and compare between different versions. Git also provides branch management functionality, allowing multiple parallel development tasks to be carried out simultaneously.

- Visit the Git official website: [https://git-scm.com/](https://git-scm.com/)

- Download the latest version of the Git installer.

- Run the downloaded installer and follow the installation wizard instructions.

- After installation, you can confirm the successful installation by using the `git version` command in the command line.

```
git version
**git version 2.39.2 (Apple Git-143)**
```

## 2.2 Install Development Tools (Recommended: VSCode)

VisActor is mainly in the front-end technology stack, and there are many tools available for front-end development. We recommend using VSCode. Of course, you can also use your preferred development tool.

If you are not familiar with VSCode, it is recommended to read the official documentation: [https://vscode.js.cn/docs/setup/setup-overview](https://vscode.js.cn/docs/setup/setup-overview)

## 2.3 Install Marscode AI Programming Assistant

[Marscode AI Programming Assistant](https://www.marscode.cn/home?utm_source=developer&utm_medium=oss&utm_campaign=visactor_a)

Marscode AI Programming Assistant is an AI programming assistant provided by Marscode, offering AI features such as intelligent code completion. It supports mainstream programming languages and IDEs, providing suggestions for writing single lines of code or entire functions during development. Additionally, it supports functions such as code interpretation, unit test generation, and issue fixing, improving development efficiency and quality. For more information, please refer to the [documentation of Marscode AI Programming Assistant](https://www.marscode.cn/home?utm_source=developer&utm_medium=oss&utm_campaign=visactor_a).

<img src='https://cdn.jsdelivr.net/gh/xuanhun/articles/visactor/img/DLaKb4PysoADAZx0x1RcYjXbnBe.gif' alt='' width='760' height='auto'>

With Marscode, VisActor developers can more conveniently perform tasks such as code understanding, document writing, feature development, and unit testing. Detailed examples will be provided in the contribution guidelines for various tasks.

<img src='https://cdn.jsdelivr.net/gh/xuanhun/articles/visactor/img/BQeib7E2gonoOaxLPqjcRtAYngh.gif' alt='' height='auto' style="width: 500px">

## 2.4 Clone the Code to Local

Navigate to the VRender folder and add the remote address of VRender.

```
git remote add upstream https://github.com/VisActor/VRender.git
```

Get the latest source code of VRender.

```
git pull upstream develop
```

# Initialize the Project

First, globally install [<u>@microsoft/rush</u>](https://rushjs.io/pages/intro/get_started/)

```
$ npm i --global @microsoft/rush
```

Next, run the command to view the demo.

```
# Install dependencies
$ rush update
# Start the demo page of vrender
$ rush run -p @visactor/vrender -s start
# Start the local document site
$ rush docs
```

# Next Steps

So far, you have prepared for developing code. Please continue reading the next section of the tutorial to start different types of tasks.

Github: [github.com/VisActor](https://link.juejin.cn/?target=https%3A%2F%2Fgithub.com%2FVisActor)

VisActor WeChat subscription account (you can join the WeChat group through the subscription account menu):

<img src='https://cdn.jsdelivr.net/gh/xuanhun/articles/visactor/img/KLjmbz9TtoGzPIxarv7cmhpgnSY.gif' alt='' width='258' height='auto'>

VisActor official website: [www.visactor.io/](https://link.juejin.cn/?target=https%3A%2F%2Fwww.visactor.io%2Fvtable)

Feishu group:

<img src='https://cdn.jsdelivr.net/gh/xuanhun/articles/visactor/img/Cv9xb0zzLoUWyaxMVgccWuGPn7d.gif' alt='' width='264' height='auto'>

Discord: [https://discord.com/invite/3wPyxVyH6m](https://discord.com/invite/3wPyxVyH6m)

# This document is contributed by the following individuals

[Xuanhun](https://github.com/xuanhun)
Loading
Loading