antvis/G6

AntV OSCP 初级任务 #5094

Yanyan-Wang posted onGitHub

问题描述

AntV Open Source Contribution Plan(可选)

  • 我同意将这个 Issue 参与 OSCP 计划

Issue 类型

初级

任务介绍

为 v5 版本贡献 demo,可以是任意的自己尝试、落地过程中的小 demo 或案例,只要能够体现某一种/多种 API 的用法、实现某一小功能,且与现有 demo 不重复即可。

线上任务

  • 右上角 star 仓库
  • 提个 ISSUE,文字简单描述即将贡献的 demo,以及使用场景
  • Clone 仓库:git clone https://github.com/antvis/G6.git
  • checkout 到 v5 分支:git checkout v5
  • 拉下最新 v5 代码(若之前拉过):git pull --rebase origin v5
  • 安装:pnpm install
  • 进入 g6 目录:cd packages/g6
  • watch g6:npm start
  • 另开命令行,进入 site 目录: cd packages/site
  • 启动官网:npm start
  • 在(官网示例目录下)[https://github.com/antvis/G6/tree/v5/packages/site/examples],增加 demo 后,提 PR,关联 ISSUE
  • 优先放入现有示例分类中的某一个,若无合适位置,可新增分类,CR 时讨论放在何处

重现链接

-

重现步骤

见上方问题描述

预期行为

在官网正常运行 demo,该 demo 能展示一种用法,并与现有 demo 不完全重复。

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]
  • G6 版本: [5.0.0-beta ]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


请复制以下模板,填写相关信息,然后删除模板中的注释。 Please copy the following template, fill in the relevant information, and then delete the comments in the template.


## Issue 认领 / Issue Claim

**贡献者/Contributor**

> 例如:张三, 李四
> For example: John Smith, Sarah Johnson

**预计完成时间/Estimated Completion Date**

> 例如:2023-06-06
> For example: May 30, 2023

**联系方式/Contact Information**

> 例如:contact@email.com
> For example: contact@email.com

**其他信息/Additional Information**

> 例如:这个 issue 比预期的要复杂,我希望能获得更多的奖励
> For example: This issue is more complex than expected, and I hope to receive more reward.
posted by github-actions[bot] over 1 year ago

Fund this Issue

$0.00
Funded

Pull requests