[OSS101] Task 5: Display Community OpenRank
Brief Information
This pull request is in the type of (more info about types):
- [ ] build
- [ ] ci
- [ ] docs
- [x] feat
- [ ] fix
- [ ] perf
- [ ] refactor
- [ ] test
Related issues (all available keywords):
- Resolves #809
Details
Add two features of the community OpenRank network and the community OpenRank racing bar to the perceptor page.
- Two folders, community-openrank-network and community-openrank-racing-bar, have been added to the project src/pages/ContentScripts/features directory
- The api file community.ts for obtaining community OpenRank data has been added to the project src/api directory
- 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
- The final looks:
Checklist
- [x] I have read the CONTRIBUTING doc
- [x] I have signed the CLA
Others
N.A.
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.
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.
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
@wangyantong2000 Hi~All the problems mentioned above have been resolved, and the final look as shown in the demo gif below.
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.
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.