-
Notifications
You must be signed in to change notification settings - Fork 102
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
[OSS101] Task 4: Circle of contributors #808
Comments
你好,我们找到了Hypercrx源码中关于 Active Developer Collaboration Network的代码,但是不清楚“原先仓库主页中 contributors 下的头像区域”该如何覆盖?请问能否作进一步指导? |
Perhaps the examples in this tutorial will help you. https://github.com/hypertrons/hypertrons-crx/wiki/Tutorial:-Adding-a-feature-to-HyperCRX
|
助教好,我们参考教程,在features中制作了contributor_button组件,参考developer_networks的view-index形式,利用dom树的class/id索引定位替换,构造了如下的index.tsx文件,同时也在feature的index中绑定了组件。但是在yarn run start和重新加载后,好像没有看到网络图的替换。请教助教😁😁
|
You need to remove the sentence |
feat(contributor-button): 添加数据未找到组件并初始化React模块- 创建DataNotFound组件,用于在未找到数据时展示可能的原因。- 在index.ts中引入contributor_button模块,确保其在页面加载时被初始化。 - 初始化contributor_button模块的React组件,包括状态管理、数据获取和视图渲染逻辑。 - 添加必要的类型定义和全局变量,以支持贡献者按钮功能的正确运行。 - 通过ReactModal和Graph组件增强用户界面,提供切换视图的功能。 在贡献者提供了贡献者网络视图 Active Developer Collaboration Network,以及切换按钮,通过点击可以切换贡献者展示视图.增强了对GitHub仓库页面中贡献者列表的展示功能,提供了更丰富的交互体验。
助教好,我们组完成了本次808任务。仓库fork链接:https://github.com/MrH233/hypertrons-crx |
After switching back, the contributors arrangement should be consistent with GitHub's native style. In addition, please submit your work in the form of PR. |
Description
What is the Circle of Contributors?
Contributors generally refer to project contributors, and Circle of contributors can be understood as the circle of contributors. If you have installed Hypercrx , you can click the Preceptor button on a GitHub project and see the Active Developer Collaboration Network at the bottom, as shown in the image below.
Task Objectives
Develop a new Contributor Circle Chart based on network graph data. The data for the network graph can be obtained from opendigger. A sample diagram is shown below. Replace the avatar area under the contributors section on the repository homepage with the Contributor Circle Chart. Additionally, provide a button that allows users to switch back to the default avatar display.
任务描述
Circle of contributors是什么?
contributors一般指的是项目的贡献者,Circle of contributors可以理解为贡献者圈子。如果你安装了Hypercrx,你可以点击 github 项目上的 Preceptor 按钮,在最下方看到 Active Developer Collaboration Network,如下图所示。
任务目标
基于网络图的数据开发一个新的 Contributor Circle Chart,网络图的数据可以从 [opendigger](X-lab2017/open-digger: Open source analysis tools (github.com)) 获取。示意图如下图所示。将 Contributor Circle Chart 覆盖原先仓库主页中 contributors 下的头像区域。并提供按钮能够让用户切换回原本默认的头像显示。
The text was updated successfully, but these errors were encountered: