Skip to content
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 <head> modification using a section-based approach (preview7) #34518

Merged
merged 1 commit into from
Jul 20, 2021

Conversation

MackinnonBuck
Copy link
Member

Description

This PR introduces a way for developers to modify the HTML <head> contents from Blazor.

Customer Impact

With this feature, customers will be able to easily

  • Modify the document title (tab name).
  • Add link previews for links to their web app.
  • Optimize their website for SEO.
  • Dynamically change style sheets (e.g. switch between light and dark modes).

Other SPA frameworks have third-party libraries enabling <head> modification, so this change makes Blazor an even more viable alternative.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

This change is almost entirely additive, so there's little risk of introducing a regression.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

Addresses #25705

@MackinnonBuck MackinnonBuck requested review from javiercn, pranavkm and a team as code owners July 20, 2021 00:47
@mkArtakMSFT mkArtakMSFT added the Servicing-consider Shiproom approval is required for the issue label Jul 20, 2021
@ghost
Copy link

ghost commented Jul 20, 2021

Hello human! Please make sure you've included the Shiproom Template in a comment or (preferably) the PR description. Also, make sure this PR is not marked as a draft and is ready-to-merge.

@mkArtakMSFT mkArtakMSFT added this to the 6.0-preview7 milestone Jul 20, 2021
@mkArtakMSFT mkArtakMSFT added the area-blazor Includes: Blazor, Razor Components label Jul 20, 2021
@Pilchie Pilchie removed the Servicing-consider Shiproom approval is required for the issue label Jul 20, 2021
@Pilchie
Copy link
Member

Pilchie commented Jul 20, 2021

This was approved for Preview 7 by tactics this morning.

@mkArtakMSFT mkArtakMSFT added the Servicing-approved Shiproom has approved the issue label Jul 20, 2021
@mkArtakMSFT mkArtakMSFT merged commit 4e1b7bd into release/6.0-preview7 Jul 20, 2021
@mkArtakMSFT mkArtakMSFT deleted the t-mbuck/34218-to-preview7 branch July 20, 2021 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-blazor Includes: Blazor, Razor Components Servicing-approved Shiproom has approved the issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants