diff --git a/src/Bswup/Bit.Bswup.Demo/Pages/HomePage.razor b/src/Bswup/Bit.Bswup.Demo/Pages/HomePage.razor
index 4ef62a7a95..bb30021363 100644
--- a/src/Bswup/Bit.Bswup.Demo/Pages/HomePage.razor
+++ b/src/Bswup/Bit.Bswup.Demo/Pages/HomePage.razor
@@ -3,7 +3,7 @@
Home
-
222
+111
Hello, world!
diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js
index a4d4e2d626..a673ea3d6b 100644
--- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js
+++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.js
@@ -2,13 +2,15 @@
self.assetsExclude = [/\.scp\.css$/, /weather\.json$/];
self.caseInsensitiveUrl = true;
-self.precachedAssetsInclude = [/favicon\.ico$/, /icon-512\.png$/, /bit-bw-64\.png$/];
self.externalAssets = [
{
"url": "not-found/script.file.js"
}
];
+// 'lax' opts into best-effort installs: the demo intentionally references a non-existent
+// asset to exercise the progress / error reporting UI. Under the default 'strict' setting
+// that would abort the install. See README.md > errorTolerance.
self.errorTolerance = 'lax';
self.importScripts('_content/Bit.Bswup/bit-bswup.sw.js');
diff --git a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js
index ef03a6e790..c3d7ead125 100644
--- a/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js
+++ b/src/Bswup/Bit.Bswup.Demo/wwwroot/service-worker.published.js
@@ -2,7 +2,6 @@
self.assetsExclude = [/\.scp\.css$/, /weather\.json$/];
self.caseInsensitiveUrl = true;
-self.precachedAssetsInclude = [/favicon\.ico$/, /icon-512\.png$/, /bit-bw-64\.png$/];
//self.externalAssets = [
// {
diff --git a/src/Bswup/Bit.Bswup.slnx b/src/Bswup/Bit.Bswup.slnx
index 2b41b652c7..6bf34c2593 100644
--- a/src/Bswup/Bit.Bswup.slnx
+++ b/src/Bswup/Bit.Bswup.slnx
@@ -7,12 +7,12 @@
-
-
+
+
-
-
+
+
diff --git a/src/Bswup/Bit.Bswup/Bit.Bswup.csproj b/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
index 0335bfd2f5..ff8c95a1a1 100644
--- a/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
+++ b/src/Bswup/Bit.Bswup/Bit.Bswup.csproj
@@ -5,10 +5,6 @@
net10.0;net9.0;net8.0
true
-
- BeforeBuildTasks;
- $(ResolveStaticWebAssetsInputsDependsOn)
-
@@ -21,41 +17,117 @@
+
-
-
+
+
-
-
-
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
\ No newline at end of file
+
diff --git a/src/Bswup/Bit.Bswup/BswupProgress.razor b/src/Bswup/Bit.Bswup/BswupProgress.razor
index 3d6344e5a2..e00d8b6dd8 100644
--- a/src/Bswup/Bit.Bswup/BswupProgress.razor
+++ b/src/Bswup/Bit.Bswup/BswupProgress.razor
@@ -10,24 +10,54 @@
[Parameter] public string? Handler { get; set; }
}
-
- @if (ChildContent is not null)
+@* Configuration is published as data-* attributes and read by bit-bswup.progress.js when it
+ loads (it self-initializes from these attributes). This deliberately avoids emitting an
+ inline
+
+
+
+
+
+