platformplatform / PlatformPlatform

🚀 Pre-alpha state. A platform designed for building enterprise-grade, multi-tenant products using Azure, .NET, React, TypeScript, Infrastructure as Code, etc.
https://platformplatform.github.io
MIT License
217 stars 21 forks source link

Fix white screen issue when loading website and improve build performance of frontend #523

Closed raix closed 3 weeks ago

raix commented 4 weeks ago

Addressed an issue causing intermittent white screens during the loading process due to an empty index.html file. The frontend build process creates an empty file and then writes to it afterward, leading to an empty file for a short period, which may result in a white screen.

Additionally, fixed an issue with the Application Insights bundle generation, which is also generated in two steps. If the web app is loaded with the first (smaller) file, it also results in a white screen.

The solution involves:

Additional updates:

Checklist

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud