lvgl icon indicating copy to clipboard operation
lvgl copied to clipboard

Replace use of lvgl.io bootstrap in web simulator with CDN

Open Viatorus opened this issue 1 year ago • 8 comments

LVGL version

any

What happened?

Going to any simulator page linked here: https://sim.lvgl.io/ shows a page like this (firefox/chrome/mobile):

image

How to reproduce?

No response

Viatorus avatar Jun 24 '24 13:06 Viatorus

Thank you for reporting this issue!

We have launched our new website a few weeks ago and I thought the issue might be related to it. However I see only this error in the Console which looks like something else. image

@embeddedt do have a little bit of time to take a look at it?

kisvegabor avatar Jun 28 '24 08:06 kisvegabor

@kisvegabor The simulators relied on https://lvgl.io/assets/bootstrap/css/bootstrap.min.css and https://lvgl.io/assets/bootstrap/js/bootstrap.min.js, which appear to be missing after the site redesign. Can these assets be put back, or do we need to edit the existing simulators to use Bootstrap from another source?

embeddedt avatar Jun 28 '24 22:06 embeddedt

Ah, thank you! As a hotfix I added bootstrap. However to avoid similar issues in the future, could we use bootstrap from CDN?

kisvegabor avatar Jun 29 '24 21:06 kisvegabor

The Save Button is also not working (at least on my side):

ERROR: Network Error POST https://forum.lvgl.io:8443/save_file net::ERR_CONNECTION_RESET

Viatorus avatar Jul 08 '24 13:07 Viatorus

I've fixed it, but saving/loading is very slow on my end.

kisvegabor avatar Jul 10 '24 13:07 kisvegabor

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Jul 28 '24 01:07 lvgl-bot

As there was no activity here for a while we close this issue. But don't worry, the conversation is still here and you can get back to it at any time.

So feel free to comment if you have remarks or ideas on this topic.

lvgl-bot avatar Aug 05 '24 01:08 lvgl-bot

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Aug 23 '24 01:08 lvgl-bot

We need some feedback on this issue.

Now we mark this as "stale" because there was no activity here for 14 days.

Remove the "stale" label or comment else this will be closed in 7 days.

lvgl-bot avatar Sep 08 '24 02:09 lvgl-bot

All of the simulators (including the pre-v8 ones) should now be updated to pull Bootstrap from cdn.js rather than relying on the lvgl.io copy.

embeddedt avatar Sep 11 '24 00:09 embeddedt

Thank you @embeddedt!

kisvegabor avatar Sep 11 '24 08:09 kisvegabor