Skip to content
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

Documentation samples never load #8661

Open
1 of 4 tasks
alexandar-mitsev opened this issue Apr 5, 2024 · 3 comments
Open
1 of 4 tasks

Documentation samples never load #8661

alexandar-mitsev opened this issue Apr 5, 2024 · 3 comments
Labels
bug This issue is a bug in the code documentation This issue is about wrong documentation Medium Prio TOPIC Core

Comments

@alexandar-mitsev
Copy link
Contributor

Issue Description

Hi,

When going on page https://sap.github.io/ui5-webcomponents/components/Avatar the sample of the avatar does not load.
It shows loading indication for the sample, but this never ends.
No errors in the console, but in network constantly tries to load an "index.html" and it fails continuesly.

Same happens for all samples I tried.

Issue Type

  • Documentation is unclear
  • Documentation is incorrect
  • Documentation is missing
  • Other
@alexandar-mitsev alexandar-mitsev added documentation This issue is about wrong documentation bug This issue is a bug in the code labels Apr 5, 2024
@dobrinyonkov dobrinyonkov self-assigned this Apr 5, 2024
@alexandar-mitsev
Copy link
Contributor Author

alexandar-mitsev commented Apr 5, 2024

Seems the issue is reproducible only when the dev console is open. Tested with both Chrome and Firefox.
In Firefox there is a message on the place of the sample: Cannot find "/__playground_swfs_1dae6563/esefb9/index.html" in [email protected]

On localhost, e.g. http://localhost:3000/components/Avatar , build from main branch - same issue is reproduced even when dev console is closed.

@dobrinyonkov
Copy link
Contributor

Hello @SAP/ui5-webcomponents-topic-core,

I tested on Mac OS, Chrome Version 123.0.6312.105 (Official Build) (arm64)

https://sap.github.io/ui5-webcomponents/components/Avatar -
Here the issue is a bit hard to reproduce on my end, after a few attempts/refrehses while newtwork tab in the devtools is opened I started to hit rate limit but the samples were loading initially.

http://localhost:3000/components/Avatar -
For me the sample loads but it takes a lot of time ~ 1-2 mins. It seems that multiple requests are filed for the same resources.
image

Could you please investigate this issue?

Kind Regards,
Dobrin

@alexandar-mitsev
Copy link
Contributor Author

After further investigation, for me the issue was related to the option "Update on reload" for Service Workers. And it is reproducible on https://lit.dev/playground/
Reported it as an issue here - google/playground-elements#401

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code documentation This issue is about wrong documentation Medium Prio TOPIC Core
Projects
Development

No branches or pull requests

2 participants