-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Blazor Page Title #19279
Blazor Page Title #19279
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## rel-8.1 #19279 +/- ##
========================================
Coverage 51.61% 51.61%
========================================
Files 3095 3095
Lines 98209 98209
Branches 7851 7851
========================================
+ Hits 50687 50689 +2
+ Misses 45966 45965 -1
+ Partials 1556 1555 -1 ☔ View full report in Codecov by Sentry. |
@@ -2,6 +2,9 @@ | |||
@using Volo.Abp.MultiTenancy | |||
@inherits MyProjectNameComponentBase | |||
@inject AuthenticationStateProvider AuthenticationStateProvider | |||
|
|||
<PageTitle>Index</PageTitle> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should consider localization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
This PR enables controlling head section by using HeadOutlet of Blazor.
(https://learn.microsoft.com/en-us/aspnet/core/blazor/components/control-head-content?view=aspnetcore-8.0)
PageHeader implements PageTitle by default. So no need further actions to show page titles. Existing modules and pages that use PageHeader will automatically update page title.
Resolves https://github.com/volosoft/volo/issues/16482#issuecomment-1963412039
Checklist
How to test it?
Please describe how this can be tested by the test engineers if it is not already explicit - or remove this section if no need to description.