Skip to content

Update CSS loading mechanism#631

Merged
doudar merged 6 commits intodoudar:testingfrom
bannus:bannus/css-load
Mar 17, 2025
Merged

Update CSS loading mechanism#631
doudar merged 6 commits intodoudar:testingfrom
bannus:bannus/css-load

Conversation

@bannus
Copy link
Contributor

@bannus bannus commented Mar 11, 2025

The loadCss() code on a 100ms delay leads to a Flash of unstyled content on every page load in the web UI. Switch to the standard mechanism of loading a CSS file.

Feel free to reject if there's some technical reason the loadCss() code is required.

@doudar
Copy link
Owner

doudar commented Mar 17, 2025

I'll try to add this into the testing branch and see how it goes. With earlier (webserver library) versions, there was an issue where if the webserver received too many requests in a row, it would become unresponsive. This was a WiFi/BLE coexistence workaround.

@doudar doudar changed the base branch from develop to testing March 17, 2025 13:19
Copy link
Owner

@doudar doudar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging into testing!

@doudar doudar merged commit 96c43e8 into doudar:testing Mar 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants