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
sometimes not showing cards #45
Comments
I've refreshed the page > 20 times. Nothing happened. |
well, it was working when I've installed it. Is it possible that there is a maximal number of cards that you can show in a page? |
No. |
Sorry, but I do not get your approach. Do you think it is a bug or an error in how I've installed your library? |
I think that the problem is that your script is making a request for a single repository and then format it. But it probably should make the requests for all the repository, and then, when all of them have a response, render them. Something like "Promise.all" should do the job. Otherwise, you could get all the repository for a single user and then filter them |
I can confirm that it works with 4 cards but it is broken with 6 |
@edap download the script and put it locally. Worked fine for me. CDN version seems to be broken |
@yury-dymov it is still not working, also when the script is in local http://davideprati.com/tools. |
works fine for me: https://dymov.me/ |
@yury-dymov it really shouldn't, are you sure you're not operating from local cache? |
oh, shi... Probably I am done using this package update: editing local |
i managed to get it working (hopefully as a temporary solution) by just including the iframe directly, inspect the bottom of this page to see https://darrenbritton.com/ |
Got the same problem, apparently it is uBlock that is preventing execution, as per this issue: gorhill/uBlock#2029 Maybe the architecture should be rethought? |
New version released. |
Still failing at https://atd.singularities.org with 8 cards
|
@atd if your website is hosted on github, you have access to all your repository without making an API call to github. I've used the css style provided by this repository but I've created a template (in liquid template language) to fetch the repos. https://github.com/edap/edap.github.com/blob/master/_includes/card.html |
No, my website is self-hosted. Are there any API call restrictions involved? |
Some users where reporting it was with the CDN, I did not investigate |
I'm using jekyll hosted on github, there is a global variable with all the repositories. If you are interested, have a look at https://github.com/edap/edap.github.com/blob/master/tools.html |
It's due to jsdelivr CDN changes. |
I'm looking for solution too. |
jsDelivr no longer supports serving files with |
I purged this file "/zhihu-card/0.2.3/theme/github.html" from MaxCDN, CloudFlare, Fastly and Quantil. |
Hey, I'm using your widget but since some days I've this error:
The page where I'm loading your widget is:
http://davideprati.com/tools
When showing just one card there is no problem, when showing 6 I've this behaviour. This error happens randomly, it is not alway reproducible
The text was updated successfully, but these errors were encountered: