-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Improve Default Blazor WebAssembly Loading Experience #42548
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
Merged
dougbu
merged 53 commits into
dotnet:release/7.0-preview7
from
cerasamson:t-samsoncera/wasm-loading
Jul 16, 2022
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
6114f13
Added loader SVG and CSS styling
cerasamson 6348f06
Merge branch 'main' into t-samsoncera/wasm-loading
cerasamson 2cedbd0
Add WebAssemblyProgressService, WebAssemblyProgressReporter
cerasamson 22577d0
Add styling for setProgress, fix resourcesTotal
cerasamson 7132a87
Merge branch 'dotnet:main' into t-samsoncera/wasm-loading
cerasamson f495715
Implement singleton pattern, fix CSS styling
cerasamson 3866f4b
Merge branch 't-samsoncera/wasm-loading' of https://github.com/cerasa…
cerasamson 83c2a0b
Merge branch 'dotnet:main' into t-samsoncera/wasm-loading
cerasamson f52d023
Convert % text to SVG
cerasamson dc1ef85
Add WebAssemblyProgressService as IBlazor global export
cerasamson fba966d
Merge branch 'dotnet:main' into t-samsoncera/wasm-loading
cerasamson 75e3d0d
Merge branch 't-samsoncera/wasm-loading' of https://github.com/cerasa…
cerasamson 1e4b3fb
Modify CSS classes, added TSDoc to public methods
cerasamson f6b3282
Merge branch 'dotnet:main' into t-samsoncera/wasm-loading
cerasamson ee3cf88
Modify CSS element names
cerasamson 0ee196f
Update src/Components/Web.JS/src/Boot.WebAssembly.ts
cerasamson 340a8c6
Update src/Components/Web.JS/src/Platform/WebAssemblyProgressReporter.ts
cerasamson 804e545
Check for additional resources; percentage styling
cerasamson 835dc9a
Update app.css
cerasamson f2a2f60
Create global SetProgress, pass in ProgressService
cerasamson c9d2a83
Vertically center loading circle
cerasamson 3b06578
Merge branch 'dotnet:main' into t-samsoncera/wasm-loading
cerasamson cd0b099
Update Boot.WebAssembly.ts
cerasamson 1614acb
Merge branch 't-samsoncera/wasm-loading' of https://github.com/cerasa…
cerasamson d13c7ca
Update src/Components/Web.JS/src/Platform/WebAssemblyResourceLoader.ts
cerasamson 6f0895a
Fix possible undefined wasmLoadingSetProgress
cerasamson bf631de
Remove setProgressFunction from GlobalExports
cerasamson e35f441
Merge branch 't-samsoncera/wasm-loading' of https://github.com/cerasa…
cerasamson f50f41c
Update blazor.server.js
cerasamson 44d7937
Update src/Components/Web.JS/src/Platform/WebAssemblyProgressReporter.ts
cerasamson 45c4d42
Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
cerasamson 14afbed
Update src/Components/Web.JS/src/Platform/WebAssemblyStartOptions.ts
cerasamson efd28aa
Remove progress ring transition duration
cerasamson 3d883c5
Merge branch 'main' into t-samsoncera/wasm-loading
cerasamson d2f101d
Update src/Components/Web.JS/src/Platform/WebAssemblyStartOptions.ts
TanayParikh bfc924d
(WIP) Bring all .ts changes to MonoPlatform.ts
cerasamson 8e1a62b
Remove reporter/service classes, update loading styling
cerasamson c3b4dba
Center percentage text
cerasamson 233a26c
Update app.css
cerasamson dbd7621
Add additional checks for element types
cerasamson e946e6d
Prevent exception by changing to div id = "app"
cerasamson 27d1e1d
Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
cerasamson fbadf59
WIP remove CSS id
cerasamson c68257c
Concat promises for setProgress function
cerasamson d099167
Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
cerasamson f25cf1d
Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
cerasamson 7ff63f3
CSS updates
cerasamson d023f0b
Update src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWe…
cerasamson 4ca2cb5
Update src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts
cerasamson b552954
Update src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWe…
cerasamson a6c51d0
Add default "Loading" test
cerasamson 80a0577
Update Templates.Blazor.WebAssembly.Tests.csproj
cerasamson 34da8e4
Update Templates.Blazor.WebAssembly.Tests.csproj
cerasamson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.