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

Make it clear that relative base hrefs are supported for the client/runtime if appropriately formed #11163

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

DanTup
Copy link
Contributor

@DanTup DanTup commented Sep 19, 2024

There are some places where a relative base href is not supported (and these are documented/validated), but there is nothing explicitly calling out that they are supported in the client app. This adds a note to solidify this so they can be used (for example in the DevTools server) without the worry of them being undocumented.

Fixes flutter/flutter#154620

Related:

Presubmit checklist

  • This PR is marked as draft with an explanation if not meant to land until a future stable release.
  • This PR doesn’t contain automatically generated corrections (Grammarly or similar).
  • This PR follows the Google Developer Documentation Style Guidelines — for example, it doesn’t use i.e. or e.g., and it avoids I and we (first person).
  • This PR uses semantic line breaks of 80 characters or fewer.

…untime if appropriately formed

There are some places where a relative `base href` is not supported (and these are documented/validated), but there is nothing explicitly calling out that they are supported in the client app. This adds a note to solidify this so they can be used (for example in the DevTools server) without the worry of them being undocumented.

Fixes flutter/flutter#154620
@DanTup DanTup requested review from sfshaza2, parlough and a team as code owners September 19, 2024 09:42
@DanTup
Copy link
Contributor Author

DanTup commented Sep 19, 2024

@mdebbar FYI!

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Sep 19, 2024

Visit the preview URL for this PR (updated for commit 5578f03):

https://flutter-docs-prod--pr11163-clarify-base-href-abys28wt.web.app

@DanTup
Copy link
Contributor Author

DanTup commented Sep 19, 2024

Copy link
Contributor

@mdebbar mdebbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for clarifying this part!

src/content/ui/navigation/url-strategies.md Outdated Show resolved Hide resolved
Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks, @DanTup!

@sfshaza2 sfshaza2 merged commit ed344b9 into flutter:main Sep 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify the rules/requirements around the base href tag in web index.html
4 participants