[web] Document viewport-fit=cover SafeArea support, URL percent-encoding preservation, and clean up web overview docs for Flutter 3.50
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 56/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- documentation
Hướng nghiên cứu
Start with the named files under sites/docs/src/content/deployment/web/, release/breaking-changes/, platform-integration/web/, and resources/architectural-overview.md; review the referenced Flutter changes and the existing surrounding documentation. Update the pages and remove the unused link definitions as specified, then run the website’s documentation checks. Done means the Flutter 3.50 behavior and migration guidance are accurate and the outdated prose and broken link are fixed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Page URL
- https://docs.flutter.dev/deployment/web
- https://docs.flutter.dev/release/breaking-changes
- https://docs.flutter.dev/platform-integration/web
- https://docs.flutter.dev/resources/architectural-overview
Describe the problem
Flutter 3.50 includes two web platform behavior changes (viewport-fit=cover SafeArea support and URL percent-encoding preservation) plus several outdated/broken web architecture statements on docs.flutter.dev (cc @parlough @sfshaza2):
viewport-fit=coverSafeAreasupport & layout breaking change: In Flutter 3.50 (flutter/flutter#191647), Flutter Web respectsviewport-fit=coverin<meta name="viewport">and populatesFlutterView.viewPadding/MediaQuery.paddingOf/SafeAreafrom CSSenv(safe-area-inset-*). Existing web apps that already hadviewport-fit=coverinweb/index.html(previously stripped by the engine) will now render edge-to-edge under notches and home indicators unless wrapped inSafeArea.- Browser history URL percent-encoding preservation: URLs passed to
SystemNavigator.routeInformationUpdatedare no longer percent-decoded before being written to browser history (flutter/flutter#189835), preserving%2F,%26,%23, and%20across page refreshes. - Outdated 2019 HTML renderer prose & broken
[hot reload behind a flag][]link:sites/docs/src/content/platform-integration/web/index.md#L30-L41still describes the removed Dart-implemented HTML drawing layer, andsites/docs/src/content/resources/architectural-overview.md#L1084contains an unresolved[hot reload behind a flag][]reference link.
Detailed page breakdown & affected targets (AI-assisted)
Expected fix
1. sites/docs/src/content/deployment/web.md & sites/docs/src/content/release/breaking-changes/
- Edge-to-edge mobile web rendering (
viewport-fit=cover):- Document how adding
viewport-fit=coverto<meta name="viewport">inweb/index.html(now included as a commented-out option influtter createtemplates) enables full-bleed edge-to-edge rendering on iOS and Android browsers and populatesFlutterView.viewPadding/SafeAreavia CSSenv(safe-area-inset-*)(flutter/flutter#191647). - Add a breaking-change migration guide page under
sites/docs/src/content/release/breaking-changes/(and index it under Flutter 3.50 insites/docs/src/content/release/breaking-changes/index.md) warning that existing web apps that already hadviewport-fit=coverinweb/index.htmlwill now render under device cutouts/notches unless UI content is wrapped inSafeArea(orviewport-fit=coveris removed).
- Document how adding
- Browser history percent-encoding:
- Note that
EngineFlutterWindow(handleNavigationMessage) no longer callsUri.decodeComponenton theuristring passed toSystemNavigator.routeInformationUpdatedbefore callingbrowserHistory.setRouteName(flutter/flutter#189835), preventing loss of percent-encoded delimiters (%2F,%26,%23,%20) in route paths and query parameters.
- Note that
2. sites/docs/src/content/platform-integration/web/index.md (https://docs.flutter.dev/platform-integration/web)
- Rewrite
## How it works(L30-L41) to remove 2019 HTML-renderer prose ("We implemented the core drawing layer completely in Dart and used Dart's optimized JavaScript compiler...") and accurately describe compilation to JavaScript (dart2js/ddc) or WebAssembly (dart2wasm) paired with hardware-accelerated WebGL/WebGPU rendering via CanvasKit and Skwasm.
3. sites/docs/src/content/resources/architectural-overview.md (https://docs.flutter.dev/resources/architectural-overview)
- Fix
L1083-L1084(and therefore allows hot restart and [hot reload behind a flag][].): remove the broken[hot reload behind a flag][]reference link and state thatdartdevcsupports both hot reload and hot restart on the web by default (--web-experimental-hot-reloadwas removed in flutter/flutter#185994). - Remove the unused
[Web renderers]: /platform-integration/web/rendererslink definitions insites/docs/src/content/deployment/web.md#L196andsites/docs/src/content/platform-integration/web/building.md#L197.
- Ngôn ngữ chính
- Dart
- Star
- 3.1k
- Fork
- 3.5k
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 49
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của flutter/website
-
a.tut.codelab-google fix.code-sample fix.link fix.typo from.flutter-sdk p2-medium
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
flutter/website#13967 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Need dev info for running on iOSCó thể đã có người làm @poyito777 đã nhận 17 ngày trước. Đang mởfrom.page-issue p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing download link on install pageCó thể đã có người làm @conooi đã nhận 16 ngày trước. Đang mởfrom.page-issue p1-high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
flutter/website#13540 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
At step 5th in `Get to know Firebase for Flutter` codelabs, the screenshot is not synced with codeĐang mởa.tut.codelab-google p2-medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
flutter/website#13816 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[ui/accessibility] Update web-accessibility.md for Flutter 3.50 WCAG 2.1 AA improvements and fix duplicated sentenceCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởa.rn.release-notes d.enhancement e1-hours fix.typo from.team p2-medium t.a11y target.web
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của flutter/website
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jhomlala/betterplayer#1599 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Windows:开启 Flutter windowing 后对话框被提升为原生窗口,首个 ShowWindow 死锁导致整个应用卡死(设置 → 远程访问端口 100% 复现)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
AimesSoft/NipaPlay-Reload#1021 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
fluttercommunity/plus_plugins#4004 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent:ready bug P2 · 中 健壮性 区域: 启动与合规 待验证 隐私与合规
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
ASDW51/DanmuFloat#106 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
c: proposal p: go_router package team-ecosystem
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
flutter/flutter#194542 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày