Repository navigation
[SplashScreen] Add splash screen functionality to DialogService - #5461
Merged
Merged
Conversation
…ialog and documentation
…ogService and adjust implementation in DialogService
… MarkupString and introduce SplashScreenOptions class
… SplashScreenOptions and adjust related components
…reenContent and adjust related components
…hScreenContent and adjust related components
… and update button labels
Unit Tests
Details on your Workflow / Core Tests page. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Closed-instance updates can affect a replacement splash screen, and accessibility and API-rendering issues remain unresolved.
4 open findings
What changed in this PR
Adds splash screens to the existing DialogService, supporting loading progress, dynamic content updates, and custom components.
Changes:
- Adds splash-screen APIs, content options, and default rendering.
- Adds service tests and default/custom examples.
- Extends documentation and API constructor handling.
| File | Description |
|---|---|
| tests/Core/Components/Dialog/SplashScreen/SplashScreenServiceTests.razor | Tests splash-screen lifecycle and updates. |
| tests/Core/Components/Dialog/SplashScreen/SplashScreenRender.razor | Adds a test rendering component. |
| src/Core/Components/Dialog/SplashScreen/SplashScreenOptions.cs | Defines splash-screen options. |
| src/Core/Components/Dialog/SplashScreen/SplashScreenInstance.cs | Implements content updates. |
| src/Core/Components/Dialog/SplashScreen/SplashScreenContent.cs | Defines configurable content and progress. |
| src/Core/Components/Dialog/SplashScreen/ISplashScreenInstance.cs | Exposes the update contract. |
| src/Core/Components/Dialog/SplashScreen/IDialogService.cs | Declares splash-screen service APIs. |
| src/Core/Components/Dialog/SplashScreen/DialogService.cs | Implements display and updates. |
| src/Core/Components/Dialog/SplashScreen/DefaultSplashScreenDialog.razor | Renders default splash content. |
| examples/Tools/FluentUI.Demo.DocViewer/Models/Api/ApiClass.cs | Extends constructor handling for API documentation. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Splashscreen/FluentSplashScreen.md | Documents usage and customization. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Splashscreen/Examples/SplashScreenDefault.razor | Demonstrates default layouts and progress. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Splashscreen/Examples/SplashScreenCustomized.razor | Demonstrates custom splash screens. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Splashscreen/Examples/Dialog/SplashScreenDialog.razor | Supplies custom splash content. |
| examples/Demo/FluentUI.Demo.Client/Documentation/Components/Dialog/FluentDialog.md | Adds a dialog-instance API reference. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Denis Voituron (dvoituron)
marked this pull request as ready for review
October 16, 2026 10:15
Denis Voituron (dvoituron)
requested a review
from Vincent Baaij (vnbaaij)
as a code owner
October 16, 2026 10:15
…ntent; add constructor handling for SplashScreenInstance
…/fluentui-blazor into users/dvoituron/splash
Summary - Unit Tests Code CoverageSummary
CoverageMicrosoft.FluentUI.AspNetCore.Components - 98.9%
Microsoft.FluentUI.AspNetCore.Components.Charts - 100%
|
Vincent Baaij (vnbaaij)
approved these changes
Oct 16, 2026
This was referenced Nov 16, 2026
Merged
Closed
This was referenced Nov 27, 2026
Closed
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.


[SplashScreen] Add splash screen functionality to DialogService
Implement splash screen functionality in the
DialogService, enhancing user experience during loading processes.Introduce new options for customization, including loading percentage support and dynamic message updates.
Update documentation to reflect these changes.
Demo
Example 1: Spinner
Example 2: Progress bar
Example 3: very light sample
peek_5.mp4
Customization
The dialog component receives the content through a single SplashScreen parameter:
Use
ShowSplashScreenAsync<TDialog>to display the Customized Splash Screen.Unit Tests