hypertrons / hypertrons-crx

A browser extension for insights into GitHub, Gitee projects and developers.
https://hypercrx.cn
Apache License 2.0
357 stars 102 forks source link

[OSS101] Task 5: Display Community OpenRank #843

Open Fiveneves opened 4 months ago

Fiveneves commented 4 months ago

Brief Information

This pull request is in the type of (more info about types):

Related issues (all available keywords):

Details

Add two features of the community OpenRank network and the community OpenRank racing bar to the perceptor page.

  1. Two folders, community-openrank-network and community-openrank-racing-bar, have been added to the project src/pages/ContentScripts/features directory
  2. The api file community.ts for obtaining community OpenRank data has been added to the project src/api directory
  3. The Chinese and English title and description fields for the two newly added features have been added to the translation.json file in the src/locales/en and src/locales/zh_CN directories of the project respectively
  4. The final looks: image image

Checklist

Others

N.A.

wangyantong2000 commented 4 months ago

Would it be better to compare similar items in racing bar, such as comparing people to people, comparing PR to PR, and so on. Perhaps a selection box can be added to choose between different categories, or in other ways.

andyhuang18 commented 4 months ago

Hi~@Fiveneves Thank you for your detailed work. You provided rich pictures and detailed descriptions. From your commit flow, it can be seen that you take this task seriously.

Fiveneves commented 4 months ago

Would it be better to compare similar items in racing bar, such as comparing people to people, comparing PR to PR, and so on. Perhaps a selection box can be added to choose between different categories, or in other ways.

Okay, I'll try to change it

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

Fiveneves commented 4 months ago

@wangyantong2000 Hi~All the problems mentioned above have been resolved, and the final look as shown in the demo gif below. demo

wangyantong2000 commented 3 months ago

Sorry for not replying to this PR for a long time. This task was completed very well. The task is to design and develop features related to Community OpenRank. The final form you presented is good. Just because the previous similar function was to directly request the obtained data. And the data for this feature was not directly provided. You organize the relevant data by yourself, and there may be situations where there is no data according to the default dates set in the code, such as some new warehouses. So this PR may not be merged into the main repository temporarily. But this is due to data level issues, which does not prevent it from being a good final assignment. You have successfully and well completed this assignment.

wxharry commented 3 months ago

Sorry for not replying to this PR for a long time. This task was completed very well. The task is to design and develop features related to Community OpenRank. The final form you presented is good. Just because the previous similar function was to directly request the obtained data. And the data for this feature was not directly provided. You organize the relevant data by yourself, and there may be situations where there is no data according to the default dates set in the code, such as some new warehouses. So this PR may not be merged into the main repository temporarily. But this is due to data level issues, which does not prevent it from being a good final assignment. You have successfully and well completed this assignment.

If there are some cases that data is not provided, we should handle it properly in this feature. This feature is supposed to be independant.