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

[Bug] The latest commit information on the repo homepage user card openrank is not added #842

Closed Tenth-crew closed 3 months ago

Tenth-crew commented 4 months ago

Version

latest

Current Behavior

image

Expected Behavior

I hope that the user card can add openrank information normally

Environment

- OS: Windows11 
- Browser: Edge 126.0.2592.113

Any additional comments?

No response

wangyantong2000 commented 4 months ago

It should be due to the dynamic loading of the page. At the beginning, when you retrieve the elements, the network did not load them, causing yourdocument. querySelectorAll (hovercardselector)query to be empty.

wangyantong2000 commented 3 months ago
image image image

https://github.com/opencv/opencv

At present, such a problem still exists, whether it will be solved.

Tenth-crew commented 3 months ago

Can you describe how you encountered this bug? I don't know the details yet, but the possible reason is a network problem. In the code, I set it to ignore the element if it is not loaded within 1500ms. If you do not load it within the first 1500ms of entering the warehouse, the element may not be monitored.

wangyantong2000 commented 3 months ago

image image image https://github.com/opencv/opencv

At present, such a problem still exists, whether it will be solved.

The first two diagrams are on the same screen. The second diagram shows openrank, but the first one does not. The second diagram is in the contributors screen, for a person whose openrank is there but isn't shown. And no one else's cards in that contributors are shown.

Tenth-crew commented 3 months ago

The reason I can think of is network issues. Maybe we can set the waiting time to be longer.